Red_Hat
RH302 · Question #156
You are working as an Administrator. There is common data shared (/data) from 192.168.0.254 to all users in your local LAN. When a user's system starts, the shared data should automatically mount on…
To automatically mount at boot time, use the /etc/fstab file. The /etc/rc.d/rc.sysinit file reads and mounts all file systems specified in /etc/fstab. To mount Network Sharing Files (NFS), specify nfs as the filesystem type. 1. Edit /etc/fstab using vi /etc/fstab. 2. Add the…
Storage management
Question
You are working as an Administrator. There is common data shared (
/data) from 192.168.0.254 to all users in your local LAN. When a user's system starts, the shared data should automatically mount on the /common directory.Explanation
To automatically mount at boot time, use the /etc/fstab file. The /etc/rc.d/rc.sysinit file reads and mounts all file systems specified in /etc/fstab. To mount Network Sharing Files (NFS), specify nfs as the filesystem type.
- Edit
/etc/fstabusingvi /etc/fstab. - Add the following entry to mount the NFS share:
192.168.0.254:/data /common nfs defaults 0 0 - Save and close the
/etc/fstabfile. - Reboot the system for the changes to take effect:
reboot.
Topics
#NFS mount#fstab#automount#network storage
Community Discussion
No community discussion yet for this question.