[lustre-discuss] lfs doesn't like non-sequential ost indices

Andrus, Brian Contractor bdandrus at nps.edu
Thu Oct 15 22:09:44 PDT 2015


Chris,

IIRC, that shows up because at some point during the uptime of your MDT/MGS that OST was in the mix. It registered and will stay there until you have completely restarted the filesystem.

I have had that in the past and my solution was to bring the system up EXCEPT for the OST that I didn't want/need listed, which, at the time, was on broken hardware.


Brian Andrus
ITACS/Research Computing
Naval Postgraduate School
Monterey, California
voice: 831-656-6238



-----Original Message-----
From: lustre-discuss [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of Chris Hunter
Sent: Thursday, October 15, 2015 3:02 PM
To: lustre-discuss at lists.lustre.org
Subject: [lustre-discuss] lfs doesn't like non-sequential ost indices

Hi,
This is a minor point. I am adding OSTs to a lustre 2.5 filesystem. I'm working with 2 OSS servers: srv1 & srv2. srv1 hosts ost indices 0,2,4,6,
srv2 hosts ost indices 1,3. We just added ost indices 4 & 6 and will add
5 & 7 later.

I ran lfs command on a client. I found "lfs osts" gave correct output (ie. ost index 5 not listed)
> # lfs osts
> OBDS::
> 0: testfs-OST0000_UUID ACTIVE
> 1: testfs-OST0001_UUID ACTIVE
> 2: testfs-OST0002_UUID ACTIVE
> 3: testfs-OST0003_UUID ACTIVE
> 4: testfs-OST0004_UUID ACTIVE
> 6: testfs-OST0006_UUID ACTIVE

However "lfs df" command gave an error about ost index 5 missing eg)
> # lfs df -h
> UUID                       bytes        Used   Available Use% Mounted on
> testfs-MDT0000_UUID       371.5G       77.8M      346.7G   0% /lustre/testfs/client[MDT:0]
> testfs-OST0000_UUID        14.2T       23.6M       13.5T   0% /lustre/testfs/client[OST:0]
> testfs-OST0001_UUID        14.2T       24.7M       13.5T   0% /lustre/testfs/client[OST:1]
> testfs-OST0002_UUID        14.2T       23.6M       13.5T   0% /lustre/testfs/client[OST:2]
> testfs-OST0003_UUID        14.2T       23.6M       13.5T   0% /lustre/testfs/client[OST:3]
> testfs-OST0004_UUID        14.2T       11.6M       14.1T   0% /lustre/testfs/client[OST:4]
> OST0005             : Resource temporarily unavailable
> testfs-OST0006_UUID        14.2T       11.6M       14.1T   0% /lustre/testfs/client[OST:6]

This appears to be a minor reporting issue.

chris hunter
chris.hunter at yale.edu
_______________________________________________
lustre-discuss mailing list
lustre-discuss at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


More information about the lustre-discuss mailing list