LVM query

Discussion in 'Installation/Configuration' started by adm-computers, Jun 19, 2008.

  1. adm-computers

    adm-computers New Member

  2. falko

    falko Super Moderator Howtoforge Staff

    How did you partition the new drive? One big partition, or multiple smaller ones?
     
  3. adm-computers

    adm-computers New Member

    When I setup the server I used two hard drives and allowed it to auto configure the partitions so I'd imagaine it did 2 partitions - 1 large 1 small!!

    I just want to try out LVM so it's on a VM so I can rebuild it if need be

    I partition the new drive with one large partition
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You can check that with
    Code:
    fdisk -l
     
  5. adm-computers

    adm-computers New Member

    Hi Falko,

    Been a bit busy at the mo but here is the output of fdisk -l

    Code:
    fdisk -l
    
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          13      104391   83  Linux
    /dev/sda2              14       19457   156183930   8e  Linux LVM
    
    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1       19457   156288321   8e  Linux LVM
    I've removed the third drive at the mo and am gonna add it again
     
    Last edited: Jun 24, 2008
  6. falko

    falko Super Moderator Howtoforge Staff

    Is /dev/sdb the drive that you added?
     

Share This Page