[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: mnt input output error - maybe dumb mistake
- Subject: [cobalt-users] Re: mnt input output error - maybe dumb mistake
- From: Bruce Timberlake <bruce@xxxxxxxxxx>
- Date: Tue May 11 17:02:01 2004
- Organization: BRTnet.org
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Tuesday 11 May 2004 03:38 pm, Jim Dory wrote:
> Here's the problem:
>
> [root/root]# cd /mnt
> [root/root]# dir
> dir: .: Input/output error
>
> The error of my ways:
>
> I am using this raq4r as a file share server with samba. I was
> testing my abilities at backups when I did this:
> [root/root]# mount -t smbfs //123.456.789.123/c$ /mnt -o
> username=mine,password=mypasswd
It is common practice to make another directory under /mnt as the
actual attach point for mounts. Nothing really prevents you from
attaching directly to /mnt; it's just not conventional.
> Then I changed to /mnt and there were the files. Ok.. so next I
> tried umount. I did a man umount and I tried a few things, but the
> files were still there.
You can't umount a mount point "in use" - if there is a file open on
it, or even if a user is sitting "in" the directory at a bash prompt.