On 2013/09/27 9:01 AM, "Arman Khalatyan" <arm2arm(a)gmail.com> wrote:
I wondered is lfs_migrate is only for striped files?
when I run on non striped one on lustre 2.4.1 I get following error:
lfs_migrate /lustre/arm2arm/tileimg_vis.png
lfs_migrate is currently NOT SAFE for moving in-use files.
Use it only when you are sure migrated files are unused.
If emptying OST(s) that are not disabled on the MDS, new
files may use them. To prevent MDS allocating any files on
OSTNNNN run 'lctl --device %{fsname}-OSTNNNN-osc deactivate'
on the MDS.
Continue? (y/n) y
/lustre/arm2arm/tileimg_vis.png: cannot swap layouts between
/lustre/arm2arm/tileimg_vis.png and a volatile file (Operation not
permitted)
This error happens if you run the 2.4 client lfs_migrate against a server
that
is running an older Lustre release. We should probably quiet this error,
since
it will be annoying for people running in a mixed client/server
environment.
error: migrate: migrate stripe file
'/lustre/arm2arm/tileimg_vis.png'
failed
The above error shouldn't be fatal - in my usage with 2.4 clients and 2.1
servers it just prints the "volatile file" error and continues on.
Cheers, Andreas
--
Andreas Dilger
Lustre Software Architect
Intel High Performance Data Division