Click to See Complete Forum and Search --> : ls hangs in /mnt


anton
04-15-2002, 07:24 AM
Hello,

after a while after I boot my system (probably few hours or an hour) ... I can't list in /mnt anymore :( it just hangs :(

what can be the problem ?

here's what I have in /mnt:

/dev/hdc7 /mnt/mdk ext3 defaults 1 1
/dev/hdc1 /mnt/win_c vfat defaults,user,rw 1 0
/dev/hdc8 /mnt/win_i vfat defaults,user,rw,exec,umask=0 0 0
/dev/hdd1 /mnt/win_e vfat defaults,user,rw,exec,umask=0 0 0
/dev/hdd5 /mnt/win_f vfat defaults,user,rw,exec,umask=0 0 0
/dev/hdd6 /mnt/win_g vfat defaults,user,rw,exec,umask=0 0 0

/dev/cdrom /mnt/cdrom iso9660 defaults,user,ro 0 0
/dev/cdrom2 /mnt/cdrom2 iso9660 defaults,user,ro 0 0
/dev/cdrom3 /mnt/cdrom3 iso9660 defaults,user,ro 0 0

/dev/fd0 /mnt/floppy vfat defaults 0 0

13x.xxx.xx.xxx:/ftp /mnt/ftp-server nfs user,exec,dev,suid,rw 0 0
//13x.xxx.xx.xxx/ftp /mnt/ftp-server2 smbfs username=xxx,password=xxxxxx,user,exec,dev,suid,rw 0 0


thx

[ 15 April 2002: Message edited by: anton ]

Wolff
04-15-2002, 07:36 AM
If your have remotely mounted something and that server/machine goes offline for even just a reboot you will not be able to read from it until you umount and mount it back. I`ve had similar problems with Samba. I`ve mounted a partition on my friends computer. He runs windows. If he has to restart ( which of course he does frequently ;) ) ls won`t work and everything I do that involves reading from the directory which I mounted goes slow. I have to umount that partition to get things going again.
Hope this helps

anton
04-15-2002, 07:41 AM
nope. that machine don't go offline :)


and when I just try to umount that smbfs system (which I suppose is the problem) it says device is busy ... even If I have no programs running :/

Wolff
04-15-2002, 08:26 AM
Where is the smbmounted drive ?
Is it on the same network or .. ?
It could be another partition that is the problemt, but it sounds like the sambamount. It tends to complain if you try to read from a partition which according to samba doesn`t exist :)
Try not mounting the sambapartition on boot-up and see what happens.

anton
04-15-2002, 09:27 AM
yeah , it's on the same network ...


and it's sure SMB problem ... b/c it did it again ... I tried to unmount it - device is busy ... so I killed everything that is got some smb in it ;) ... ls in /mnt works now ... but in smb mount point I get i/o error ...

but why ?? ... I really need to have it mounted there :(

it worked on other distribution ...

Wolff
04-15-2002, 09:49 AM
What version of Samba ?
And what filesystem are you mounting ?
There tends to be problems when mounting NTFS filesystems.

anton
04-15-2002, 09:55 AM
samba is 2.2.0 ... though just upgraded to 2.2.3 ... we'll see what happens ...

filesystem is ext2 (don't ask me why I use samba to mount it ;) )

Alex Cavnar, aka alc6379
04-15-2002, 12:03 PM
Man... If it's ext2 (ie, on a Linux system) Then just use NFS... It could make things easier for you...

anton
04-15-2002, 12:16 PM
I am using NFS ...

but I got a bunch of dirs binded there ... and NFS won't get them ... or at least half of them :(

and with samba it works just fine :confused: