[lustre-discuss] How to change IP of OST server

Tung-Han Hsieh thhsieh at twcp1.phys.ntu.edu.tw
Sat Jul 4 00:43:40 PDT 2020


Dear All,

We have a Lustre server with MGS/MDT/OST in the same node:
(IP: 192.168.60.151)

/dev/sda7    75374372     881520   69427728   2% /cfs/chome_mdt   (MGS+MDT)
/dev/sdb2  4842583272 4232667824  365744340  93% /cfs/chome_ost2  (OST1)
/dev/sdc1  4841978664  806638400 3791199640  18% /cfs/chome_ost3  (OST2)

where OST1 and OST2 are the external storage.

Now we are going to separate OST1 and OST2 to other servers, and
let the one 192.168.60.151 to provide only MGS+MDT. That means,
the corresponding IP address of OST1 and OST2 will change.

How do we make the change ? Could we just run (after shutting down
the Lustre file system):

lctl --writeconf <device>

for all the MGS/MDT/OST, then switch OST1 and OST2 to another server,
and then remount the Lustre file system ?

Another question: now we are migrating the data files in OST2 out
to clean it up, and want to reformat it with ZFS backend. Is it
possible to have a single OST server to host both ldiskfs benkend
(i.e., OST1) and ZFS backend (i.e., OST2) ?


Thanks very much,

T.H.Hsieh


More information about the lustre-discuss mailing list