HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   How to Access a Second Hard Drive and the LVM partition (http://www.howtoforge.com/forums/showthread.php?t=45676)

matt_thumper 8th May 2010 11:27

How to Access a Second Hard Drive and the LVM partition
 
My secondary disk drive is only 80GB but it's 80GB that I might as well use. How do I access it?

My fdisk shows:

Disk /dev/hdb: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 9726 78019672+ 8e Linux LVM

and lvdisplay shows:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID o3BqbP-2EWA-cJgx-UN1q-VD22-uBve-N2yfKe
LV Write Access read/write
LV Status available
# open 1
LV Size 369.47 GB
Current LE 11823
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID YB4OiC-IJ6D-wFSQ-9AKa-btPl-0uVd-gf653q
LV Write Access read/write
LV Status available
# open 1
LV Size 2.97 GB
Current LE 95
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

/dev/mapper/VolGroup00-LogVol00 is apparently my newer big (400GB) drive which holds my filesystem ( / and on down ) including /home because I mounted it and traversed down the directorys.

I would like to do the same for this older, small harddisk but don't know what to do with vgscan --mknodes, vgchange -ay or lvscan.

(BTW, hdb1 is where my main system boots from so I don't want to mess with that partition. Don't ask....it's ugly)

Thanks in advance for any help!
Matt

falko 9th May 2010 16:47

This guide might help you: http://www.howtoforge.com/linux_lvm


All times are GMT +2. The time now is 02:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.