Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
1  
what command do you use to mount it? –  Tshepang Nov 20 '10 at 8:59
add comment

1 Answer

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
add comment

Your Answer

 
discard

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