Mounting an LVM volume

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

 



I want to mount my fedora partition from another disc, here's what I have 
so far:




arrakis ~ #
arrakis ~ # fdisk /dev/hda

The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/hda1              1        1912    15358108+  83  Linux
/dev/hda2            1913        1925      104422+  83  Linux
/dev/hda3            1926        9729    62685630  8e  Linux LVM

Command (m for help):
Command (m for help): q

arrakis ~ #
arrakis ~ #
arrakis ~ # cat lvm.txt

#load device module
modprobe dm-mod
#change the volumes that exist to active
vgchange -ay
#mount the logical partition
mkdir -p /mnt/VolGroup00/LogVol00
mount /dev/hda3/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00
arrakis ~ #
arrakis ~ # ./lvm.txt
./lvm.txt: line 5: vgchange: command not found
mount: special device /dev/hda3/VolGroup00/LogVol00 does not exist
      (a path prefix is not a directory)

arrakis ~ #
arrakis ~ # date
Sun Oct  7 00:23:55 PDT 2007
arrakis ~ #
arrakis ~ #


<http://nopaste.info/dc6c513ea0.html>




I don't understand what's wrong with the mount command.  It's pretty much 
a copy/paste from <http://www.fedoraforum.org/forum/archive/index.php/
t-64964.html>



Thanks,

Thufir

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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