From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j0NN6uO32368 for ; Sun, 23 Jan 2005 18:06:56 -0500 Received: from leviathan.ele.uri.edu (leviathan.ele.uri.edu [131.128.51.64]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j0NN6tck029200 for ; Sun, 23 Jan 2005 18:06:56 -0500 Received: from [127.0.0.1] (leviathan [131.128.51.64]) by leviathan.ele.uri.edu (8.12.9/8.12.9) with ESMTP id j0NN6lrQ009514 for ; Sun, 23 Jan 2005 18:06:48 -0500 (EST) Subject: Re: [linux-lvm] can data be found after cleaning the first sector by mistake? (tears in my eyes) From: Ming Zhang In-Reply-To: <1106521186.3130.109.camel@localhost.localdomain> References: <1106521186.3130.109.camel@localhost.localdomain> Message-Id: <1106521607.3130.111.camel@localhost.localdomain> Mime-Version: 1.0 Date: Sun, 23 Jan 2005 18:06:47 -0500 Content-Transfer-Encoding: 7bit Reply-To: mingz@ele.uri.edu, LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" 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: > > > _______________________________________________ > 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/