-
Enable NFS server in YAST command line:
- Type mustang3:~ # yast
- Select Enter. and press
- Select .
- On Directory to Export , press Ctrl+D to add a directory.
- Create a directory name, select OK , and press Enter. /srv/nfs4/drive1
- At the prompt The directory does not exist. Create it? select OK and press Enter.
- At the prompt Host Wild Card Default value is * , type *.
- At the options, add rw , no_root_squash , sync,no_subtree_check , then select OK , Finish , and press Enter.
-
At the command prompt, run the fdisk command to view the partition:
Mustang3:~# fdisk –l
Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdc2 30969600 17238668 12157768 59% / udev 65927028 272 65926756 1% /dev tmpfs 65927028 0 65927028 0% /dev/shm /dev/sdc5 5162796 684396 4216144 14% /var /dev/sdc7 792345476 46482868 705613764 7% /var/opt/teradata Disk /dev/sdd: 27000.3 GB, 27000311906304 bytes 255 heads, 63 sectors/track, 3282600 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000
- Mount the partition using the created mount point: mustang3:~# mount /dev/sdd /srv/nfs4/drive1
-
Run the df command to verify the partition is created:
mustang3:~ # df
Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdc2 30969600 17238668 12157768 59% / udev 65927028 272 65926756 1% /dev tmpfs 65927028 0 65927028 0% /dev/shm /dev/sdc5 5162796 684396 4216144 14% /var /dev/sdc7 792345476 46482868 705613764 7% /var/opt/teradata /dev/sdd 26365405184 4352036552 22013368632 17% /srv/nfs4/drive1