Announce: unlimited number of shared snapshots
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mikulas Patocka
maintainerOh, sorry, there was a bug with big devices. I uploaded new patches at the same location, try them. (there's another fix for bug when sector size is smaller than chunk size in these new patches)
BTW. for good performance, make sure that the size of your origin partition is aligned to the chunk size --- otherwise, there's a serious inefficiency in the kernel; if you use it over a partition with odd number of sectors, the kernel will split all IOs to 512 bytes and it'll be very slow.
Mikulas
Quoted 213 lines
Hi Mikulas
Thanks for your job.In my vmware ESXi guest OS (linux-2.6.28-rc5), the multisnap was crashed.
dd if=/dev/zero of=/dev/LD/snap bs=4096 count=1 echo 0
blockdev --getsize /dev/mapper/LD-orimultisnapshot/dev/mapper/LD-ori/dev/mapper/LD-snap4096|dmsetup create ms[ 298.050106] ------------[ cut here ]------------ [ 298.050106] kernel BUG at drivers/md/dm-bufio.c:156! [ 298.050106] invalid opcode: 0000 [#1] SMP [ 298.050106] last sysfs file: /sys/block/sde/dev [ 298.050106] CPU 0 [ 298.050106] Modules linked in: dm_multisnapshot hangcheck_timer e1000 e1000e megaraid_sas megaraid_mbox megaraid_mm mptsas mptspi mptscsih mptctl mptbase dm_mod scsi_transport_sas scsi_transport_spi sd_mod [ 298.050106] Pid: 1759, comm: dmsetup Not tainted 2.6.28-rc5-1128 #1 [ 298.050106] RIP: 0010:[<ffffffffa002dae4>] [<ffffffffa002dae4>] get_unclaimed_buffer+0xd4/0x130 [dm_mod] [ 298.050106] RSP: 0018:ffff8800165edb28 EFLAGS: 00010202 [ 298.050106] RAX: 0000000000000004 RBX: ffff880016219f00 RCX: ffff880016219f10 [ 298.050106] RDX: 0000000000000902 RSI: 0000000000000001 RDI: ffff880016219f40 [ 298.050106] RBP: ffff88001624e000 R08: ffff88001624e000 R09: ffff8800173ca000 [ 298.050106] R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000001 [ 298.050106] R13: ffff88001624e000 R14: 000000000020c401 R15: ffff88001624e020 [ 298.050106] FS: 00007fd02c0356f0(0000) GS:ffffffff80658800(0000) knlGS:0000000000000000 [ 298.050106] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 298.050106] CR2: 00007f47f4405590 CR3: 00000000160f6000 CR4: 00000000000006a0 [ 298.050106] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 298.050106] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 298.050106] Process dmsetup (pid: 1759, threadinfo ffff8800165ec000, task ffff880025174c20) [ 298.050106] Stack: [ 298.050106] 0000000000000000 ffff880016227000 ffff880016219f00 ffffffffa002deab [ 298.050106] ffff88001624e860 ffff88001624e068 0000000000000286 ffff8800165edc18 [ 298.050106] 0000000000000000 ffff880025174c20 ffffffff8022b950 0000000000000000 [ 298.050106] Call Trace: [ 298.050106] [<ffffffffa002deab>] ? dm_bufio_new_read+0x2ab/0x2f0 [dm_mod] [ 298.050106] [<ffffffff8022b950>] ? default_wake_function+0x0/0x10 [ 298.050106] [<ffffffffa00e0918>] ? multisnap_origin_ctr+0x4f8/0xc90 [dm_multisnapshot] [ 298.050106] [<ffffffffa002932b>] ? dm_table_add_target+0x18b/0x3c0 [dm_mod] [ 298.050106] [<ffffffffa002b2ff>] ? table_load+0xaf/0x210 [dm_mod] [ 298.050106] [<ffffffff8027b28d>] ? __vmalloc_area_node+0xbd/0x130 [ 298.050106] [<ffffffffa002b250>] ? table_load+0x0/0x210 [dm_mod] [ 298.050106] [<ffffffffa002c0d1>] ? dm_ctl_ioctl+0x251/0x2c0 [dm_mod] [ 298.050106] [<ffffffff8029784f>] ? vfs_ioctl+0x2f/0xa0 [ 298.050106] [<ffffffff80297c00>] ? do_vfs_ioctl+0x340/0x470 [ 298.050106] [<ffffffff80297d79>] ? sys_ioctl+0x49/0x80 [ 298.050106] [<ffffffff8020c10b>] ? system_call_fastpath+0x16/0x1b [ 298.050106] Code: 54 a8 02 74 aa 45 85 e4 74 e9 f6 07 02 74 a0 b9 02 00 00 00 48 c7 c2 20 d9 02 a0 be 01 00 00 00 e8 42 fe 4b e0 eb 88 0f 0b eb fe <0f> 0b eb fe 31 db eb 84 45 85 e4 90 0f 84 60 ff ff ff b9 02 00 [ 298.050106] RIP [<ffffffffa002dae4>] get_unclaimed_buffer+0xd4/0x130 [dm_mod] [ 298.050106] RSP <ffff8800165edb28> [ 298.218349] ---[ end trace 9642e91f49f4b2b1 ]---#dmsetup ls
LD-snap (254, 1)
LD-ori (254, 0)
ms (254, 2)
#ls/dev/mapper/
LD-ori LD-snap control
#vgdisplay -v Finding all volume groups
Finding volume group "LD"
--- Volume group ---
VG Name LD
System ID Format lvm2Metadata Areas 8 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 4 Act PV 4 VG Size 53.98 GB PE Size 4.00 MB Total PE 13820 Alloc PE / Size 13312 / 52.00 GB Free PE / Size 508 / 1.98 GB VG UUID r0hOuU-L4I0-V3Zy-hK10-TtJe-toBw-9BDpCY --- Logical volume --- LV Name /dev/LD/ori VG Name LD LV UUID LXOLcd-oPdk-xXoq-ZmK6-B4Qd-z8y6-Vf1WZ8 LV Write Access read/write LV Status available # open 1 LV Size 26.00 GB Current LE 6656 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 --- Logical volume --- LV Name /dev/LD/snap VG Name LD LV UUID MlgpYW-AbNZ-7DMd-BEmc-RNiz-wmsa-vNiq1m LV Write Access read/write LV Status available # open 1 LV Size 26.00 GB Current LE 6656 Segments 4 Allocation inherit Read ahead sectors auto - currently set to 256#vgdisplay -v Finding all volume groups Finding volume group "LD" --- Volume group --- VG Name LD System ID Format lvm2 Metadata Areas 8 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 4 Act PV 4 VG Size 53.98 GB PE Size 4.00 MB Total PE 13820 Alloc PE / Size 13312 / 52.00 GB Free PE / Size 508 / 1.98 GB VG UUID r0hOuU-L4I0-V3Zy-hK10-TtJe-toBw-9BDpCY --- Logical volume --- LV Name /dev/LD/ori VG Name LD LV UUID LXOLcd-oPdk-xXoq-ZmK6-B4Qd-z8y6-Vf1WZ8 LV Write Access read/write LV Status available # open 1 LV Size 26.00 GB Current LE 6656 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 --- Logical volume --- LV Name /dev/LD/snap VG Name LD LV UUID MlgpYW-AbNZ-7DMd-BEmc-RNiz-wmsa-vNiq1m LV Write Access read/write LV Status available # open 1 LV Size 26.00 GB Current LE 6656 Segments 4 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1--- Physical volumes ---
PV Name/dev/sdaPV UUID
lc8iKg-WrqG-XWyL-t6TW-TtPj-HQn1-pgbtku
PV Status allocatable
Total PE / Free PE 7679 / 508
PV Name/dev/sdcPV UUID
bbHAWq-adBj-ACcU-5Bp6-LM2Y-r5M6-9ncvGc
PV Status allocatable
Total PE / Free PE 2047 / 0
PV Name/dev/sddPV UUID
5B7gOQ-KKuk-XtHm-6FSr-11Q4-2p7y-lr2xGP
PV Status allocatable
Total PE / Free PE 2047 / 0
PV Name/dev/sdePV UUID
kXUvPh-gsVN-oQln-CiMu-XdR2-C1Xd-DgLtjb
PV Status allocatable
Total PE / Free PE 2047 / 0Block device 254:1
--- Physical volumes ---
PV Name/dev/sdaPV UUID
lc8iKg-WrqG-XWyL-t6TW-TtPj-HQn1-pgbtku
PV Status allocatable
Total PE / Free PE 7679 / 508
PV Name/dev/sdcPV UUID
bbHAWq-adBj-ACcU-5Bp6-LM2Y-r5M6-9ncvGc
PV Status allocatable
Total PE / Free PE 2047 / 0
PV Name/dev/sddPV UUID
5B7gOQ-KKuk-XtHm-6FSr-11Q4-2p7y-lr2xGP
PV Status allocatable
Total PE / Free PE 2047 / 0
PV Name/dev/sdePV UUID
kXUvPh-gsVN-oQln-CiMu-XdR2-C1Xd-DgLtjb
PV Status allocatable
Total PE / Free PE 2047 / 0What's wrong with my test?
best regards
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mikulas Patocka
maintainerHi
I fixed the ext2 bug (it was unsupported handling of buffer readahead) --- download the new version of patches from the same location.
I couldn't reproduce the XFS bug. Please retry. Are you sure that you didn't try to mount the _snapshot_ as XFS? Snapshots are currently not writeable (they will be writeable in the final version), so attempting to mount the snapshot read/write would return i/o error to the filesystem and produce an error message similar to the one displayed.
Thanks for testing it.
Mikulas
Quoted 341 lines
hm... there is no difference.
so.. i used small lv size. snapshot creation is successful!!with xfs
there is snapshot device mount problem.[ 2696.337759] Filesystem "dm-3": Disabling barriers, trial barrier write failed [ 2696.345517] XFS mounting filesystem dm-3 [ 2696.356009] xfs_force_shutdown(dm-3,0x1) called from line 420 of file fs/xfs/xfs_rw.c. Return address = 0xffffffff8037d399 [ 2696.363710] Filesystem "dm-3": I/O Error Detected. Shutting down filesystem: dm-3 [ 2696.368085] Please umount the filesystem, and rectify the problem(s) [ 2696.371756] I/O error in filesystem ("dm-3") meta-data dev dm-3 block 0x200022 ("xlog_bwrite") error 5 buf count 2097152 [ 2696.378402] XFS: failed to locate log tail [ 2696.380797] XFS: log mount/recovery failed: error 5 [ 2696.405586] XFS: log mount failedwith ext2
mount is ok!!
In origin io (cp -a /etc /origin-dev/, however kernel oops detected! But cp is successful, and then another snapshot create command (dmsetup message/dev/mapper/ms3 create) hang forever.[ 2782.652061] lost page write due to I/O error on dm-3 [ 2788.134652] ------------[ cut here ]------------ [ 2788.135559] kernel BUG at drivers/md/dm-multisnap-io.c:267! [ 2788.135559] invalid opcode: 0000 [#1] SMP [ 2788.135559] last sysfs file: /sys/block/sde/dev [ 2788.135559] CPU 0 [ 2788.135559] Modules linked in: dm_multisnapshot hangcheck_timer e1000 e1000e megaraid_sas megaraid_mbox megaraid_mm mptsas mptspi mptscsih mptctl mptbase dm_mod scsi_transport_sas scsi_transport_spi sd_mod [ 2788.135559] Pid: 4299, comm: kmultisnapd Not tainted 2.6.28-rc5-1128 #1 [ 2788.135559] RIP: 0010:[<ffffffffa00e4178>] [<ffffffffa00e4178>] dm_multisnap_process_bios+0x278/0x600 [dm_multisnapshot] [ 2788.135559] RSP: 0018:ffff88001fa77c90 EFLAGS: 00010202 [ 2788.135559] RAX: 0000000000000001 RBX: ffff88001f8be000 RCX: ffff88001f8be0b0 [ 2788.135559] RDX: ffff88001fa52808 RSI: ffff88001fa77ed0 RDI: ffffffffa00e7d80 [ 2788.135559] RBP: 00000000ffffffff R08: ffff88001fa76000 R09: 0000000000000001 [ 2788.135559] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88001f8be0a8 [ 2788.135559] R13: ffff880023cdd900 R14: 0000000000000000 R15: ffff88001fa77e30 [ 2788.135559] FS: 0000000000000000(0000) GS:ffffffff80658800(0000) knlGS:0000000000000000 [ 2788.135559] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b [ 2788.135559] CR2: 00007f973b475550 CR3: 000000001e11a000 CR4: 00000000000006a0 [ 2788.135559] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2788.135559] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 2788.135559] Process kmultisnapd (pid: 4299, threadinfo ffff88001fa76000, task ffff880025175700) [ 2788.135559] Stack: [ 2788.135559] ffff880023d58838 ffff88001bf6f800 ffff88001fa77ce0 ffff880023dc54d0 [ 2788.135559] 0000000000000086 ffff88001bf6f800 ffff88001bf6f800 0000000000000000 [ 2788.135559] 0000000000000000 ffff880023daac00 ffff880023dc54a0 0000000000000000 [ 2788.135559] Call Trace: [ 2788.135559] [<ffffffff804eee34>] ? _spin_unlock_irqrestore+0x4/0x10 [ 2788.135559] [<ffffffff80228a61>] ? update_curr+0x51/0xb0 [ 2788.135559] [<ffffffff8022eee0>] ? dequeue_task_fair+0xd0/0xf0 [ 2788.135559] [<ffffffff80243af0>] ? worker_thread+0x0/0xb0 [ 2788.135559] [<ffffffff8022b2ad>] ? __dequeue_entity+0x3d/0x50 [ 2788.135559] [<ffffffff8022b2e5>] ? set_next_entity+0x25/0x50 [ 2788.135559] [<ffffffff804ecf71>] ? thread_return+0x3a/0x5c9 [ 2788.135559] [<ffffffffa00e4500>] ? dm_multisnap_work+0x0/0xb0 [dm_multisnapshot] [ 2788.135559] [<ffffffffa00e4533>] ? dm_multisnap_work+0x33/0xb0 [dm_multisnapshot] [ 2788.135559] [<ffffffffa00e4500>] ? dm_multisnap_work+0x0/0xb0 [dm_multisnapshot] [ 2788.135559] [<ffffffff8024302e>] ? run_workqueue+0xbe/0x150 [ 2788.135559] [<ffffffff80243af0>] ? worker_thread+0x0/0xb0 [ 2788.135559] [<ffffffff80243af0>] ? worker_thread+0x0/0xb0 [ 2788.135559] [<ffffffff80243b5d>] ? worker_thread+0x6d/0xb0 [ 2788.135559] [<ffffffff80246d80>] ? autoremove_wake_function+0x0/0x30 [ 2788.135559] [<ffffffff80243af0>] ? worker_thread+0x0/0xb0 [ 2788.135559] [<ffffffff80243af0>] ? worker_thread+0x0/0xb0 [ 2788.135559] [<ffffffff8024696b>] ? kthread+0x4b/0x80 [ 2788.135559] [<ffffffff8020cff9>] ? child_rip+0xa/0x11 [ 2788.135559] [<ffffffff80246920>] ? kthread+0x0/0x80 [ 2788.135559] [<ffffffff8020cfef>] ? child_rip+0x0/0x11 [ 2788.135559] Code: 8d b3 a8 00 00 00 e8 08 f9 15 e0 e9 55 ff ff ff 0f 1f 00 8d 72 01 e9 4a fe ff ff 48 c7 83 d0 00 00 00 00 00 00 00 e9 e3 fd ff ff <0f> 0b eb fe 0f 1f 40 00 48 89 df e8 88 be ff ff 85 c0 0f 85 07 [ 2788.135559] RIP [<ffffffffa00e4178>] dm_multisnap_process_bios+0x278/0x600 [dm_multisnapshot] [ 2788.135559] RSP <ffff88001fa77c90> [ 2788.324941] ---[ end trace cca5fac1560b5d2c ]---best regards.
Quoted 235 lines · Mikulas Patocka
Oh, sorry, there was a bug with big devices. I uploaded new patches at the same location, try them. (there's another fix for bug when sector size is smaller than chunk size in these new patches)
BTW. for good performance, make sure that the size of your origin partition is aligned to the chunk size --- otherwise, there's a serious inefficiency in the kernel; if you use it over a partition with odd number of sectors, the kernel will split all IOs to 512 bytes and it'll be very slow.
Mikulas
Quoted 220 lines
Hi Mikulas
Thanks for your job.In my vmware ESXi guest OS (linux-2.6.28-rc5), the multisnap was crashed.
dd if=/dev/zero of=/dev/LD/snap bs=4096 count=1 echo 0
blockdev --getsize /dev/mapper/LD-orimultisnapshot/dev/mapper/LD-ori/dev/mapper/LD-snap4096|dmsetup create ms[ 298.050106] ------------[ cut here ]------------ [ 298.050106] kernel BUG at drivers/md/dm-bufio.c:156! [ 298.050106] invalid opcode: 0000 [#1] SMP [ 298.050106] last sysfs file: /sys/block/sde/dev [ 298.050106] CPU 0 [ 298.050106] Modules linked in: dm_multisnapshot
hangcheck_timere1000 e1000emegaraid_sasmegaraid_mboxmegaraid_mmmptsas mptspi mptscsih mptctl mptbasedm_modscsi_transport_sasscsi_transport_spisd_mod[ 298.050106] Pid: 1759, comm: dmsetup Not tainted 2.6.28-rc5-1128 #1 [ 298.050106] RIP: 0010:[<ffffffffa002dae4>] [<ffffffffa002dae4>] get_unclaimed_buffer+0xd4/0x130 [dm_mod] [ 298.050106] RSP: 0018:ffff8800165edb28 EFLAGS: 00010202 [ 298.050106] RAX: 0000000000000004 RBX: ffff880016219f00 RCX: ffff880016219f10 [ 298.050106] RDX: 0000000000000902 RSI: 0000000000000001 RDI: ffff880016219f40 [ 298.050106] RBP: ffff88001624e000 R08: ffff88001624e000 R09: ffff8800173ca000 [ 298.050106] R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000001 [ 298.050106] R13: ffff88001624e000 R14: 000000000020c401 R15: ffff88001624e020 [ 298.050106] FS: 00007fd02c0356f0(0000) GS:ffffffff80658800(0000) knlGS:0000000000000000 [ 298.050106] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 298.050106] CR2: 00007f47f4405590 CR3: 00000000160f6000 CR4: 00000000000006a0 [ 298.050106] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 298.050106] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 298.050106] Process dmsetup (pid: 1759, threadinfo ffff8800165ec000, task ffff880025174c20) [ 298.050106] Stack: [ 298.050106] 0000000000000000 ffff880016227000 ffff880016219f00 ffffffffa002deab [ 298.050106] ffff88001624e860 ffff88001624e068 0000000000000286 ffff8800165edc18 [ 298.050106] 0000000000000000 ffff880025174c20 ffffffff8022b950 0000000000000000 [ 298.050106] Call Trace: [ 298.050106] [<ffffffffa002deab>] ? dm_bufio_new_read+0x2ab/0x2f0 [dm_mod] [ 298.050106] [<ffffffff8022b950>] ? default_wake_function+0x0/0x10 [ 298.050106] [<ffffffffa00e0918>] ? multisnap_origin_ctr+0x4f8/0xc90 [dm_multisnapshot] [ 298.050106] [<ffffffffa002932b>] ? dm_table_add_target+0x18b/0x3c0 [dm_mod] [ 298.050106] [<ffffffffa002b2ff>] ? table_load+0xaf/0x210 [dm_mod] [ 298.050106] [<ffffffff8027b28d>] ? __vmalloc_area_node+0xbd/0x130 [ 298.050106] [<ffffffffa002b250>] ? table_load+0x0/0x210 [dm_mod] [ 298.050106] [<ffffffffa002c0d1>] ? dm_ctl_ioctl+0x251/0x2c0 [dm_mod] [ 298.050106] [<ffffffff8029784f>] ? vfs_ioctl+0x2f/0xa0 [ 298.050106] [<ffffffff80297c00>] ? do_vfs_ioctl+0x340/0x470 [ 298.050106] [<ffffffff80297d79>] ? sys_ioctl+0x49/0x80 [ 298.050106] [<ffffffff8020c10b>] ? system_call_fastpath+0x16/0x1b [ 298.050106] Code: 54 a8 02 74 aa 45 85 e4 74 e9 f6 07 02 74 a0 b9 02 0000
00 48 c7 c2 20 d9 02 a0 be 01 00 00 00 e8 42 fe 4b e0 eb 88 0f 0b eb fe <0f>
0b eb fe 31 db eb 84 45 85 e4 90 0f 84 60 ff ff ff b9 02 00 [ 298.050106] RIP
[<ffffffffa002dae4>]get_unclaimed_buffer+0xd4/0x130[dm_mod][ 298.050106] RSP <ffff8800165edb28> [ 298.218349] ---[ end trace 9642e91f49f4b2b1 ]---#dmsetup ls
LD-snap (254, 1)
LD-ori (254, 0)
ms (254, 2)
#ls/dev/mapper/
LD-ori LD-snap control #vgdisplay -v Finding all volume groups
Finding volume group "LD"
--- Volume group ---
VG Name LD
System ID Format lvm2Metadata Areas 8 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 4 Act PV 4 VG Size 53.98 GB PE Size 4.00 MB Total PE 13820 Alloc PE / Size 13312 / 52.00 GB Free PE / Size 508 / 1.98 GB VG UUID r0hOuU-L4I0-V3Zy-hK10-TtJe-toBw-9BDpCY --- Logical volume --- LV Name /dev/LD/ori VG Name LD LV UUID LXOLcd-oPdk-xXoq-ZmK6-B4Qd-z8y6-Vf1WZ8 LV Write Access read/write LV Status available # open 1 LV Size 26.00 GB Current LE 6656 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 --- Logical volume --- LV Name /dev/LD/snap VG Name LD LV UUID MlgpYW-AbNZ-7DMd-BEmc-RNiz-wmsa-vNiq1m LV Write Access read/write LV Status available # open 1 LV Size 26.00 GB Current LE 6656 Segments 4 Allocation inherit Read ahead sectors auto - currently set to 256#vgdisplay -v Finding all volume groups Finding volume group "LD" --- Volume group --- VG Name LD System ID Format lvm2 Metadata Areas 8 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 4 Act PV 4 VG Size 53.98 GB PE Size 4.00 MB Total PE 13820 Alloc PE / Size 13312 / 52.00 GB Free PE / Size 508 / 1.98 GB VG UUID r0hOuU-L4I0-V3Zy-hK10-TtJe-toBw-9BDpCY --- Logical volume --- LV Name /dev/LD/ori VG Name LD LV UUID LXOLcd-oPdk-xXoq-ZmK6-B4Qd-z8y6-Vf1WZ8 LV Write Access read/write LV Status available # open 1 LV Size 26.00 GB Current LE 6656 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 --- Logical volume --- LV Name /dev/LD/snap VG Name LD LV UUID MlgpYW-AbNZ-7DMd-BEmc-RNiz-wmsa-vNiq1m LV Write Access read/write LV Status available # open 1 LV Size 26.00 GB Current LE 6656 Segments 4 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1--- Physical volumes ---
PV Name/dev/sdaPV UUID
lc8iKg-WrqG-XWyL-t6TW-TtPj-HQn1-pgbtku
PV Status allocatable
Total PE / Free PE 7679 / 508
PV Name/dev/sdcPV UUID
bbHAWq-adBj-ACcU-5Bp6-LM2Y-r5M6-9ncvGc
PV Status allocatable
Total PE / Free PE 2047 / 0
PV Name/dev/sddPV UUID
5B7gOQ-KKuk-XtHm-6FSr-11Q4-2p7y-lr2xGP
PV Status allocatable
Total PE / Free PE 2047 / 0
PV Name/dev/sdePV UUID
kXUvPh-gsVN-oQln-CiMu-XdR2-C1Xd-DgLtjb
PV Status allocatable
Total PE / Free PE 2047 / 0Block device 254:1
--- Physical volumes ---
PV Name/dev/sdaPV UUID
lc8iKg-WrqG-XWyL-t6TW-TtPj-HQn1-pgbtku
PV Status allocatable
Total PE / Free PE 7679 / 508
PV Name/dev/sdcPV UUID
bbHAWq-adBj-ACcU-5Bp6-LM2Y-r5M6-9ncvGc
PV Status allocatable
Total PE / Free PE 2047 / 0
PV Name/dev/sddPV UUID
5B7gOQ-KKuk-XtHm-6FSr-11Q4-2p7y-lr2xGP
PV Status allocatable
Total PE / Free PE 2047 / 0
PV Name/dev/sdePV UUID
kXUvPh-gsVN-oQln-CiMu-XdR2-C1Xd-DgLtjb
PV Status allocatable
Total PE / Free PE 2047 / 0What's wrong with my test?
best regards
Quoted 10 lines · Mikulas Patocka
Hi
I fixed the ext2 bug (it was unsupported handling of buffer readahead) --- download the new version of patches from the same location.
I couldn't reproduce the XFS bug. Please retry. Are you sure that you didn't try to mount the _snapshot_ as XFS? Snapshots are currently not writeable (they will be writeable in the final version), so attempting to mount the snapshot read/write would return i/o error to the filesystem and produce an error message similar to the one displayed.
The error message definitively looks like trying to mount a r/o snapshots without -o ro,norecovery:
Quoted 9 lines
Quoted 9 lines
fs/xfs/xfs_rw.c. Return address =0xffffffff8037d399[ 2696.363710] Filesystem "dm-3": I/O Error Detected. Shutting down filesystem: dm-3 [ 2696.368085] Please umount the filesystem, and rectify the problem(s) [ 2696.371756] I/O error in filesystem ("dm-3") meta-data dev dm-3 block 0x200022 ("xlog_bwrite") error 5 buf count 2097152 [ 2696.378402] XFS: failed to locate log tail [ 2696.380797] XFS: log mount/recovery failed: error 5 [ 2696.405586] XFS: log mount failed
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mikulas Patocka
maintainerQuoted 16 lines · hgichon
ok, i found norecovery option for mouting XFS.
I make a some script for testing shared snapshots. It's simple.
- create multisnap target
- mkfs.xfs target / mount
- loop ( cp /etc /target/$cnt... ; create multisnap-snap target ID $cnt; $cnt increased )I want to see
- snapshot creation time?
- preserved snapshot image exactly?I created more than 90 snapshot target, however there is no snapshot creation delay. WOW
In checking the preserved snapshot images, but there is some problem.
Quoted 5 lines
1. When snapshot number is more than 97, Input/Output errors occurred in original volume.
- In that time, snapshot overflow occurred maybe.I attached my simple script and result.
This is definitely caused by snapshot overflow. See this:
ms: 0 4194304 multisnapshot 28 103 524288 524281 46399
^^^^^^^^^^^^^
It's the total and allocated number of chunks. Currently, it behaves in such a way that it prevents writing to the origin, I may add more error handling modes in the future.
Quoted 1 line
2. With below df dump, copy data was updated abnormally.
What exactly do you mean? Technically, you can get filesystem inconsistency in the snapshot if you take snapshot of a mounted filesystem. You should suspend the origin device with "dmsetup suspend" and resume with "dmsetup resume" it after taking the snapshot. Be aware to suspend only for brief period of time on unloaded system, as there is a deadlock possibility when running with suspended filesystem. xfs and ext3 will clean-up themselves when suspending. For ext2, there's no way to get a clean snapshot, it's ext2 design limitation, even on old snapshots you get inconsistent snapshots when snapshotting mounted ext2 filesystem.
Mikulas
Quoted 421 lines
best regards.
# df Filesystem Size Used Avail Use% Mounted on /dev/sdb1 5.0G 646M 4.1G 14% / /dev/sdb2 5.0G 244M 4.5G 6% /var none 292M 120K 292M 1% /dev/shm /dev/mapper/ms 2.0G 1.5G 595M 71% /mnt/ms /dev/mapper/ms0 2.0G 4.2M 2.0G 1% /mnt/ms0 /dev/mapper/ms1 2.0G 4.2M 2.0G 1% /mnt/ms1 /dev/mapper/ms2 2.0G 20M 2.0G 1% /mnt/ms2 /dev/mapper/ms3 2.0G 20M 2.0G 1% /mnt/ms3 /dev/mapper/ms4 2.0G 20M 2.0G 1% /mnt/ms4 /dev/mapper/ms5 2.0G 20M 2.0G 1% /mnt/ms5 /dev/mapper/ms6 2.0G 82M 2.0G 5% /mnt/ms6 /dev/mapper/ms7 2.0G 4.2M 2.0G 1% /mnt/ms7 /dev/mapper/ms8 2.0G 4.2M 2.0G 1% /mnt/ms8 /dev/mapper/ms9 2.0G 4.2M 2.0G 1% /mnt/ms9 /dev/mapper/ms10 2.0G 38M 2.0G 2% /mnt/ms10 /dev/mapper/ms11 2.0G 38M 2.0G 2% /mnt/ms11 /dev/mapper/ms12 2.0G 38M 2.0G 2% /mnt/ms12 /dev/mapper/ms13 2.0G 89M 2.0G 5% /mnt/ms13 /dev/mapper/ms14 2.0G 89M 2.0G 5% /mnt/ms14 /dev/mapper/ms15 2.0G 89M 2.0G 5% /mnt/ms15 /dev/mapper/ms16 2.0G 89M 2.0G 5% /mnt/ms16 /dev/mapper/ms17 2.0G 138M 1.9G 7% /mnt/ms17 /dev/mapper/ms18 2.0G 138M 1.9G 7% /mnt/ms18 /dev/mapper/ms19 2.0G 138M 1.9G 7% /mnt/ms19 /dev/mapper/ms20 2.0G 138M 1.9G 7% /mnt/ms20 /dev/mapper/ms21 2.0G 211M 1.8G 11% /mnt/ms21 /dev/mapper/ms22 2.0G 211M 1.8G 11% /mnt/ms22 /dev/mapper/ms23 2.0G 211M 1.8G 11% /mnt/ms23 /dev/mapper/ms24 2.0G 211M 1.8G 11% /mnt/ms24 /dev/mapper/ms25 2.0G 211M 1.8G 11% /mnt/ms25 /dev/mapper/ms26 2.0G 270M 1.8G 14% /mnt/ms26 /dev/mapper/ms27 2.0G 270M 1.8G 14% /mnt/ms27 /dev/mapper/ms28 2.0G 270M 1.8G 14% /mnt/ms28 /dev/mapper/ms29 2.0G 270M 1.8G 14% /mnt/ms29 /dev/mapper/ms30 2.0G 334M 1.7G 17% /mnt/ms30 /dev/mapper/ms31 2.0G 334M 1.7G 17% /mnt/ms31 /dev/mapper/ms32 2.0G 334M 1.7G 17% /mnt/ms32 /dev/mapper/ms33 2.0G 389M 1.7G 20% /mnt/ms33 /dev/mapper/ms34 2.0G 389M 1.7G 20% /mnt/ms34 /dev/mapper/ms35 2.0G 389M 1.7G 20% /mnt/ms35 /dev/mapper/ms36 2.0G 389M 1.7G 20% /mnt/ms36 /dev/mapper/ms37 2.0G 437M 1.6G 22% /mnt/ms37 /dev/mapper/ms38 2.0G 437M 1.6G 22% /mnt/ms38 /dev/mapper/ms39 2.0G 437M 1.6G 22% /mnt/ms39 /dev/mapper/ms40 2.0G 437M 1.6G 22% /mnt/ms40 /dev/mapper/ms41 2.0G 494M 1.6G 25% /mnt/ms41 /dev/mapper/ms42 2.0G 494M 1.6G 25% /mnt/ms42 /dev/mapper/ms43 2.0G 494M 1.6G 25% /mnt/ms43 /dev/mapper/ms44 2.0G 547M 1.5G 27% /mnt/ms44 /dev/mapper/ms45 2.0G 547M 1.5G 27% /mnt/ms45 /dev/mapper/ms46 2.0G 547M 1.5G 27% /mnt/ms46 /dev/mapper/ms47 2.0G 596M 1.5G 30% /mnt/ms47 /dev/mapper/ms48 2.0G 596M 1.5G 30% /mnt/ms48 /dev/mapper/ms49 2.0G 596M 1.5G 30% /mnt/ms49 /dev/mapper/ms50 2.0G 596M 1.5G 30% /mnt/ms50 /dev/mapper/ms51 2.0G 644M 1.4G 32% /mnt/ms51 /dev/mapper/ms52 2.0G 644M 1.4G 32% /mnt/ms52 /dev/mapper/ms53 2.0G 644M 1.4G 32% /mnt/ms53 /dev/mapper/ms54 2.0G 644M 1.4G 32% /mnt/ms54 /dev/mapper/ms55 2.0G 698M 1.4G 35% /mnt/ms55 /dev/mapper/ms56 2.0G 698M 1.4G 35% /mnt/ms56 /dev/mapper/ms57 2.0G 698M 1.4G 35% /mnt/ms57 /dev/mapper/ms58 2.0G 753M 1.3G 37% /mnt/ms58 /dev/mapper/ms59 2.0G 753M 1.3G 37% /mnt/ms59 /dev/mapper/ms60 2.0G 753M 1.3G 37% /mnt/ms60 /dev/mapper/ms61 2.0G 804M 1.3G 40% /mnt/ms61 /dev/mapper/ms62 2.0G 804M 1.3G 40% /mnt/ms62 /dev/mapper/ms63 2.0G 804M 1.3G 40% /mnt/ms63 /dev/mapper/ms64 2.0G 850M 1.2G 42% /mnt/ms64 /dev/mapper/ms65 2.0G 850M 1.2G 42% /mnt/ms65 /dev/mapper/ms66 2.0G 850M 1.2G 42% /mnt/ms66 /dev/mapper/ms67 2.0G 887M 1.2G 44% /mnt/ms67 /dev/mapper/ms68 2.0G 887M 1.2G 44% /mnt/ms68 /dev/mapper/ms69 2.0G 887M 1.2G 44% /mnt/ms69 /dev/mapper/ms70 2.0G 939M 1.1G 47% /mnt/ms70 /dev/mapper/ms71 2.0G 939M 1.1G 47% /mnt/ms71 /dev/mapper/ms72 2.0G 939M 1.1G 47% /mnt/ms72 /dev/mapper/ms73 2.0G 983M 1.1G 49% /mnt/ms73 /dev/mapper/ms74 2.0G 983M 1.1G 49% /mnt/ms74 /dev/mapper/ms75 2.0G 983M 1.1G 49% /mnt/ms75 /dev/mapper/ms76 2.0G 1.0G 1015M 51% /mnt/ms76 /dev/mapper/ms77 2.0G 1.0G 1015M 51% /mnt/ms77 /dev/mapper/ms78 2.0G 1.0G 1015M 51% /mnt/ms78 /dev/mapper/ms79 2.0G 1.1G 970M 53% /mnt/ms79 /dev/mapper/ms80 2.0G 1.1G 970M 53% /mnt/ms80 /dev/mapper/ms81 2.0G 1.1G 970M 53% /mnt/ms81 /dev/mapper/ms82 2.0G 1.1G 933M 55% /mnt/ms82 /dev/mapper/ms83 2.0G 1.1G 933M 55% /mnt/ms83 /dev/mapper/ms84 2.0G 1.1G 933M 55% /mnt/ms84 /dev/mapper/ms85 2.0G 1.2G 890M 57% /mnt/ms85 /dev/mapper/ms86 2.0G 1.2G 890M 57% /mnt/ms86 /dev/mapper/ms87 2.0G 1.2G 890M 57% /mnt/ms87 /dev/mapper/ms88 2.0G 1.2G 846M 59% /mnt/ms88 /dev/mapper/ms89 2.0G 1.2G 846M 59% /mnt/ms89 /dev/mapper/ms90 2.0G 1.2G 846M 59% /mnt/ms90 /dev/mapper/ms91 2.0G 1.3G 809M 61% /mnt/ms91 /dev/mapper/ms92 2.0G 1.3G 809M 61% /mnt/ms92 /dev/mapper/ms93 2.0G 1.3G 763M 63% /mnt/ms93 /dev/mapper/ms94 2.0G 1.3G 763M 63% /mnt/ms94 /dev/mapper/ms95 2.0G 1.3G 763M 63% /mnt/ms95 /dev/mapper/ms96 2.0G 1.3G 730M 65% /mnt/ms96#dmsetup status
ms28: 0 4194304 multisnap-snap
ms13: 0 4194304 multisnap-snap
ms45: 0 4194304 multisnap-snap
ms30: 0 4194304 multisnap-snap
ms77: 0 4194304 multisnap-snap
ms62: 0 4194304 multisnap-snap
ms94: 0 4194304 multisnap-snap
ms3: 0 4194304 multisnap-snap
ms27: 0 4194304 multisnap-snap
ms12: 0 4194304 multisnap-snap
ms59: 0 4194304 multisnap-snap
ms44: 0 4194304 multisnap-snap
ms76: 0 4194304 multisnap-snap
ms61: 0 4194304 multisnap-snap
ms93: 0 4194304 multisnap-snap
ms2: 0 4194304 multisnap-snap
ms26: 0 4194304 multisnap-snap
ms11: 0 4194304 multisnap-snap
ms58: 0 4194304 multisnap-snap
ms43: 0 4194304 multisnap-snap
ms75: 0 4194304 multisnap-snap
ms60: 0 4194304 multisnap-snap
ms92: 0 4194304 multisnap-snap
ms1: 0 4194304 multisnap-snap
LD-snap: 0 4194304 linear
ms25: 0 4194304 multisnap-snap
ms10: 0 4194304 multisnap-snap
ms57: 0 4194304 multisnap-snap
ms42: 0 4194304 multisnap-snap
ms89: 0 4194304 multisnap-snap
ms74: 0 4194304 multisnap-snap
ms91: 0 4194304 multisnap-snap
ms0: 0 4194304 multisnap-snap
ms39: 0 4194304 multisnap-snap abnormally.
ms24: 0 4194304 multisnap-snap
ms56: 0 4194304 multisnap-snap
ms41: 0 4194304 multisnap-snap
ms88: 0 4194304 multisnap-snap
ms73: 0 4194304 multisnap-snap
ms90: 0 4194304 multisnap-snap
LD-ori: 0 4194304 linear
ms38: 0 4194304 multisnap-snap
ms23: 0 4194304 multisnap-snap
ms55: 0 4194304 multisnap-snap
ms40: 0 4194304 multisnap-snap
ms87: 0 4194304 multisnap-snap
ms72: 0 4194304 multisnap-snap
ms37: 0 4194304 multisnap-snap
ms22: 0 4194304 multisnap-snap
ms69: 0 4194304 multisnap-snap
ms54: 0 4194304 multisnap-snap
ms86: 0 4194304 multisnap-snap
ms71: 0 4194304 multisnap-snap
ms19: 0 4194304 multisnap-snap
ms36: 0 4194304 multisnap-snap
ms21: 0 4194304 multisnap-snap
ms68: 0 4194304 multisnap-snap
ms53: 0 4194304 multisnap-snap
ms85: 0 4194304 multisnap-snap
ms70: 0 4194304 multisnap-snap
ms9: 0 4194304 multisnap-snap
ms: 0 4194304 multisnapshot 28 103 524288 524281 46399 104 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
ms18: 0 4194304 multisnap-snap
ms35: 0 4194304 multisnap-snap
ms20: 0 4194304 multisnap-snap
ms67: 0 4194304 multisnap-snap
ms52: 0 4194304 multisnap-snap
ms99: 0 4194304 multisnap-snap
ms84: 0 4194304 multisnap-snap
ms8: 0 4194304 multisnap-snap
ms17: 0 4194304 multisnap-snap
ms49: 0 4194304 multisnap-snap
ms34: 0 4194304 multisnap-snap
ms66: 0 4194304 multisnap-snap
ms51: 0 4194304 multisnap-snap
ms98: 0 4194304 multisnap-snap
ms83: 0 4194304 multisnap-snap
ms7: 0 4194304 multisnap-snap
ms16: 0 4194304 multisnap-snap
ms48: 0 4194304 multisnap-snap
ms33: 0 4194304 multisnap-snap
ms65: 0 4194304 multisnap-snap
ms50: 0 4194304 multisnap-snap
ms97: 0 4194304 multisnap-snap
ms82: 0 4194304 multisnap-snap
ms6: 0 4194304 multisnap-snap
ms15: 0 4194304 multisnap-snap
ms47: 0 4194304 multisnap-snap
ms32: 0 4194304 multisnap-snap
ms79: 0 4194304 multisnap-snap
ms64: 0 4194304 multisnap-snap
ms96: 0 4194304 multisnap-snap
ms81: 0 4194304 multisnap-snap
ms5: 0 4194304 multisnap-snap
ms29: 0 4194304 multisnap-snap
ms14: 0 4194304 multisnap-snap
ms46: 0 4194304 multisnap-snap
ms31: 0 4194304 multisnap-snap
ms78: 0 4194304 multisnap-snap
ms63: 0 4194304 multisnap-snap
ms95: 0 4194304 multisnap-snap
ms80: 0 4194304 multisnap-snap
ms4: 0 4194304 multisnap-snap#cat
multisnap.sh
#!/bin/sh
help ()
{
echo "$0 CMD OPT"
echo "CMD = INIT | SNAP"
echo "OPT =ORI_PATH,SNAP_PATH,CHUNK_SIZE, NAME |ORI_PATH, NAME,SNAP_NUM"
}[ $# -lt 2 ] && help && exit
CMD=$1
if [ $CMD = INIT ]; then
ORI=$2
SNAP=$3
CHUNK=$4
NAME=$5dd if=/dev/zero of=$SNAP bs=$CHUNK count=1
sync
echo 0blockdev --getsize $ORImultisnapshot $ORI $SNAP $CHUNK|dmsetup
create $NAME
mkfs.xfs -f/dev/mapper/$NAME
mkdir -p/mnt/$NAME
mount/dev/mapper/$NAME/mnt/$NAMEelif [ $CMD = SNAP ]; then
ORI=$2
NAME=$3
CNT=$4
SNAME=$NAME$CNTdmsetup message
/dev/mapper/$NAME$CNT create
echo 0blockdev --getsize $ORImultisnap-snap $ORI $CNT |dmsetup create
$SNAME
mkdir -p/mnt/$SNAME
mount -o nouuid,ro,norecovery/dev/mapper/$SNAME/mnt/$SNAME
else
help
fi#cat
snap_c.sh
#!/bin/sh
CNT=0while [ $CNT != 100 ]
do
cp -a /etc/mnt/ms/etc$CNT
./multisnap.sh SNAP/dev/mapper/LD-orims $CNT
CNT=$[ $CNT + 1 ]
echo "date$CNT created"
done#sh
snap_c.sh
Wed Nov 26 21:57:38 KST 2008 1 created
Wed Nov 26 21:57:38 KST 2008 2 created
Wed Nov 26 21:57:40 KST 2008 3 created
Wed Nov 26 21:57:43 KST 2008 4 created
Wed Nov 26 21:57:44 KST 2008 5 created
Wed Nov 26 21:57:45 KST 2008 6 created
Wed Nov 26 21:57:47 KST 2008 7 created
Wed Nov 26 21:57:48 KST 2008 8 created
Wed Nov 26 21:57:50 KST 2008 9 created
Wed Nov 26 21:57:51 KST 2008 10 created
Wed Nov 26 21:57:52 KST 2008 11 created
Wed Nov 26 21:57:54 KST 2008 12 created
Wed Nov 26 21:57:55 KST 2008 13 created
Wed Nov 26 21:57:55 KST 2008 14 created
Wed Nov 26 21:57:57 KST 2008 15 created
Wed Nov 26 21:57:58 KST 2008 16 created
Wed Nov 26 21:58:00 KST 2008 17 created
Wed Nov 26 21:58:01 KST 2008 18 created
Wed Nov 26 21:58:01 KST 2008 19 created
Wed Nov 26 21:58:03 KST 2008 20 created
Wed Nov 26 21:58:04 KST 2008 21 created
Wed Nov 26 21:58:05 KST 2008 22 created
Wed Nov 26 21:58:06 KST 2008 23 created
Wed Nov 26 21:58:08 KST 2008 24 created
Wed Nov 26 21:58:10 KST 2008 25 created
Wed Nov 26 21:58:10 KST 2008 26 created
Wed Nov 26 21:58:13 KST 2008 27 created
Wed Nov 26 21:58:13 KST 2008 28 created
Wed Nov 26 21:58:15 KST 2008 29 created
Wed Nov 26 21:58:17 KST 2008 30 created
Wed Nov 26 21:58:18 KST 2008 31 created
Wed Nov 26 21:58:19 KST 2008 32 created
Wed Nov 26 21:58:21 KST 2008 33 created
Wed Nov 26 21:58:22 KST 2008 34 created
Wed Nov 26 21:58:23 KST 2008 35 created
Wed Nov 26 21:58:25 KST 2008 36 created
Wed Nov 26 21:58:26 KST 2008 37 created
Wed Nov 26 21:58:28 KST 2008 38 created
Wed Nov 26 21:58:30 KST 2008 39 created
Wed Nov 26 21:58:31 KST 2008 40 created
Wed Nov 26 21:58:33 KST 2008 41 created
Wed Nov 26 21:58:34 KST 2008 42 created
Wed Nov 26 21:58:36 KST 2008 43 created
Wed Nov 26 21:58:37 KST 2008 44 created
Wed Nov 26 21:58:38 KST 2008 45 created
Wed Nov 26 21:58:40 KST 2008 46 created
Wed Nov 26 21:58:42 KST 2008 47 created
Wed Nov 26 21:58:42 KST 2008 48 created
Wed Nov 26 21:58:44 KST 2008 49 created
Wed Nov 26 21:58:45 KST 2008 50 created
Wed Nov 26 21:58:47 KST 2008 51 created
Wed Nov 26 21:58:48 KST 2008 52 created
Wed Nov 26 21:58:50 KST 2008 53 created
Wed Nov 26 21:58:51 KST 2008 54 created
Wed Nov 26 21:58:54 KST 2008 55 created
Wed Nov 26 21:58:54 KST 2008 56 created
Wed Nov 26 21:58:57 KST 2008 57 created
Wed Nov 26 21:58:58 KST 2008 58 created
Wed Nov 26 21:58:59 KST 2008 59 created
Wed Nov 26 21:59:02 KST 2008 60 created
Wed Nov 26 21:59:04 KST 2008 61 created
Wed Nov 26 21:59:05 KST 2008 62 created
Wed Nov 26 21:59:07 KST 2008 63 created
Wed Nov 26 21:59:09 KST 2008 64 created
Wed Nov 26 21:59:10 KST 2008 65 created
Wed Nov 26 21:59:12 KST 2008 66 created
Wed Nov 26 21:59:14 KST 2008 67 created
Wed Nov 26 21:59:15 KST 2008 68 created
Wed Nov 26 21:59:17 KST 2008 69 created
Wed Nov 26 21:59:19 KST 2008 70 created
Wed Nov 26 21:59:22 KST 2008 71 created
Wed Nov 26 21:59:23 KST 2008 72 created
Wed Nov 26 21:59:25 KST 2008 73 created
Wed Nov 26 21:59:26 KST 2008 74 created
Wed Nov 26 21:59:28 KST 2008 75 created
Wed Nov 26 21:59:30 KST 2008 76 created
Wed Nov 26 21:59:32 KST 2008 77 created
Wed Nov 26 21:59:34 KST 2008 78 created
Wed Nov 26 21:59:36 KST 2008 79 created
Wed Nov 26 21:59:37 KST 2008 80 created
Wed Nov 26 21:59:40 KST 2008 81 created
Wed Nov 26 21:59:42 KST 2008 82 created
Wed Nov 26 21:59:43 KST 2008 83 created
Wed Nov 26 21:59:46 KST 2008 84 created
Wed Nov 26 21:59:48 KST 2008 85 created
Wed Nov 26 21:59:49 KST 2008 86 created
Wed Nov 26 21:59:51 KST 2008 87 created
Wed Nov 26 21:59:52 KST 2008 88 created
Wed Nov 26 21:59:55 KST 2008 89 created
Wed Nov 26 21:59:57 KST 2008 90 created
Wed Nov 26 21:59:58 KST 2008 91 created
Wed Nov 26 22:00:01 KST 2008 92 created
Wed Nov 26 22:00:04 KST 2008 93 created
Wed Nov 26 22:00:04 KST 2008 94 created
Wed Nov 26 22:00:07 KST 2008 95 created
Wed Nov 26 22:00:09 KST 2008 96 created
Wed Nov 26 22:00:10 KST 2008 97 created
cp: cannot create directory `/mnt/ms/etc97/doc': Input/output error
cp: cannot create directory `/mnt/ms/etc97/cron.weekly': Input/output error
cp: cannot create directory `/mnt/ms/etc97/snmp': Input/output error
cp: cannot create directory `/mnt/ms/etc97/logrotate.d': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/pwdb.conf': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/rsyncd.conf': Input/output error <...snip...>
cp: cannot create regular file `/mnt/ms/etc97/passwd': Input/output error
cp: cannot create symbolic link `/mnt/ms/etc97/my.cnf': Input/output error
cp: cannot create directory `/mnt/ms/etc97/ssl': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/ftpusers': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/mtab': Input/output error
cp: cannot create directory `/mnt/ms/etc97/security': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/slp.reg': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/group-': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/blkid.tab': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/.pwd.lock': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/blkid.tab.old': Input/output error
cp: cannot create regular file `/mnt/ms/etc97/passwd.bak': Input/output error
cp: preserving times for `/mnt/ms/etc97': Input/output error
device-mapper: message ioctl failed: No space left on device Command failed
mount: you must specify the filesystem type
Wed Nov 26 22:00:11 KST 2008 98 created
cp: accessing `/mnt/ms/etc98': Input/output error
device-mapper: message ioctl failed: No space left on device Command failed
mount: you must specify the filesystem type
Wed Nov 26 22:00:11 KST 2008 99 created
cp: accessing `/mnt/ms/etc99': Input/output error
device-mapper: message ioctl failed: No space left on device Command failed
mount: you must specify the filesystem type
Wed Nov 26 22:00:11 KST 2008 100 createdQuoted 15 lines · Mikulas Patocka
Hi
I fixed the ext2 bug (it was unsupported handling of buffer readahead) --- download the new version of patches from the same location.
I couldn't reproduce the XFS bug. Please retry. Are you sure that you didn't try to mount the _snapshot_ as XFS? Snapshots are currently not writeable (they will be writeable in the final version), so attempting to mount the snapshot read/write would return i/o error to the filesystem and produce an error message similar to the one displayed.
Thanks for testing it.
Mikulas