* [linux-lvm] can data be found after cleaning the first sector by mistake? (tears in my eyes)
@ 2005-01-23 22:59 Ming Zhang
2005-01-23 23:06 ` Ming Zhang
0 siblings, 1 reply; 2+ messages in thread
From: Ming Zhang @ 2005-01-23 22:59 UTC (permalink / raw)
To: LVM general discussion and development
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] can data be found after cleaning the first sector by mistake? (tears in my eyes)
2005-01-23 22:59 [linux-lvm] can data be found after cleaning the first sector by mistake? (tears in my eyes) Ming Zhang
@ 2005-01-23 23:06 ` Ming Zhang
0 siblings, 0 replies; 2+ messages in thread
From: Ming Zhang @ 2005-01-23 23:06 UTC (permalink / raw)
To: LVM general discussion and development
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
On Sun, 2005-01-23 at 17:59, Ming Zhang wrote:
> 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>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-23 23:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23 22:59 [linux-lvm] can data be found after cleaning the first sector by mistake? (tears in my eyes) Ming Zhang
2005-01-23 23:06 ` Ming Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox