lustre multi노드 설치하기
Here is what the demo does:
MDS (nodename: lin1)
——————–
mkfs.lustre –reformat –device-size=300000 –fsname lustre –mdt –mgs /tmp/lustre-mdt
mkdir -p /mnt/mds
mount -t lustre -o loop /tmp/lustre-mdt /mnt/mds
df -h
OSS 1 (nodename: lin2)
———————–
mkfs.lustre –reformat –device-size=1000000 –fsname lustre –ost –mgsnode=lin1@tcp0 /tmp/lustre-ost1
mkdir -p /mnt/ost1
mount -t lustre -o loop /tmp/lustre-ost1 /mnt/ost1
OSS 2 (nodename: lin3)
———————–
mkfs.lustre –reformat –device-size=1000000 –fsname lustre –ost –mgsnode=lin1@tcp0 /tmp/lustre-ost2
mkdir -p /mnt/ost2
mount -t lustre -o loop /tmp/lustre-ost2/mnt/ost2
Client (nodename: lin3)
———————–
mkdir -p /mnt/lustre
mount -t lustre lin1@tcp0:/lustre /mnt/lustre
dd if=/dev/zero of=/mnt/lustre/foo bs=1024k count=100
lfs getstripe /mnt/lustre/*