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

2013-10-07 Thread Dilger, Andreas
On 2013/09/19 11:39 PM, "Arman Khalatyan"  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


___
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss


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

2013-09-30 Thread Arman Khalatyan
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/stresstest/run_test.sh
/lustre/arm2arm/Projects/EFRE-TESTS/RAID6TEST/arman-io-stresstest/stresstest/run_test.sh:
cannot swap layouts between
/lustre/arm2arm/Projects/EFRE-TESTS/RAID6TEST/arman-io-stresstest/stresstest/run_test.sh
and a volatile file (Operation not permitted)
error: migrate: migrate stripe file
'/lustre/arm2arm/Projects/EFRE-TESTS/RAID6TEST/arman-io-stresstest/stresstest/run_test.sh'
failed

What does it mean "a volatile file"?

Thanks,
Arman.
___
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss