[Lustre-discuss] Trouble to migrate files from deactivated ost

Dilger, Andreas andreas.dilger at intel.com
Mon Oct 7 09:15:55 PDT 2013


On 2013/09/19 11:39 PM, "Arman Khalatyan" <arm2arm at gmail.com> wrote:

>Hello,
>We are removing one ost from  the lustre 2.4.1.
>Only few files are written on that OST without any striping.
>
>First we dectivate on MDS
>lctl --device 15 deactivate
>
>then on client: 
>lfs_migrate  -y  
>/lustre/arm2arm/Projects/EFRE-TESTS/RAID6TEST/arman-io-stresstest/stresste
>st/run_test.sh
>/lustre/arm2arm/Projects/EFRE-TESTS/RAID6TEST/arman-io-stresstest/stresste
>st/run_test.sh: cannot swap layouts between
>/lustre/arm2arm/Projects/EFRE-TESTS/RAID6TEST/arman-io-stresstest/stresste
>st/run_test.sh and a volatile file (Operation not permitted)
>error: migrate: migrate stripe file
>'/lustre/arm2arm/Projects/EFRE-TESTS/RAID6TEST/arman-io-stresstest/stresst
>est/run_test.sh' failed
>
>
>What does it mean "a volatile file"?

A volatile file is a new concept in Lustre 2.4 - it is a file that is
created
in the filesystem that has no name (e.g. it is created as an open unlinked
file).
This is used to implement atomic file migration in 2.4, which is safe for
files
that are in use.

Cheers, Andreas
-- 
Andreas Dilger

Lustre Software Architect
Intel High Performance Data Division





More information about the lustre-discuss mailing list