On 2/7/2011 12:47 AM, Tejas Guruswamy wrote:
On 04/02/11 23:33, Tejas Guruswamy wrote:
<stuff snipped>
Does anyone know if Samba actually allows sharing across multiple filesystems? I know NFS doesn't.
Regards, Tejas
Some searching tells me one possibility is that the hal/automounter default permissions for disks mounted in /media don't play well with NFS/Samba. As a test, try mounting the usb stick somewhere else (/mnt?) manually, and then see if the exported share is accessible as you expect.
Regard, Tejas
Tejas - Thank you for replying. I tried to mount the usb drive on /mnt using the following command, on my laptop, running openSuSE11.3 - mount -t auto /dev/sdc1 /mnt/usbdrive -o rw,nodev,noexec and I can access to usb drive without problems, locally from my laptop. I then added the following list to /etc/exports /mnt/usbdrive 192.168.2.0/255.255.255.0(rw,root_squash,sync,no_subtree_check) and restarted the nfs server - rcnfsserver restart On another Linux system, running openSuSE11.2 I set up the following for autofs - in auto.master I added - /mnt/nfs/marcslaptop /etc/auto.marcslaptop.nfs and in auto.marcslaptop.nfs I added MyPassport -rw,soft,intr,timeo=50 marcslaptop:/mnt/usbdrive then restarted the autofs server - rcautofs restart Now, when I try to execute the following command - ls /mnt/nfs/marcslaptop/MyPassport the command hangs until the timeout period expires. The following error is reported - ls: cannot open directory MyPassport/: No such file or directory Incidentally, once I have added the configuration for MyPassport to my auto.marcslaptop.nfs, I can no longer access any other directory that I have exported from marcslaptop either, and added to auto.marcslaptop.nfs to be auto mounted. I get the same timeout regardless of what directory I try to reach. Some additional things I have observed - 1. Removing the "offending" line for MyPassport, from auto.marcslaptop.nfs and restarting the autofs server, does not recover the ability to access other directories either. The only way to recover, that I have found, is to reboot my system. And then, without the configure line for MyPassport, from auto.marcslaptop.nfs, everything else works fine and I can access other directories that I have exported/imported form marcslaptop. 2. Once an attempt has been made to access my USB drive, across the network via an NFS autofs mount point, I can no longer umount the USB drive unless I stop the nfsserver first. That probably is an OK model, but umount does not give any valid hint that the reason it cannot unmount the USB drive is because the nfsserver is still running, and had exported the drive (and perhaps because someone had tried to mount it from across the network). This really leaves the user in the dark and does not guide him towards the solution of unmounting the USB drive. IMHO that is a bad oversight on the designers part.... 3. The KDE Systems Settings > Advance > Removable Devices configuration tool has a strange funny going on. For some odd reason, I cannot uncheck the "Enable automatic mounting of removable media" setting. I uncheck it, the tool thinks about it for a moment, then automatically rechecks the setting and turns it back on! But if I uncheck everything else, then at least KDE is not automatically mounting my USB drive at /media on me. So weird, but easily worked around.... Marc.. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org