Hi Suvayu I have made bad experiences with LVM toghether with ext4 and fedora 13. I got hundreds of Jul 17 15:38:05 casablanca kernel: EXT4-fs error (device dm-0): ext4_free_inode: bit already cleared for inode 136800 in the respective logs. When rebooting I also got hundreds of Jul 17 15:38:22 casablanca kernel: EXT4-fs error (device dm-0): ext4_free_inode: bit already cleared for inode 136784 Jul 17 15:38:23 casablanca kernel: EXT4-fs error (device dm-0): ext4_mb_generate_buddy: EXT4-fs: group 46: 9159 blocks in bitmap, 7910 in gd where dm-0 means the first logical volume. Since I have wiped out LVM from the disks, no problems any more. If you still want to keep LVMs, do not forget to create the virtual group(s): 1. create a physical volume with pvcreate 2. create the virtual groups in the physical volume using vgcreate 3. create an LVM on the virtual groups with lvcreate 4. make the file system into each logical volume To copy the data, you may use rsync. In case you encounter disk errors the following programs may be helpful: dd_rescue myrescue badblocks testdisk ext3grep foremost photorec good luck suomi On 2010-08-22 07:08, Suvayu Ali wrote: > Hi, > > Recently one of my hard drives developed bad sectors. I have asked for > RMA and the manufacturer has shipped the new drive. I am expecting > delivery this Monday. > > Now my question is, what would be the best way to migrate the data to > the new drive? My confusion is at 2 steps: > > 1) I have an LVM spanning the entire physical volume, created while > installing Fedora from the Live CD. So what are the proper sequence > of steps to create a new LVM on a new drive? Is the following > correct: > 1. create a physical volume with pvcreate > 2. create an LVM on that physical volume with lvcreate > > 2) After I have created the new LVM, do I just simply mount it and > copy the data off my faulty partition with something like rsync? > (my backups are couple of months old :( , so would prefer to keep the > latest data). I am asking as I am not sure how the bad sectors > might affect the copied data and the new drive. > > Thanks for any inputs. > -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines