Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th May 2010, 11:27
matt_thumper matt_thumper is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Question 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
Reply With Quote
Sponsored Links
  #2  
Old 9th May 2010, 16:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
 
Default

This guide might help you: http://www.howtoforge.com/linux_lvm
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:45.


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