I am currently mounting my server using the following command.
mount ip.ip.ip.ip:/home/backups /mnt/backups/
Every time the server reboots I have to add it again manually.
How can I Permanently add it?
Add the following entry to your etc/fstab
file:
# device mountpoint fs-type options dump fsckorder
...
ip.ip.ip.ip:/home /mnt nfs rw 0 0
...
The Linux Documentation Project - 4.2. Getting NFS File Systems to Be Mounted at Boot Time
Steps to mount a disk permanently.
Doing this will mount your disk during boot time.
/proc/mounts
and /etc/mtab
and look for your mount entry./etc/fstab
. /etc/fstab
Contains entries that are mounted during boot.You can even manually add your entry in /etc/fstab
, but copying it from /proc/mounts
or /etc/mtab
makes sure that you not make any error or mistake in listing your mount point