I don't know much about lvm and I've managed to screw up a drive.
I had a 500GB drive with FC14 on it and I wanted to copy over a load of data to my new 1TB that was replacing it.
I set up my new install the same way as the old...including the same volume names (error number 1 I think)
I successfully mounted the old/500GB drive (using vgscan and vgchange -a y etc.) using a laptop (running FC13) and an external hdd cradle. I could access the files I wanted but this wasn't the machine I wanted to copy them to (I was doing this while waiting for the install to finish on the new drive).
When I tried the same process on the new install I found that having two lvm with the same name meant I couldn't mount the external one. So I opened the disk utility (palimsest) and was going to change the name of the old volume group but it wouldn't let me do that. I then thought maybe I could get away with just changing the name of the partition where the files were and maybe I could add it to the mounted group or something (remember I don't really know what I'm doing...lol) so I changed it to lv_home2.
This changed the name of my new/1TB lv_home to lv_home2 as well. So thinking that wasn't the answer I just changed the name of the new lv_home2 back to lv_home.
From that point on I haven't been able to see the old drives partitions (the new volume group still works so far). I has a physical volume but the volume group and volume names are gone from view.
When I try to vgscan on my main computer or the laptop I had it working on earlier I get:
Code:
Reading all physical volumes. This may take a while...
/dev/dm-2: read failed after 0 of 4096 at 53687025664: Input/output error
/dev/dm-2: read failed after 0 of 4096 at 53687083008: Input/output error
/dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-2: read failed after 0 of 4096 at 4096: Input/output error
/dev/dm-3: read failed after 0 of 4096 at 439562993664: Input/output error
/dev/dm-3: read failed after 0 of 4096 at 439563051008: Input/output error
/dev/dm-3: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-3: read failed after 0 of 4096 at 4096: Input/output error
/dev/dm-4: read failed after 0 of 4096 at 6308167680: Input/output error
/dev/dm-4: read failed after 0 of 4096 at 6308225024: Input/output error
/dev/dm-4: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-4: read failed after 0 of 4096 at 4096: Input/output error
When I try to mount the volumes on the laptop the way I had done so before I get:
Code:
Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/dm-3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I seem to have done something heinous to my old drive that's full of the data I haven't copied across yet
Does anyone know what I have done and how I may undo it if possible?
p.s. the old drive that's not mountable has the type Linux LVM(0x8e) if that helps?