Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a GoFlex Home Storage device from Seagate. Now that I've figured out how to auto-mount my NAS storage by editing fstab. I'm having another issue.

sudo mount -a on a started system mounts the drives as I would expect.

However, at startup, the auto-mounting procedure fails. A review of dmesg suggests that the process fails because the network is not available.

Is there a way to create and run a shell script at startup that would run the mount command as root? (After startup, sudo mount -a works like a charm)


share|improve this question
possible duplicate:… – Mitch Jul 14 '12 at 22:31
@Mitch That was his earlier question. – belacqua Jul 14 '12 at 23:51
up vote 2 down vote accepted

Solution for 12.10

sudo apt-get install cifs-utils

Now you can use cifs in /etc/fstab instead of smbfs

Solution for 12.04

sudo apt-get install smbfs

Change cifs to smbfs in fstab listings.

Although it was primarily trial and error. This Ubuntu wiki page was highly useful and contains information about other common setups:

share|improve this answer
Can you edit your question to mention the kind of NAS it is? sbmfs is old and not supposed to be used but if it's what works on a certain model then we should probably document it. thanks! – Jorge Castro Jul 21 '12 at 1:14
Certainly...... – Brandon Bertelsen Jul 21 '12 at 1:19

Your Answer


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.