On Jun 08, 2007 15:40 +0200, Bernd Schubert wrote:> On Friday 08 June 2007 15:37:00 John R. Dunning wrote:
> > I thought I had this written down someplace, but now can''t
find it: Is
> > there a definitive way to tell whether an MDT is full? Alternatively,
a
> > particular OST?
> >
> > What''s driving this is I''m trying to build some
semi-automated tools to
> > diagnose the dreaded "no space left on device" error.
>
> lfs df
>
>
> bschubert@beo-102 ~>lfs df -h
> UUID bytes Used Available Use% Mounted on
> mds-beo_UUID 59.9G 3.9G 56.1G 6% /data/l[MDT:0]
> ost1_UUID 831.3G 139.5G 691.8G 16% /data/l[OST:0]
> ost2_UUID 554.2G 106.6G 447.6G 19% /data/l[OST:1]
>
> filesystem summary: 1.4T 246.1G 1.1T 17% /data/l
Also "lfs df -i" to report inode usage:
lfs df -i
UUID Inodes IUsed IFree IUse% Mounted on
mds-myth-0_UUID 2211688 42040 2169648 1% /myth[MDT:0]
ost-myth-0_UUID 737280 12219 725061 1% /myth[OST:0]
ost-myth-1_UUID 737280 12269 725011 1% /myth[OST:1]
ost-myth-2_UUID 737280 12256 725024 1% /myth[OST:2]
filesystem summary: 2211688 42040 2169648 1% /myth
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.