can data be found after cleaning the first sector by mistake? (tears in my eyes)
I have 2 disk sda and sdb, build a md0 on them, and create vg and lv on top of md0.
when i upgraded my system from fedora 2 to 3, it reported my sda and sdb contain uninitialized partition table and need to clean. i mad a stupid error by pressing yes!
now no matter what command i execute, it reports.
[root@localhost ~]# lvscan
Logical volume (vol1) contains an incomplete mapping table. Volume group "datavg" not found
[root@localhost ~]# pvscan -P
Partial mode. Incomplete volume groups will be activated read-only. Logical volume (vol1) contains an incomplete mapping table. No matching physical volumes found
[root@localhost ~]# vgmknodes
Logical volume (vol1) contains an incomplete mapping table. Volume group "datavg" not found
i wonder if there is any way to get my personal data back. thanks so much if anybody can give a hint!
these are my system information
[root@localhost ~]# fdisk /dev/sda -l
Disk /dev/sda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
[root@localhost ~]# fdisk /dev/sdb -l
Disk /dev/sdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
[root@localhost ~]# more /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda[0] sdb[1]
160836416 blocks [2/2] [UU]
unused devices: <none>
forgot to mention that
[root@localhost ~]# pvcreate -t /dev/md0
Test mode: Metadata will NOT be updated.
Can't initialize physical volume "/dev/md0" of volume group "datavg"
without -ff
so it looks like it can tell /dev/md0 is a pv belongs to vg datavg, but some data are missed.
ming
Quoted 56 lines · Ming Zhang
I have 2 disk sda and sdb, build a md0 on them, and create vg and lv on top of md0.
when i upgraded my system from fedora 2 to 3, it reported my sda and sdb contain uninitialized partition table and need to clean. i mad a stupid error by pressing yes!
now no matter what command i execute, it reports.
[root@localhost ~]# lvscan
Logical volume (vol1) contains an incomplete mapping table. Volume group "datavg" not found
[root@localhost ~]# pvscan -P
Partial mode. Incomplete volume groups will be activated read-only. Logical volume (vol1) contains an incomplete mapping table. No matching physical volumes found
[root@localhost ~]# vgmknodes
Logical volume (vol1) contains an incomplete mapping table. Volume group "datavg" not foundi wonder if there is any way to get my personal data back. thanks so much if anybody can give a hint!
these are my system information
[root@localhost ~]# fdisk
/dev/sda-lDisk
/dev/sda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDevice Boot Start End Blocks Id System
[root@localhost ~]# fdisk
/dev/sdb-lDisk
/dev/sdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDevice Boot Start End Blocks Id System
[root@localhost ~]# more
/proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda[0] sdb[1]160836416 blocks [2/2] [UU]unused devices: <none>
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/