Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revisionBoth sides next revision | ||
technical:generic:caviness-lustre-rebalance [2021-02-23 16:48] – frey | technical:generic:caviness-lustre-rebalance [2021-02-23 16:54] – frey | ||
---|---|---|---|
Line 67: | Line 67: | ||
- Finally, all directories under ''/ | - Finally, all directories under ''/ | ||
With the metadata of the new copies being striped across all MDTs, and the Lustre metadata subsystem spreading the copies across the new and old OSTs, the net effect will be to rebalance MDT and OST usage across all devices. | With the metadata of the new copies being striped across all MDTs, and the Lustre metadata subsystem spreading the copies across the new and old OSTs, the net effect will be to rebalance MDT and OST usage across all devices. | ||
+ | |||
+ | ===== Testing ===== | ||
+ | |||
+ | All aspects of this workflow were tested using VirtualBox on a Mac laptop. | ||
+ | * 50 GB - mgt | ||
+ | * 250 GB - mdt0, mdt1 | ||
+ | * 1000 GB - ost0, ost1 | ||
+ | The mgt and mdt0 VDIs were attached to mds0 and formatted: | ||
+ | <code bash> | ||
+ | $ mkfs.lustre --mgs --reformat \ | ||
+ | --servicenode=mds0@tcp --mgsnode=mds1@tcp \ | ||
+ | --backfstype=ldiskfs \ | ||
+ | /dev/sdb | ||
+ | |||
+ | $ mkfs.lustre --mdt --reformat \ | ||
+ | --mgsnode=mds0@tcp --mgsnode=mds1@tcp \ | ||
+ | --servicenode=mds0@tcp --mgsnode=mds1@tcp \ | ||
+ | --backfstype=ldiskfs --fsname=demo \ | ||
+ | /dev/sdc1 | ||
+ | </ | ||
+ | The ost0 VDI was attached to oss0 and formatted: | ||
+ | <code bash> | ||
+ | $ mkfs.lustre --ost --reformat --index=0 \ | ||
+ | --mgsnode=mds0@tcp --mgsnode=mds1@tcp \ | ||
+ | --servicenode=oss0@tcp --mgsnode=oss1@tcp \ | ||
+ | --backfstype=ldiskfs --fsname=demo \ | ||
+ | /dev/sdb | ||
+ | </ |