public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  mount umount and xterm freeze
@ 2005-10-21 11:02 Harry Putnam
  2005-10-21 15:40 ` Neil Bothwick
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Putnam @ 2005-10-21 11:02 UTC (permalink / raw
  To: gentoo-user

I've been noticing the phenomena described below for a while now and
having a little trouble getting a good idea how to debug.

If I have mounted shares via smbfs or cifs and something happens to
make those mounts unusable, like the machine the shares are on is
powered down or whatever, then I have a problem.

If I happen to run a `ls' on the directory where the mountpoints are
kept (/mnt) or in other ways access those mountpoints, the xterm I'm
working from becomes unusable and the command NEVER completes.

These particular shares are on winXP machines and are mounted using
this syntax:

 mount -t cifs -o user=MYUSER%PASSWORD //harvey/harvey-g  /mnt/harvey-g

Attempts to umount the problem shares also results in a hung command
and useless xterm.  Killing the xterm manually seems to be the only
way to stop the hung action.

So far I've used the old MS refrain `reboot, reboot, and reboot' to
clear up the mounts but I'm sure there is some better way or maybe a
way to prevent this from the start.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user]  mount umount and xterm freeze
  2005-10-21 11:02 [gentoo-user] mount umount and xterm freeze Harry Putnam
@ 2005-10-21 15:40 ` Neil Bothwick
  2005-10-21 21:15   ` [gentoo-user] " Harry Putnam
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Bothwick @ 2005-10-21 15:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

On Fri, 21 Oct 2005 06:02:07 -0500, Harry Putnam wrote:

> So far I've used the old MS refrain `reboot, reboot, and reboot' to
> clear up the mounts but I'm sure there is some better way or maybe a
> way to prevent this from the start.

umount -l /mount/point


-- 
Neil Bothwick

Q: How many builders does it take to change a light bulb?
A: "If only it was just the light bulb......we'll have to replace the
ceiling and..........."

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user]  Re: mount umount and xterm freeze
  2005-10-21 15:40 ` Neil Bothwick
@ 2005-10-21 21:15   ` Harry Putnam
  2005-10-21 21:34     ` Harry Putnam
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Putnam @ 2005-10-21 21:15 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> writes:

> On Fri, 21 Oct 2005 06:02:07 -0500, Harry Putnam wrote:
>
>> So far I've used the old MS refrain `reboot, reboot, and reboot' to
>> clear up the mounts but I'm sure there is some better way or maybe a
>> way to prevent this from the start.
>
> umount -l /mount/point

Using that I see the problem mnts disappear from `mount' output
alright.  But those shares cannot be remounted following that command.

Trying to mount them following the umount -l (1 hr later).  Just hangs
the command.  However it isn't such a persistent hang and the normal
^c will kill  it.

Still I can't get to those shares without a reboot of gentoo it seems.
That reboot must clear something that probably can be cleared manually
without a reboot....

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user]  Re: mount umount and xterm freeze
  2005-10-21 21:15   ` [gentoo-user] " Harry Putnam
@ 2005-10-21 21:34     ` Harry Putnam
  0 siblings, 0 replies; 4+ messages in thread
From: Harry Putnam @ 2005-10-21 21:34 UTC (permalink / raw
  To: gentoo-user

Harry Putnam <reader@newsguy.com> writes:

> Still I can't get to those shares without a reboot of gentoo it seems.
> That reboot must clear something that probably can be cleared manually
> without a reboot....

Even the above referenced reboot was frozen at the point of umounting
local fs.  Requiring a hard reboot.  

Any ideas whats behind this persistent mount problem?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-21 21:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21 11:02 [gentoo-user] mount umount and xterm freeze Harry Putnam
2005-10-21 15:40 ` Neil Bothwick
2005-10-21 21:15   ` [gentoo-user] " Harry Putnam
2005-10-21 21:34     ` Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox