Re: Help: lost LVM logical volumes on old disk after FC4 install



Kevin Flynn wrote:

I'm seeking advice on how to recover old logical volumes that I stupidly lost after a FC4 install as follows:


Initial conditions
----------------------
- Had old computer running FC4
- Old computer had one disk with two partitions: /boot and an LVM2 PV.
- The PV belonged to volume group VolGroup00, and had three logical volumes:
LogVol00 (root), LogVol01 (swap), LogVol02 (home)
(and this PV was the only PV in the group).


Then I went and did this
--------------------------------
- Got new computer (with new disk)
- Installed old disk in new computer, thinking I'll have easy access to my old data
- Performed custom install of FC4 on new computer
- During installer's manual partitioning phase, I defined a logical volume group
on the *new* disk called VolGroup00, with three logical volumes:
LogVol00 (root), LogVol01 (swap), LogVol02 (home)
- I then noticed that the installer had properly found my *old* disk and the *old*
PV. But the old PV was not associated to any LVM volume group
(unlike those on the *new* disk, which were shown as belonging to VolGroup00).
- Then I did something like: clicked "LVM", and created VolGroup01, which
then appeared (in the partitioner GUI listing) next to the PV on my old disk.
I thought: "OK, so my new FC installation will go on the new disk in
VolGroup00, and my old data will still be on the old disk in VolGroup01"
(I was careful to *not* check the "format" box).
- I then finished the FC4 installation


Now I can only find logical volumes on my new disk. My logical volumes on the old
disk seem to have disappeared!


Running vgscan and lvscan:
- on *new* disk: finds all LVs properly
- on *old* disk: finds only volume group VolGroup01, but no logical volumes!


Running vgchange -ay doesn't yield anything different.

What's the output of "vgdisplay -v"?

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: [opensuse] complex confusing partition problem
    ... Another install you forgot about, ... only one 10.2 was installed on hdb. ... the hdb disk and renamed it sdc. ... One thing that helps is to have all partitions "labeled". ...
    (SuSE)
  • Re: [opensuse] complex confusing partition problem
    ... copy over some of my stuff from the 10.2 install. ... disk and renamed it sdc. ... Some of your old partitions have labels, but not the new ones in the new disk. ... I renamed the good 10.2 to plain "SUSE" for clarity ...
    (SuSE)
  • Re: NT and disk hardware configuration problem
    ... I then installed Windows NT 4.0 Workstation. ... Cound not read from the selected boot disk. ... operating systems in later partitions. ... I intend to install OS/2 after Windows NT and Windows ...
    (comp.sys.ibm.ps2.hardware)
  • Im confused...
    ... Is the installer for freeBSD 4.5 broken? ... planned to do is simply to install it on another disk that I have ... In the middle of the screen was a list of partitions for da0 ...
    (freebsd-questions)
  • Re: Migrating to a new disk
    ... in many ways I haven't been completely honest about my disk config. ... I have the boot sector installed on the /boot linux partition. ... Because I install all manner of apps I chew through 3GB pretty quick and can't be bothered with the partition headaches that can cause, ... You can copy entire partitions in various ways. ...
    (Fedora)