Find the answer to your Linux question:
Results 1 to 4 of 4
Dear All, I tried to install CentOS 6.0 and couldn't create two logical volumes during the OS installation period. There are 4 hard drives (2*2TB, 2*3TB) in total for the ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    11

    CentOS 6.0 -- how to create two logical volumes

    Dear All,
    I tried to install CentOS 6.0 and couldn't create two logical volumes during the OS installation period. There are 4 hard drives (2*2TB, 2*3TB) in total for the server and I want to create two LV, one LV with one 2TB and the other LV with 3 HDs but couldn't find a way to do so. Eventually I installed OS with 4 stand alone physical HDs and used the commands listed below to create a logical volume which contained 3 HDs, but couldn't find the command gfs_mkfs. My questions are:
    1) Is there any gui way to do so
    2) Does the methods I used by following the link work or not, where can I find gfs_mkfs?

    thanks a lot for the help -- Annie

    pvcreate /dev/sda1 /dev/sdb1 /dev/sdc1

    vgcreate new_vol_group /dev/sda1 /dev/sdb1 /dev/sdc1

    lvcreate -L2G -n new_logical_volume new_vol_group

    gfs_mkfs -plock_nolock -j 1 /dev/new_vol_group/new_logical_volume)

  2. #2
    Just Joined!
    Join Date
    Feb 2011
    Location
    Kerala, India
    Posts
    5
    try Gui way

    "yum install system-config-lvm"

  3. #3
    Just Joined! SL6-A1000's Avatar
    Join Date
    May 2011
    Location
    Australia
    Posts
    95
    You should have been able to at install. You would have had to have made 2 physical volumes before making the 2 seperate logical volumes. Unless you wanted the logical volumes under 1 physical volume.

    Try using "the logical volume manager" it should be in your distro's repos. Its a GUI its pretty useful. Alternatively you could try GParted.

  4. #4
    Just Joined!
    Join Date
    Jan 2011
    Posts
    11
    Thank both of you for your kind reply. I am able to install gui LVM and use it now.....

Posting Permissions

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