Hi,<br>I tried create mirror for root fs - lvol1.<br><br>dunco:~# lvs<br>  LV    VG   Attr   LSize   Origin Snap%  Move Log Copy%<br>  lvol1 vg00 -wi-ao 200.00M<br>  lvol2 vg00 -wi-ao   1.00G<br>  lvol3 vg00 -wi-ao 644.00M
<br>  lvol4 vg00 -wi-ao 400.00M<br>  lvol5 vg00 -wi-ao 100.00M<br>  lvol6 vg00 -wi-ao   1.00G<br>  lvol7 vg00 mwi-a-  52.00M                         46.15<br>dunco:~#<br><br>I ran lvconvert -dv -m 1 --corelog /dev/vg00/lvol1 /dev/hda2
<br>    Checking for existing volume group "vg00"<br>    Archiving volume group "vg00" metadata (seqno 40).<br>    Creating logical volume lvol1_mimage_0<br>    Creating logical volume lvol1_mimage_1<br>
    Creating volume group backup "/etc/lvm/backup/vg00" (seqno 41).<br>    Found volume group "vg00"<br>    Found volume group "vg00"<br>    Creating vg00-lvol1_mimage_0<br>    Loading vg00-lvol1_mimage_0 table
<br>    Resuming  (253:7)<br>    Creating vg00-lvol1_mimage_1<br>    Loading vg00-lvol1_mimage_1 table<br>    Resuming  (253:8)<br>    Loading vg00-lvol1 table<br>    Suspending vg00-lvol1 (253:0)<br><br>And after that lvconvert hanging. I used strace and I found that command hanging on fsync
<br><br>...<br>write(2, "Suspending vg00-lvol1 (253:0)", 29Suspending vg00-lvol1 (253:0)) = 29<br>write(2, "\n", 1<br>)                       = 1<br>ioctl(3, DM_DEV_SUSPEND, 0x8116918)     = 0<br>rename("/etc/lvm/metadata/vg00.tmp", "/etc/lvm/metadata/vg00") = 0
<br>stat64("/etc/lvm/metadata/vg00.tmp", 0xbf9f8464) = -1 ENOENT (No such file or directory)<br>open("/etc/lvm/metadata", O_RDONLY|O_LARGEFILE) = 7<br>fsync(7<br><br><br>I tried to create mirror on another lvols and I can do it.
<br><br>OS : Debian etch<br><br>Disk /dev/hda: 20.0 GB, 20020396032 bytes<br>255 heads, 63 sectors/track, 2434 cylinders<br>Units = cylinders of 16065 * 512 = 8225280 bytes<br><br>   Device Boot      Start         End      Blocks   Id  System
<br>/dev/hda1               1           8       64228+  fd  Linux raid autodetect<br>/dev/hda2               9        2434    19486845   8e  Linux LVM<br><br>Disk /dev/hdc: 30.0 GB, 30020272128 bytes<br>255 heads, 63 sectors/track, 3649 cylinders
<br>Units = cylinders of 16065 * 512 = 8225280 bytes<br><br>   Device Boot      Start         End      Blocks   Id  System<br>/dev/hdc1   *           1           7       56196   fd  Linux raid autodetect<br>/dev/hdc2               8        3649    29254365   8e  Linux LVM
<br><br><br>dunco:/usr/src/LVM2.2.02.17# lvdisplay --version<br>  LVM version:     2.02.17 (2006-12-14)<br>  Library version: 1.02.13 (2006-11-28)<br>  Driver version:  4.7.0<br>dunco:/usr/src/LVM2.2.02.17#<br><br>Can you tell me where is problem?
<br>Thanks,<br>John<br>