Re: USB external Hard disk - May be LVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jim Cornette ha scritto / wrote  il / on 20/03/2005 11:13:

Antonio Montagnani wrote:

I installed FC3 (fresh install) on external USB hard disk (see different post) , now i moved the HD to another Fedora machine (that is un upgrade from FC2)

USB hard disk is immediately connected to the system but I see only a /boot(2) partition.
I suppose that other directories are LVM type.-How can I see other partitions??



Using Felipe's directions from an earlier discussion, I had to do this myself. The labels were the same, so /dev/mapper did not recognize them on startup.


Here is what I did to see the lvm volume from the other disk.

Directions from Felipe: (This works with secondary drive mounts also)

Once booted into text-mode rescue, invoke the following commands:

lvm lvscan
lvm vgchange -ay

This will scan for all LVM volumes and then will make them active and
accessible.

lvm vgchange -an

will deactivate them all.


Additional steps that I had to do; Perform the step above to activate the lvm.

Make a mounting point directory, such as /mnt/logvol
mkdir /mnt/logvol

mount the volume with your resulting device name, for me it was
mount /dev/VolGroup00/LogVol00 /mnt/logvol

Change to the /mnt/logvol directory and you should see the content of the disk there.

When done with disk, change to a different directory to allow the drive to be unmounted, then:
umount /dev/VolGroup00/LogVol00 /mnt/volg


If you have other volumes with similar names, I don't think this would work.

On my new system, I changed to using conventional partitioning. There were no duplicate lvms to deal with.
This disk was a laptop disk mounted in a USB to IDE bookdrive device. I was able to transfer desired information from the drive mounted above using this method. If you have lvm on the new installation also, you might need to use lvm help for other options.
lvm help
should list the other options.


Jim

I re-installed Fedora on ext3 partitions.
When I start the rescue mode, no linux system is found!!!! and if I connect the USB drive to another system, the hard drive is recognized and all partitions are seen.
What am I missing???


--
Antonio Montagnani


================================================================================
Mail by Mozilla Thunderbird 0.9 Websurfing by Mozilla Firefox 1.0
http://start.mozilla.org/firefox?client=firefox-a&rls=org.mozilla:it-IT:official
================================================================================
Posta con Mozilla Thunderbird 0.9 Navigazione con Mozilla Firefox 1.0
http://start.mozilla.org/firefox?client=firefox-a&rls=org.mozilla:it-IT:official
================================================================================



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux