Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 have a server which the date will be backup to a external windows server hard disk which is mounted. But problem is every time the server is restarted I will need to mount the disk manually. How do I setup such as it will be mounted on server startup?

share|improve this question
what command do you use to mount it? – Tshepang Nov 20 '10 at 8:59

you need to put an entry into /etc/fstab

The exact line you put in depends on how you mount the filesystem e.g. is it NFS ,sftp or samba accessed.

share|improve this answer
"Windows Server hard disk" I think it's relatively safe to assume he is using samba. – Macha Nov 20 '10 at 15:37

Your Answer


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