This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
acelab:nfs_configuration [2018/07/27 19:47] smasoka |
acelab:nfs_configuration [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 26: | Line 26: | ||
| 3. Scan for devices and partitions | 3. Scan for devices and partitions | ||
| + | < | ||
| [root@nfs02 ~]# rescan-scsi-bus.sh | [root@nfs02 ~]# rescan-scsi-bus.sh | ||
| Scanning SCSI subsystem for new devices | Scanning SCSI subsystem for new devices | ||
| Line 98: | Line 99: | ||
| 0 device(s) removed. | 0 device(s) removed. | ||
| [root@nfs02 ~]# | [root@nfs02 ~]# | ||
| + | </ | ||
| 4. Display device mappings | 4. Display device mappings | ||
| + | < | ||
| [root@nfs02 ~]# multipath -ll | [root@nfs02 ~]# multipath -ll | ||
| mpathe (3600a098000b6278f00000240599ffeea) dm-3 DELL,MD34xx | mpathe (3600a098000b6278f00000240599ffeea) dm-3 DELL,MD34xx | ||
| Line 127: | Line 129: | ||
| `-+- policy=' | `-+- policy=' | ||
| `- 11:0:1:1 sdg 8:96 active ready running | `- 11:0:1:1 sdg 8:96 active ready running | ||
| + | </ | ||
| 5. Grab the image of nfs02and reboot nfs01 just to check if all is well. | 5. Grab the image of nfs02and reboot nfs01 just to check if all is well. | ||
| + | < | ||
| [root@nfs01 ~]# multipath -ll | [root@nfs01 ~]# multipath -ll | ||
| mpathe (3600a098000b6278f00000240599ffeea) dm-3 DELL,MD34xx | mpathe (3600a098000b6278f00000240599ffeea) dm-3 DELL,MD34xx | ||
| Line 156: | Line 159: | ||
| `- 11:0:1:1 sdg 8:96 active ready running | `- 11:0:1:1 sdg 8:96 active ready running | ||
| [root@nfs01 ~]# | [root@nfs01 ~]# | ||
| + | </ | ||
| 6. Storage Array Virtual Disks - Using Dell Storage Manager | 6. Storage Array Virtual Disks - Using Dell Storage Manager | ||
| + | < | ||
| Disk / | Disk / | ||
| Disk / | Disk / | ||
| Disk / | Disk / | ||
| Disk / | Disk / | ||
| + | </ | ||
| + | |||
| 7. Install " | 7. Install " | ||
| + | < | ||
| [root@nfs01 ~]# yum install parted parted-devel | [root@nfs01 ~]# yum install parted parted-devel | ||
| + | </ | ||
| 8. Create partitions | 8. Create partitions | ||
| + | < | ||
| [root@nfs01 ~]# parted / | [root@nfs01 ~]# parted / | ||
| GNU Parted 2.1 | GNU Parted 2.1 | ||
| Line 186: | Line 196: | ||
| [root@nfs01 ~]# | [root@nfs01 ~]# | ||
| + | </ | ||
| + | |||
| 9. Create a XFS File system from the partition | 9. Create a XFS File system from the partition | ||
| + | < | ||
| [root@nfs01 ~]# mkfs.xfs -L APPS / | [root@nfs01 ~]# mkfs.xfs -L APPS / | ||
| meta-data=/ | meta-data=/ | ||
| Line 198: | Line 211: | ||
| realtime =none | realtime =none | ||
| [root@nfs01 ~]# | [root@nfs01 ~]# | ||
| + | </ | ||
| 10. Crate partitions and file system for all virtual disks [PBS_SHARED, | 10. Crate partitions and file system for all virtual disks [PBS_SHARED, | ||
| + | |||
| 11. Mount on /etc/fstab using LABELS - this is just for testing | 11. Mount on /etc/fstab using LABELS - this is just for testing | ||
| + | < | ||
| [root@nfs01 ~]# cat /etc/fstab |grep LABEL | [root@nfs01 ~]# cat /etc/fstab |grep LABEL | ||
| LABEL=APPS | LABEL=APPS | ||
| Line 222: | Line 238: | ||
| / | / | ||
| [root@nfs01 ~]# | [root@nfs01 ~]# | ||
| + | </ | ||
| 12. Add mount points to fsmounts on device nfs01 using bright | 12. Add mount points to fsmounts on device nfs01 using bright | ||
| + | < | ||
| [bright1-> | [bright1-> | ||
| [bright1-> | [bright1-> | ||
| Line 258: | Line 276: | ||
| / | / | ||
| [bright1-> | [bright1-> | ||
| + | </ | ||
| 13. The above step does the following (as soon as you commit | 13. The above step does the following (as soon as you commit | ||
| + | < | ||
| [root@nfs01 ~]# df -h|grep path | [root@nfs01 ~]# df -h|grep path | ||
| / | / | ||
| Line 271: | Line 291: | ||
| / | / | ||
| [root@nfs01 ~]# | [root@nfs01 ~]# | ||
| + | </ | ||
| 14. Set up nfsexports through bright | 14. Set up nfsexports through bright | ||
| + | < | ||
| [bright1-> | [bright1-> | ||
| [bright1-> | [bright1-> | ||
| Line 304: | Line 326: | ||
| [root@nfs01 ~]# | [root@nfs01 ~]# | ||
| + | </ | ||
| 15. Mount the fsmounts point [on all node categories] | 15. Mount the fsmounts point [on all node categories] | ||
| + | < | ||
| [bright1-> | [bright1-> | ||
| [bright1-> | [bright1-> | ||
| Line 313: | Line 335: | ||
| [bright1-> | [bright1-> | ||
| [bright1-> | [bright1-> | ||
| + | </ | ||