Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40

Thread: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

  1. #11
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    Please post your fstab mount lines.

  2. #12
    Join Date
    May 2007
    Beans
    880
    Distro
    Ubuntu Development Release

    Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    Quote Originally Posted by dmizer View Post
    Please post your fstab mount lines.
    Thanks for trying to help me with this.

    There are four of them, all similar to this:
    Code:
    //192.168.0.120/archivos /mnt/tooga cifs credentials=/home/zap/.smbpasswd,iocharset=utf8,uid=1000,gid=1000 0 0

  3. #13
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    Quote Originally Posted by michaelzap View Post
    Thanks for trying to help me with this.

    There are four of them, all similar to this:
    Code:
    //192.168.0.120/archivos /mnt/tooga cifs credentials=/home/zap/.smbpasswd,iocharset=utf8,uid=1000,gid=1000 0 0
    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:
    Code:
    sudo umount /mnt/tooga
    2) edit the fstab line so it looks like this:
    Code:
    //192.168.0.120/archivos /mnt/tooga cifs users,credentials=/home/zap/.smbpasswd,iocharset=utf8,uid=1000,gid=1000 0 0
    3) reboot, access the share, and then try shutting down.

    See if that fixes your problem.

  4. #14
    Join Date
    May 2007
    Beans
    880
    Distro
    Ubuntu Development Release

    Question Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    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:
    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
    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?

    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.

  5. #15
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    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:
    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
    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.

  6. #16
    Join Date
    May 2007
    Beans
    880
    Distro
    Ubuntu Development Release

    Exclamation Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    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.

  7. #17
    Join Date
    May 2007
    Beans
    880
    Distro
    Ubuntu Development Release

    Question Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    Quote Originally Posted by michaelzap View Post
    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!
    Rats! It's no longer working for me now that I created two shares(mp3s and videos) on the network drive and I'm mounting them separately. What the heck?!?

  8. #18
    Join Date
    May 2007
    Beans
    880
    Distro
    Ubuntu Development Release

    Question Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    Here are my fstab mount lines:
    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
    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.

  9. #19
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    Okay, please post the smb.conf file from 192.168.0.121

  10. #20
    Join Date
    May 2007
    Beans
    880
    Distro
    Ubuntu Development Release

    Re: "CIFS VFS" Error stalling/breaking shutdown - simple fix!

    Here it is:
    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", 
    #
    See anything funny?

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •