Cliff White
2006-May-19 07:36 UTC
[Lustre-discuss] how to add new OST to current runing cluster?
Gentoo wrote:> Hi all > I have a running lustre cluster which has 1 OST, 1 MDS, 10 client. I am > going to add more OST into it, but I have no idea > about how to add ost without impaction to current cluster. > > thanks for your help.Hopefully, you have built your configuration with a script. -Add the new OST _after the first OST. -Recreate your XML file - unmount clients -Stop Lustre - On the MDS, ''# lconf --write_conf <XML file>'' - On the new (and _only the new) OST run ''# lconf --reformat <XML file>'' - Restart Lustre. - mount clients These no way to do this currently without stopping Lustre. cliffw> > -- > Life is hard > > > ------------------------------------------------------------------------ > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
Andreas Dilger
2006-May-19 07:36 UTC
[Lustre-discuss] how to add new OST to current runing cluster?
On May 14, 2006 21:19 -0700, Cliff White wrote:> Gentoo wrote: > >Hi all > >I have a running lustre cluster which has 1 OST, 1 MDS, 10 client. I am > >going to add more OST into it, but I have no idea > >about how to add ost without impaction to current cluster. > > > >thanks for your help. > > Hopefully, you have built your configuration with a script. > -Add the new OST _after the first OST. > -Recreate your XML file > - unmount clients > -Stop Lustre > - On the MDS, ''# lconf --write_conf <XML file>'' > - On the new (and _only the new) OST run ''# lconf --reformat <XML file>''Note that if the two OSTs are on the same node you will need to be very careful here. You can use "lconf --reformat --service {name of OST} {xml}" to limit this operation to the specified service. Alternately, you can format the OST disk by hand: mke2fs -j -J size=400 -O dir_index -I 256 -i 65536 /dev/whatever "-i 65536" reduces the number of inodes on the OST, 65536 is bytes and relates to the average file size, can be higher if you have large files.> - Restart Lustre. > - mount clients > > These no way to do this currently without stopping Lustre.FYI - in lustre 1.6 this will be possible while the filesystem is mounted. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
Gentoo
2006-May-19 07:36 UTC
[Lustre-discuss] how to add new OST to current runing cluster?
Hi all I have a running lustre cluster which has 1 OST, 1 MDS, 10 client. I am going to add more OST into it, but I have no idea about how to add ost without impaction to current cluster. thanks for your help. -- Life is hard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20060513/620ddeb9/attachment.html