MDS OSS Server Creation Luster File system

TO maintain the Luster File system, We have to create the MDS,OSS.
MDS SERVER CREATION IP-10.0.0.10

--mdt metadat Storage target
--ost Obeject storage target
--mgs Configruating the management service,
--fsname file system name
1)MDS it will only communicate between the oss and client
2)oss and client both are not pinging directly.
client node and oss both are pinging through the mds.
Syntax For Creating MDS
3)#mkfs.lustre --mdt --mgs --fsname=lustre /dev/sdb
4)#mount -t lustre /dev/sdb /mnt/mdt/
Note : while mounting take the another terminal try the following command
#tail -f /var/log/message -- we can known what is going background,

OSS SERVER CREATION IP -10.0.0.101
1)creation
While creating oss we have to mention the mgsnode Server IP
#mkfs.lustre --ost --fsname=lustre --mgsnode=10.0.0.10@tcp0 /dev/sdb
if you want to reformat
#mkfs.lustre --reformat --ost --fsname=lustre --mgsnode=10.0.0.10@tcp0 /dev/sdb
--mgsnode set the NIDS of the mgs node
2)mount -t lustre /dev/sdb /mnt/ost

Increase No of OSS (Lustre OST storing single File across multiple OSTS(Stripping))
Advantage : Increase the bandwidth availability & Reduce the latency
Disadvantage : Increase the overhead due to Network operations and server connections.
Useful Commands [ #lfs osts #lfs df -h ]

CLIENT SIDE MOUNT OPTION -10.0.0.12
mount -t lustre 10.0.0.10@tcp0:/lustre /home
mount -t lustre mdsip:/lustre /home

VERIFY WHETHER IT IS MOUNTING PERFECTLY
[root@node1 Lustre-1.8.5]# lfs df -h
UUID bytes Used Available Use% Mounted on
lustre-MDT0000_UUID 1.7G 83.2M 1.6G 4% /home[MDT:0]
lustre-OST0000_UUID 2.0G 83.2M 1.8G 4% /home[OST:0]

filesystem summary: 2.0G 83.2M 1.8G 4% /home
These MDS, OSS Server Creation

Related post