== sanity-sec test 59a: mirror resync of encrypted files without key ========================================================== 13:16:10 (1761326170) 192.168.203.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,encrypt 0 0 Stopping client oleg333-client.virtnet /mnt/lustre (opts:) Starting client: oleg333-client.virtnet: -o user_xattr,flock,test_dummy_encryption oleg333-server@tcp:/lustre /mnt/lustre 1+0 records in 1+0 records out 5000 bytes (5.0 kB, 4.9 KiB) copied, 0.000366246 s, 13.7 MB/s 1+0 records in 1+0 records out 5000 bytes (5.0 kB, 4.9 KiB) copied, 0.00791937 s, 631 kB/s /mnt/lustre/d59a.sanity-sec/f59a.sanity-sec lcm_layout_gen: 3 lcm_mirror_count: 2 lcm_entry_count: 2 lcme_id: 65537 lcme_mirror_id: 1 lcme_flags: init lcme_extent.e_start: 0 lcme_extent.e_end: EOF lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x100000000:0x234:0x0] } lcme_id: 131074 lcme_mirror_id: 2 lcme_flags: init,stale lcme_extent.e_start: 0 lcme_extent.e_end: EOF lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x100010000:0x229:0x0] } 192.168.203.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,test_dummy_encryption=%s,test_dummy_encryption,encrypt 0 0 Stopping client oleg333-client.virtnet /mnt/lustre (opts:) Starting client: oleg333-client.virtnet: -o user_xattr,flock oleg333-server@tcp:/lustre /mnt/lustre 1 keys reaped Chunks to be verified in /mnt/lustre/d59a.sanity-sec/lD6Z3lxWJ7vUNBJ,7wAOHC: [0, 0xffffffffffffffff) [1, 2] 2 Verifying chunk [0, 0xffffffffffffffff) on mirror: 1 2 CRC-32 checksum value for chunk [0, 0xffffffffffffffff): Mirror 1: 0xa06e1e3f Mirror 2: 0xa06e1e3f Verifying chunk [0, 0xffffffffffffffff) on mirror: 1 2 PASS lfs mirror read: cannot open '/mnt/lustre/d59a.sanity-sec/lD6Z3lxWJ7vUNBJ,7wAOHC': Required key not available Read the content of a specified mirror of a file. usage: lfs mirror read {--mirror-id|-N MIRROR_ID} [--outfile|-o ] lfs commands used to manage files with mirrored components: lfs mirror create - create a mirrored file or directory lfs mirror extend - add mirror(s) to an existing file lfs mirror split - split a mirror from an existing mirrored file lfs mirror resync - resynchronize out-of-sync mirrored file(s) lfs mirror read - read a mirror content of a mirrored file lfs mirror write - write to a mirror of a mirrored file lfs mirror copy - copy a mirror to other mirror(s) of a file lfs mirror verify - verify mirrored file(s) 607875764 192.168.203.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,encrypt 0 0 Stopping client oleg333-client.virtnet /mnt/lustre (opts:) Starting client: oleg333-client.virtnet: -o user_xattr,flock,test_dummy_encryption oleg333-server@tcp:/lustre /mnt/lustre Chunks to be verified in /mnt/lustre/d59a.sanity-sec/f59a.sanity-sec: [0, 0xffffffffffffffff) [1, 2] 2 Verifying chunk [0, 0xffffffffffffffff) on mirror: 1 2 CRC-32 checksum value for chunk [0, 0xffffffffffffffff): Mirror 1: 0x6eea12cb Mirror 2: 0x6eea12cb Verifying chunk [0, 0xffffffffffffffff) on mirror: 1 2 PASS 192.168.203.133@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,test_dummy_encryption=%s,test_dummy_encryption,encrypt 0 0 Stopping client oleg333-client.virtnet /mnt/lustre (opts:) Starting client: oleg333-client.virtnet: -o user_xattr,flock oleg333-server@tcp:/lustre /mnt/lustre 1 keys reaped