Re: Universal drive adapter -

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

 



On 11/12/09 07:12, Bryn M. Reeves wrote:
On 12/10/2009 09:18 PM, Bob Goodwin wrote:
Yes, I posted the question and found the response interesting and
helpful. I spent a couple of hours reading man pages and
experimenting with the lvm commands on various drives.

But I have not been able to open a volume and list the directories
and files, such as /home and /etc! I must be dense ...
You cannot directly mount an LVM2 physical volume. The idea of the volume manager is that it abstracts storage using a layered model:

Physical volumes - actual disks/storage devices
Volume groups - collections of related disks that are managed together
Logical volumes - virtual "partitions" carved out of the disks in the VG

The PV is a container for the LVs that exist in the volume group.

You need to activate any LVs that it contains using the commands in my earlier mail before you can mount them.

LVs then behave a lot like regular partitions but with more flexibility; they can be resized on the fly, mirrored, snapshotted, migrated to new storage etc all without interruption to services.

When you activate an LV or a VG you will get new entries in the /dev directory in a subdirectory named after the volume group. E.g. my VG in the examples I gave was named "system" and it contains a half-dozen or so LVs:

# ls /dev/system/
home  root  swap0  tmp  usr  var
[root@p380-1 ~]# vgs
  VG     #PV #LV #SN Attr   VSize   VFree
  system   1  11   0 wz--n- 231.66G 88.81G
[root@p380-1 ~]# lvs
  LV      VG     Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  home    system -wi-ao 100.00G
  root    system -wi-ao  21.03G
  swap0   system -wi-ao   8.00G
  tmp     system -wi-a-   1.00G
  usr     system -wi-a-   8.00G
  var     system -wi-ao   4.00G

E.g. to mount the tmp logical volume (assuming it's active and not already mounted), I would run:

mount /dev/system/tmp /tmp

Regards,
Bryn.

   I haven't given up on this, it just takes time. I've printed the
   list messages and comb-bound them in a booklet. Good reference for
   now until I understand things better.

   I was able to format an old Windows 2000 drive and create an ext4
   file to which I copied /home/bob/ from the F-12  computer and all
   that worked well.

   And I've finally managed to display the files on an old F-10 pata
   drive, that's a major accomplishment. But it seems this drive had a
   boot partition which the other one did not and it mounted easily,
   even automatically when the usb plug is inserted. That made things
   easier.

   I will eventually get all this worked out and perhaps even
   understand the process eventually.

   Thanks much for the help.

   Bob


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux