[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lustre-discuss
Subject:    [Lustre-discuss] Draining an OST (avoid new object creation)
From:       brockp () umich ! edu (Brock Palen)
Date:       2011-09-27 18:59:46
Message-ID: EF42C58E-962D-4BBB-A932-CA9ACD266B8A () umich ! edu
[Download RAW message or body]

We want to start draining and OST.  I looked online and I found

lctl --device ## deactivate

And:
lctl conf_param nobackup-OST0001.osc.active=0

The first one does what we want but does not survive a reboot.
The second survives a reboot but does not let files already on an OST to be access \
and modified.

We want users to be able to use any files already on that OST (until the outage when \
we move them).  Modify expand etc.  But new files should not be created there.

Any thoughts on how to do this would be great.

We cannot put the deactivate command in rc.local because the MDS nodes are managed by \
heartbeat and thus would not always be ran when the filesystem becomes active.  So we \
are looking for a survive reboot way to avoid new object creation on a set of old \
OST's. 

Thanks!

Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
brockp at umich.edu
(734)936-1985


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic