From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5N6sNPq006444 for ; Fri, 23 Jun 2006 02:54:23 -0400 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id k5N6sGTw010232 for ; Fri, 23 Jun 2006 02:54:16 -0400 Received: by nf-out-0910.google.com with SMTP id h2so7431nfe for ; Thu, 22 Jun 2006 23:54:16 -0700 (PDT) Message-ID: <9fcb471e0606222354i6460bd02jf75fac7caebb3f2b@mail.gmail.com> Date: Fri, 23 Jun 2006 02:54:15 -0400 From: "Argus Array" In-Reply-To: <9fcb471e0606222346yf25f198ve73e877d24db257c@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19959_18881252.1151045655982" References: <9fcb471e0606222346yf25f198ve73e877d24db257c@mail.gmail.com> Subject: [linux-lvm] Re: newbie problem with LVM 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: To: linux-lvm@redhat.com ------=_Part_19959_18881252.1151045655982 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Terribly sorry for the double post to the mailing list, accidentally hit the google shortcut. I have been using LVM for several months to record video files for my PVR across a 200GB and 160GB disk (hdb and hdc). Recently I decided to upgrade my FC3 install to FC5. After the install, my LVM mount does not come up. It appeared that all of the LVM information in /dev/ was gone; however, only the non-LVM drive (/dev/hda) should have been touched by the FC5 upgrade. This is my fstab entry: /dev/VGforMythTV/video /var/media xfs defaults 1 1 This is what fdisk shows: /dev/hdb1 1 24792 199141708+ 8e Linux LVM /dev/hdc1 1 19929 160079661 8e Linux LVM In my attempt to fix this, I think I may have totally fouled things up; I tried to create a new volume group with the same name and more PVs for the new drives, then combine them together into an PV with the old LV name. However, this still does not allow it to mount. Any ideas? Have I deleted all my data? Thanks for any help, Argus I've pasted my history commands below. 548 more /etc/fstab 549 vgcreate VGforMythTV -s 64m /dev/hda1 550 /usr/sbin/vgcreate VGforMythTV -s 64m /dev/hda1 551* 552 /usr/sbin/pvcreate /dev/hdb1 553 /usr/sbin/pvcreate /dev/hdc1 554 /usr/sbin/vgcreate VGforMythTV /dev/hdb1 /dev/hdc1 555 mount /dev/VGforMythTV /var/media 556 mount /dev/VGforMythTV/video /var/media 557 mount /dev/VGforMythTV/media /var/media 558 lvcreate --name video VGforMythTV 559 /usr/sbin/lvcreate --name video VGforMythTV 560 /usr/sbin/lvcreate --name video -l VGforMythTV 561 /usr/sbin/lvcreate --name video -l ` VGforMythTV 562 /usr/sbin/lvcreate --name video -l 1 VGforMythTV 563 mount /dev/VGforMythTV/media /var/media 564 mount /dev/VGforMythTV/video /var/media 565 mount -t xfs /dev/VGforMythTV/video /var/media 566 mount /dev/VGforMythTV/video /var/media 567 /usr/sbin/lvcreate --name video -l 2 VGforMythTV 568 ls 569 /usr/sbin/pvdisplay 570 /usr/sbin/lvmdiskscan 571 mount /dev/VGforMythTV /var/media/ 572 mount /dev/VGforMythTV/video /var/media/ 573 mount /dev/VGforMythTV/media /var/media/ 574 mount /dev/VGforMythTV/video /var/media/ 575 /sbin/fdisk /dev/hdb 576 /sbin/fdisk /dev/hdc 577 /usr/sbin/vgextend 578 more /etc/fstab 579 /usr/sbin/vgextend VGforMythTV /dev/hdb1 580 /usr/sbin/vgextend VGforMythTV /dev/hdb ------=_Part_19959_18881252.1151045655982 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Terribly sorry for the double post to the mailing list, accidentally hit the google shortcut.

I have been using LVM for several months to record video files for my PVR across a 200GB and 160GB disk (hdb and hdc).

Recently I decided to upgrade my FC3 install to FC5.  After the install, my LVM mount does not come up.  It appeared that all of the LVM information in /dev/ was gone; however, only the non-LVM drive (/dev/hda) should have been touched by the FC5 upgrade.

This is my fstab entry:
/dev/VGforMythTV/video  /var/media              xfs     defaults        1 1

This is what fdisk shows:
/dev/hdb1               1       24792   199141708+  8e  Linux LVM

/dev/hdc1               1       19929   160079661   8e  Linux LVM

In my attempt to fix this, I think I may have totally fouled things up; I tried to create a new volume group with the same name and more PVs for the new drives, then combine them together into an PV with the old LV name.  However, this still does not allow it to mount. 

Any ideas?  Have I deleted all my data?

Thanks for any help,

Argus

I've pasted my history commands below.

  548  more /etc/fstab
  549  vgcreate VGforMythTV -s 64m /dev/hda1
  550  /usr/sbin/vgcreate VGforMythTV -s 64m /dev/hda1
  551*
  552  /usr/sbin/pvcreate /dev/hdb1
  553  /usr/sbin/pvcreate /dev/hdc1
  554  /usr/sbin/vgcreate VGforMythTV /dev/hdb1 /dev/hdc1
  555  mount /dev/VGforMythTV /var/media
  556  mount /dev/VGforMythTV/video /var/media
  557  mount /dev/VGforMythTV/media /var/media
  558  lvcreate --name video VGforMythTV
  559  /usr/sbin/lvcreate --name video VGforMythTV
  560  /usr/sbin/lvcreate --name video -l VGforMythTV
  561  /usr/sbin/lvcreate --name video -l ` VGforMythTV
  562  /usr/sbin/lvcreate --name video -l 1 VGforMythTV
  563  mount /dev/VGforMythTV/media /var/media
  564  mount /dev/VGforMythTV/video /var/media
  565  mount -t xfs /dev/VGforMythTV/video /var/media
  566  mount /dev/VGforMythTV/video /var/media
  567  /usr/sbin/lvcreate --name video -l 2 VGforMythTV
  568  ls
  569  /usr/sbin/pvdisplay
  570  /usr/sbin/lvmdiskscan
  571  mount /dev/VGforMythTV /var/media/
  572  mount /dev/VGforMythTV/video /var/media/
  573  mount /dev/VGforMythTV/media /var/media/
  574  mount /dev/VGforMythTV/video /var/media/
  575  /sbin/fdisk /dev/hdb
  576  /sbin/fdisk /dev/hdc
  577  /usr/sbin/vgextend
  578  more /etc/fstab
  579  /usr/sbin/vgextend VGforMythTV /dev/hdb1
  580  /usr/sbin/vgextend VGforMythTV /dev/hdb

------=_Part_19959_18881252.1151045655982--