[Lustre-discuss] questions about an OST content
Ashley Pittman
ashley at pittman.co.uk
Sat Nov 6 07:31:17 PDT 2010
On 6 Nov 2010, at 14:24, Bob Ball wrote:
> I am emptying a set of OST so that I can reformat the underlying RAID-6
> more efficiently. Two questions:
> 1. Is there a quick way to tell if the OST is really empty? lfs_find
> takes many hours to run.
lfs df -i from a client or simply df -i from the OSS node will tell you whilst the OST in on-line, when it's offline you can remount it as type ldiskfs and use ls to verify that it's really empty.
> 2. When I reformat, I want it to retain the same ID so as to not make
> "holes" in the list. From the following information, am I correct to
> assume that the id is 24? If not, how do I determine the correct ID to
> use when we re-create the file system?
"tunefs.lustre --print /dev/sdj" will tell you the index in base 10.
Ashley.
More information about the lustre-discuss
mailing list