Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
Lustre 2.7.0
-
3
-
9223372036854775807
Description
the -o option to setstripe where you can specify the OSTs to use works on files but gets an error when you do the same thing on directories.
[root@Lustre-TG1 lustrefs]# mkdir testdir
[root@Lustre-TG1 lustrefs]# lfs setstripe -o 0-3 -c 4 testfile
[root@Lustre-TG1 lustrefs]# lfs getstripe testfile
testfile
lmm_stripe_count: 4
lmm_stripe_size: 1048576
lmm_pattern: 1
lmm_layout_gen: 0
lmm_stripe_offset: 0
obdidx objid objid group
0 9925 0x26c5 0
1 1606 0x646 0
2 1608 0x648 0
3 1609 0x649 0
[root@Lustre-TG1 lustrefs]# lfs setstripe -o 0-3 -c 4 testdir
error on ioctl 0x4008669a for 'testdir' (3): Invalid argument
error: setstripe: create stripe file 'testdir' failed
Attachments
Issue Links
- is related to
-
LU-5170 lfs usability
-
- Open
-