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 j831jCV11533 for ; Fri, 2 Sep 2005 21:45:12 -0400 Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j831j9Na019009 for ; Fri, 2 Sep 2005 21:45:09 -0400 Received: from [192.168.0.20] (unknown [81.56.186.147]) by postfix4-1.free.fr (Postfix) with ESMTP id 1858229FA4A for ; Sat, 3 Sep 2005 03:45:08 +0200 (CEST) Subject: Re: [linux-lvm] Big problem with my LVM From: e-Jah In-Reply-To: <1125705280.10227.6.camel@localhost.localdomain> References: <1125705280.10227.6.camel@localhost.localdomain> Date: Sat, 03 Sep 2005 03:45:08 +0200 Message-Id: <1125711908.10227.9.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Reply-To: 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="utf-8" To: LVM general discussion and development Le samedi 03 septembre 2005 � 01:54 +0200, e-Jah a �crit : > Hi all, > > I have a big problem with my LVM, let me explain you it: > I had a lv of a vg, this vg was composed of 2 pv and i had an > ext3 partition on this lvm. > Today i reinstalled my system on a new hard drive and i used the partman > tool of debian, it detected me the 2 disks as lvm, then i simply create > a vg with this 2 disque, and a lv with all the space. After i said: "do > nothing" to put myself the entry to mount it in fstab. > Now i can't mount it, and fdisk don't detect any partition on this drive > Testdisk found nothing too. > I have the old informations about the lvm, is it possible to come back > in the old situation with them (or have you got a better solution ) ? > > Thank you very much. > > (sorry for my english ^^) > > My actual configuration (who doesn't work): > > [root@ici]/home/ejah #pvdisplay > --- Physical volume --- > PV Name /dev/hde1 > VG Name donnees > PV Size 115,04 GB / not usable 0 > Allocatable yes (but full) > PE Size (KByte) 4096 > Total PE 29449 > Free PE 0 > Allocated PE 29449 > PV UUID it2W5v-3hKi-DKCC-2eqw-C11U-GWoY-U7pO4v > > --- Physical volume --- > PV Name /dev/hdg1 > VG Name donnees > PV Size 189,91 GB / not usable 0 > Allocatable yes (but full) > PE Size (KByte) 4096 > Total PE 48618 > Free PE 0 > Allocated PE 48618 > PV UUID 6g9FOv-qeVO-00bW-B8TV-kL3t-D2XD-M09u0H > > > [root@ici]/home/ejah # vgdisplay > --- Volume group --- > VG Name donnees > System ID > Format lvm2 > Metadata Areas 2 > Metadata Sequence No 2 > VG Access read/write > VG Status resizable > MAX LV 0 > Cur LV 1 > Open LV 0 > Max PV 0 > Cur PV 2 > Act PV 2 > VG Size 304,95 GB > PE Size 4,00 MB > Total PE 78067 > Alloc PE / Size 78067 / 304,95 GB > Free PE / Size 0 / 0 > VG UUID CgCalc-mWD8-NwYs-Y79z-1A4V-MpY6-YkXQB0 > > [root@ici]/home/ejah # lvdisplay > --- Logical volume --- > LV Name /dev/donnees/donnees > VG Name donnees > LV UUID mCFZue-m7Bf-LBju-BCjU-Xo7G-7GE7-dT2QeQ > LV Write Access read/write > LV Status available > # open 0 > LV Size 304,95 GB > Current LE 78067 > Segments 2 > Allocation inherit > Read ahead sectors 0 > Block device 254:0 > Other informations: OS: Ubuntu Hoary lvm version: 2.00.32 I have restored my old configuration with vgcfgrestore, but the is no magy in this world; my ext3 partitions didn't come back :/ Aye ideas ? thx -- Guillaume aKa e-Jah