[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: mnt input output error - maybe dumb mistake



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.