Find the answer to your Linux question:
Results 1 to 6 of 6
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 ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    18

    Accessing /dev/hdb 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

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Initialize volumes of hdb2 using vgachange -ay and mount those using mount command.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    18
    Quote Originally Posted by devils casper View Post
    Initialize volumes of hdb2 using vgachange -ay and mount those using mount command.
    Thanks.
    My install has no vgachange command. I did a 'find' for it as root from / and got no results.
    Any idea what's up?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which version of RedHat/Fedora are you using?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Apr 2010
    Posts
    18
    Quote Originally Posted by devils casper View Post
    Which version of RedHat/Fedora are you using?
    DC,

    Somewhere I jotted down in my notes: Red Hat 5.1.19.6

    I just bought and installed it in January.
    What command can I run (or where can I look) to find out the version?
    I looked all over the GUI/Desktop but could only find Gnome stuff.

    Thanks again,
    Matt

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Code:
    cat /etc/redhat-release
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...