Please post your fstab mount lines.
Please post your fstab mount lines.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Okay, for testing purposes, manually unmount all the shares (sudo umount /mount/point) and then comment out all the shares except this one. See if you still get the error on shutdown then. If that fixes the problem, try uncommenting the shares one by one until it breaks again. Post the line that caused the failure.
If that does not fix the problem, then try this:
1) unmount the share:
2) edit the fstab line so it looks like this:Code:sudo umount /mnt/tooga
3) reboot, access the share, and then try shutting down.Code://192.168.0.120/archivos /mnt/tooga cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,uid=1000,gid=1000 0 0
See if that fixes your problem.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Given that these shares mount fine on both my desktop and laptop and unmount fine on the desktop, I didn't think there was any reason to troubleshoot my fstab file carefully. Fortunately I long ago learned that there are plenty of things that I don't understand that nevertheless are true, so I did what you suggested anyway. You may be on to something...
Here are my fstab entries:
The ones that are commented out cause the unmounting error. What seems very odd to me is that the mp3s mount doesn't cause this problem but the videos mount does, even though they're subfolders of the same network share (media). Is there perhaps an error in my syntax that's causing lines after the mp3s mount to not be mounted properly?Code://192.168.0.120/archivos /mnt/tooga cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,uid=1000,gid=1000 0 0 //192.168.0.121/media/mp3s /mnt/mp3s cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0 #//192.168.0.121/media/videos /mnt/videos cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0 #//192.168.0.121/programas /mnt/programas cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0 #//192.168.0.121/respaldos /mnt/respaldos cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0
I hadn't noticed that I had file_mode and dir_mode values for some of these also; maybe those are problematic?
Thanks again for your help.
Please post the /etc/samba/smb.conf file from //192.168.0.121, I think I see the problem. You're trying to mount a path, not a share. By that, I mean you're mounting /media/mp3s and /media/videos but it should probably look like this:
Then you can access both mp3s and videos under media. I think that what's happening is that cifs is unmounting /media/mp3s and is hanging on /media/videos because "media" is common between both of them. I'm not sure though without taking a look at your smb.conf file.Code://192.168.0.121/media /mnt/media cifs credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
You are absolutely right! When I mount those two directories as one share ("media"), it unmounts without a hitch using the Jaunty fix above. THANK YOU for figuring that out!
This share is an HP Media Vault drive, so although it probably has an smb.conf file it's not all that easy to get at and I'd be afraid to mess with it.
I'll just mount this share as media and be glad it works that way. I wonder why it works as individual directories on my desktop. I've been mounting these shares that way since Hardy, but I guess I won't be in Koala.
Here are my fstab mount lines:If I manually unmount the mp3s share before restarting, I get no error. The same is not true if I manually unmount the videos share. These are now separate shares on the network drive, so this is really strange.Code://192.168.0.120/archivos /mnt/tooga cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,uid=1000,gid=1000 0 0 //192.168.0.121/mp3s /mnt/mp3s cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0 //192.168.0.121/videos /mnt/videos cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0 //192.168.0.121/programas /mnt/programas cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0 //192.168.0.121/respaldos /mnt/respaldos cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0 //192.168.0.121/DVDs /mnt/DVDs cifs credentials=/home/zap/.smbpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0
Okay, please post the smb.conf file from 192.168.0.121
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Here it is:
See anything funny?Code:# cat smb.conf [global] netbios name = Vicio server string = "Vicio" workgroup = COMPAS security = user guest account = guest log file = /var/log/samba.log socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536 encrypt passwords = yes use spnego = no client use spnego = no host msdfs = no interfaces = lo eth0 eth1 eth2 br0 qos enable = no level1 file extensions = level2 file extensions = os level = 20 preferred master = auto domain master = auto local master = no domain logons = no log level = 0 max log size = 960 null passwords = yes wins server = passdb backend = tdbsam private dir = /shares/Volume1/__pdc map to guest = bad user [programas] comment = path = /shares/Volume1/programas writeable = yes browsable = yes inherit permissions = yes inherit acls = yes msdfs root = no invalid users = read list = write list = "zap", "xu", [mp3s] comment = path = /shares/Volume1/mp3s writeable = yes browsable = yes inherit permissions = yes inherit acls = yes msdfs root = no invalid users = read list = write list = "zap", "xu", [videos] comment = path = /shares/Volume1/videos writeable = yes browsable = yes inherit permissions = yes inherit acls = yes msdfs root = no invalid users = read list = write list = "zap", "xu", [DVDs] comment = path = /shares/Volume2/DVDs writeable = yes browsable = yes inherit permissions = yes inherit acls = yes msdfs root = no invalid users = read list = write list = "zap", "xu", [respaldos] comment = path = /shares/Volume2/respaldos writeable = yes browsable = yes inherit permissions = yes inherit acls = yes msdfs root = no invalid users = read list = write list = "zap", "xu", #
Bookmarks