Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

This fstab has worked for 4 Ubuntu versions. All of the sudden, it doesn't work after a reboot, but I had it working under 12.04 yesterday. It still works on another 12.04 machine with no problems.

  • smbfs is installed.
  • Run sudo mount -a and it just sits there and thinks.
  • Configuration:

    //hda/Music /home/ag/Music cifs credentials=/root/.smbcredentials,iocharset=utf8,noserverino,gid=1000,uid=1000,nounix,file_mode=0777,dir_mode=0777 0 0
    
    //hda/Pictures /home/ag/Pictures cifs credentials=/root/.smbcredentials,iocharset=utf8,noserverino,gid=1000,uid=1000,nounix,file_mode=0777,dir_mode=0777 0 0
    
    //hda/Movies /home/ag/Videos cifs credentials=/root/.smbcredentials,iocharset=utf8,noserverino,gid=1000,uid=1000,nounix,file_mode=0777,dir_mode=0777 0 0
    
    //hda/Docs /home/ag/Documents/Shared cifs credentials=/root/.smbcredentials,iocharset=utf8,noserverino,gid=1000,uid=1000,nounix,file_mode=0777,dir_mode=0777 0 0
    
    //hda/Torrents /home/ag/torrents cifs credentials=/root/.smbcredentials,iocharset=utf8,noserverino,gid=1000,uid=1000,nounix,file_mode=0777,dir_mode=0777 0 0
    
    //hda/Private /home/ag/private cifs credentials=/root/.smbcredentials,iocharset=utf8,noserverino,gid=1000,uid=1000,nounix,file_mode=0777,dir_mode=0777 0 0
    
    //hda/Books /home/ag/books cifs credentials=/root/.smbcredentials,iocharset=utf8,noserverino,gid=1000,uid=1000,nounix,file_mode=0777,dir_mode=0777 0 0
    
share|improve this question

1 Answer 1

up vote 2 down vote accepted

Solved with updated packages from the Ubuntu repository, specifically:

libsmbclient:amd64 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1)
smbclient:amd64 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1)
samba-common:amd64 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1)
samba-common-bin:amd64 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1) 

My error was not listed in the changelog, therefore it is feasible that a simple reinstall might be the only thing that was needed.

share|improve this answer
    
Would you accept your own answer as it did work for you. See About –  Sneetsher Jan 31 at 15:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.