Re: Mounting an LVM volume

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

 



Ooops, here's what I meant to post:

arrakis ~ # 
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): q

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 
  2 logical volume(s) in volume group "VolGroup00" now active
mount: special device /dev/hda3/VolGroup00/LogVol00 does not exist
       (a path prefix is not a directory)

arrakis ~ # 
arrakis ~ # date
Sun Oct  7 01:17:51 PDT 2007
arrakis ~ # 
arrakis ~ # 



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

  Powered by Linux