Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
9223372036854775807
Description
# dd if=/dev/zero of=/mnt/lustre/f1 bs=1K count=1
1+0 records in
1+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00816092 s, 125 kB/s
# lfs migrate --overstripe-count=5 /mnt/lustre/f1
# lfs getstripe /mnt/lustre/f1
/mnt/lustre/f1
lmm_stripe_count: 2 <<<<<<<<<<<<< it is not 5
lmm_stripe_size: 4194304
lmm_pattern: raid0
lmm_layout_gen: 1
lmm_stripe_offset: 0
obdidx objid objid group
0 172 0xac 0x240000400
1 161 0xa1 0x280000400
Attachments
Activity
Description |
Original:
# dd if=/dev/zero of=/mnt/lustre/f1 bs=1K count=1
1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00816092 s, 125 kB/s [root@fsdev89 /prj/fs-lustre/lustre/tests]# lfs migrate *--overstripe-count=5* /mnt/lustre/f1 [root@fsdev89 /prj/fs-lustre/lustre/tests]# lfs getstripe /mnt/lustre/f1 /mnt/lustre/f1 lmm_stripe_count: *2 <<<<<<<<<<<<< it is not 5* lmm_stripe_size: 4194304 lmm_pattern: raid0 lmm_layout_gen: 1 lmm_stripe_offset: 0 obdidx objid objid group 0 172 0xac 0x240000400 1 161 0xa1 0x280000400 |
New:
\# dd if=/dev/zero of=/mnt/lustre/f1 bs=1K count=1
1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00816092 s, 125 kB/s \# lfs migrate *--overstripe-count=5* /mnt/lustre/f1 \# lfs getstripe /mnt/lustre/f1 /mnt/lustre/f1 lmm_stripe_count: *2 <<<<<<<<<<<<< it is not 5* lmm_stripe_size: 4194304 lmm_pattern: raid0 lmm_layout_gen: 1 lmm_stripe_offset: 0 obdidx objid objid group 0 172 0xac 0x240000400 1 161 0xa1 0x280000400 |
Description | Original: The "{{lfs migrate}}" and "{{lfs_migrate}}" commands should accept a list of FIDs instead of filenames on the command-line with the "{{\-\-fids}}" option. This will allow them to use the "{{llapi_open_by_fid[_at]()}}" interface internally to open the files instead of doing pathname resolution, and improve integration into pipelines that produce FIDs instead of filenames (e.g. Changelogs) without the need to produce an intermediate pathname. |
New:
# dd if=/dev/zero of=/mnt/lustre/f1 bs=1K count=1
1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00816092 s, 125 kB/s [root@fsdev89 /prj/fs-lustre/lustre/tests]# lfs migrate *--overstripe-count=5* /mnt/lustre/f1 [root@fsdev89 /prj/fs-lustre/lustre/tests]# lfs getstripe /mnt/lustre/f1 /mnt/lustre/f1 lmm_stripe_count: *2 <<<<<<<<<<<<< it is not 5* lmm_stripe_size: 4194304 lmm_pattern: raid0 lmm_layout_gen: 1 lmm_stripe_offset: 0 obdidx objid objid group 0 172 0xac 0x240000400 1 161 0xa1 0x280000400 |
Assignee | Original: Feng Lei [ flei ] | New: WC Triage [ wc-triage ] |
Issue Type | Original: Improvement [ 4 ] | New: Bug [ 1 ] |