How to Access a Second Hard Drive and the LVM partition

Discussion in 'Installation/Configuration' started by matt_thumper, May 8, 2010.

  1. matt_thumper

    matt_thumper New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

Share This Page