Configuring the Lustre File System
Create a combined MGS/MDT file system and two object storage targets (OSTs) to form a file system named temp. Three block devices are used, one for the combined MGS/MDT node and the other two for the OST nodes.
- Configure the LNet network.
- Create a combined MGS/MDT file system on a block device and mount it.
1 2
mkfs.lustre --fsname=lustre --mgs --mdt --index=0 /dev/sdb2 mount -t lustre /dev/sdb2 /mnt/mdt
- Create and mount ost0.
1 2
mkfs.lustre --reformat --fsname=lustre --mgsnode=192.168.1.1@tcp1 --ost --index=0 /dev/sdb3 mount -t lustre /dev/sdb3 /mnt/ost0
- Create and mount ost1.
1 2
mkfs.lustre --reformat --fsname=lustre --mgsnode=192.168.1.1@tcp1 --ost --index=1 /dev/sdb4 mount -t lustre /dev/sdb4 /mnt/ost1
Parent topic: Installing the Lustre Server