Hi Wolfgang,

On 20/11/13 19:37, Wolfgang Baudler wrote:
> If I deactivate an OST on the MDS like
>
> lctl --device 56 deactivate
>
> I would expect "lctl dl" on the MDS to show it as "IN" instead of "UP".
>
> This is not the case anymore with 2.4.1. However it shows correctly as
> INACTIVE when I do a
>
> cat /proc/fs/lustre/lov/vegas-MDT0000-mdtlov/target_obd:
>
> 89: vegas-OST0059_UUID INACTIVE
>
> lctl dl:
>   56 UP osp vegas-OST0059-osc-MDT0000 vegas-MDT0000-mdtlov_UUID 5
>
> Is this exepected behaviour?

I don't know if it is expected, but it seems you are not alone.

I have something similar on one file system where the servers have been 
upgraded to 2.4.1 but the clients are still on 1.8.9.

After mounting the file system lctl dl reports all devices as up, lfs df 
shows some OSTs as inactive and target_obd also shows them as inactive. 
Running 'lctl --device XXX activate' does not change this.

[bnh65367@cs04r-sc-serv-07 ~]$ lctl dl |grep play01
  91 UP lov play01-clilov-ffff810076ae2000 
9186608e-d432-283c-0e6e-47b800427d3e 4
  92 UP mdc play01-MDT0000-mdc-ffff810076ae2000 
9186608e-d432-283c-0e6e-47b800427d3e 5
  93 UP osc play01-OST0000-osc-ffff810076ae2000 
9186608e-d432-283c-0e6e-47b800427d3e 5
  94 UP osc play01-OST0001-osc-ffff810076ae2000 
9186608e-d432-283c-0e6e-47b800427d3e 5
  95 UP osc play01-OST0002-osc-ffff810076ae2000 
9186608e-d432-283c-0e6e-47b800427d3e 5
  96 UP osc play01-OST0003-osc-ffff810076ae2000 
9186608e-d432-283c-0e6e-47b800427d3e 5
  97 UP osc play01-OST0004-osc-ffff810076ae2000 
9186608e-d432-283c-0e6e-47b800427d3e 5
  98 UP osc play01-OST0005-osc-ffff810076ae2000 
9186608e-d432-283c-0e6e-47b800427d3e 5
[bnh65367@cs04r-sc-serv-07 ~]$ lfs df /mnt/play01
UUID                   1K-blocks        Used   Available Use% Mounted on
play01-MDT0000_UUID     78636320     3502948    75133372   4% 
/mnt/play01[MDT:0]
play01-OST0000_UUID   7691221300  4506865920  3184355380  59% 
/mnt/play01[OST:0]
play01-OST0001_UUID   7691221300  3765688064  3925533236  49% 
/mnt/play01[OST:1]
play01-OST0002_UUID : inactive device
play01-OST0003_UUID : inactive device
play01-OST0004_UUID : inactive device
play01-OST0005_UUID : inactive device

filesystem summary:  15382442600  8272553984  7109888616  54% /mnt/play01

[bnh65367@cs04r-sc-serv-07 ~]$ cat 
/proc/fs/lustre/lov/play01-clilov-ffff810076ae2000/target_obd
0: play01-OST0000_UUID ACTIVE
1: play01-OST0001_UUID ACTIVE
2: play01-OST0002_UUID INACTIVE
3: play01-OST0003_UUID INACTIVE
4: play01-OST0004_UUID INACTIVE
5: play01-OST0005_UUID INACTIVE
[bnh65367@cs04r-sc-serv-07 ~]$

Note that play01-OST0000, play01-OST0002 and play-OST0004 are on the 
same OSS,  play01-OST0001, play01-OST0003 and play-OST0005 are on a 
different OSS but again all on the same. So I think we can rule out 
network problems here, it is also repeatable over reboots.

This does not happen on the same clients for any of the other file 
systems where the servers are still running Lustre 1.8.

Kind regards,
Frederik

-- 
Frederik Ferner
Senior Computer Systems Administrator   phone: +44 1235 77 8624
Diamond Light Source Ltd.               mob:   +44 7917 08 5110
(Apologies in advance for the lines below. Some bits are a legal
requirement and I have no control over them.)

-- 
This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 



_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to