Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


ADD HDD Solusvm/KVM
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

ADD HDD Solusvm/KVM

hi

my slave server details :

60 GB HDD + 2*1 TB HDD
centos on SSD Drive

now i install solusvm slave on server ,but solusvm only detect 60 GB SSD and indicates that the drive is full , is it true ?

and , how can i add second HARD in my solusvm?

tnx

Comments

  • you have to mount the second and third, hard drive to the server

    http://www.cyberciti.biz/faq/linux-disk-format/

  • @dedicados said:
    you have to mount the second and third, hard drive to the server

    http://www.cyberciti.biz/faq/linux-disk-format/

    Well that and for KVM / XEN you need to make a physical volume (PV) on the new disk(s) and then add those two physical volumes to the volume group.

    One problem is you can't have multiple volume groups in solusvm. So you won't be able to choose to have some VPS on SSD and some on HDD. This is a feature that many are looking for.

  • [root@localhost /]# fdisk -l

    Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x986e0d1e

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 121601 976760001 8e Linux LVM
    Partition 1 does not start on physical sector boundary.

    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x0009ccfa

    Device Boot Start End Blocks Id System
    /dev/sda1 1 121601 976760001 8e Linux LVM
    Partition 1 does not start on physical sector boundary.

    Disk /dev/sdc: 64.0 GB, 64023257088 bytes
    255 heads, 63 sectors/track, 7783 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00083516

    Device Boot Start End Blocks Id System
    /dev/sdc1 * 1 64 512000 83 Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sdc2 64 7784 62009344 8e Linux LVM

    Disk /dev/mapper/VolGroup-lv_root: 50.2 GB, 50189041664 bytes
    255 heads, 63 sectors/track, 6101 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/VolGroup-lv_swap: 8405 MB, 8405385216 bytes
    255 heads, 63 sectors/track, 1021 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/md126: 1900.4 GB, 1900411879424 bytes
    255 heads, 63 sectors/track, 231045 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 131072 bytes / 262144 bytes
    Disk identifier: 0x0009ccfa

      Device Boot      Start         End      Blocks   Id  System
    

    /dev/md126p1 1 121601 976760001 8e Linux LVM
    Partition 1 does not start on physical sector boundary.

    Disk /dev/mapper/VolGroup-lv_home: 4898 MB, 4898947072 bytes
    255 heads, 63 sectors/track, 595 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

  • [root@localhost /]# pvcreate /dev/sda1 /dev/sdb1
    Can't open /dev/sda1 exclusively. Mounted filesystem?
    Can't open /dev/sdb1 exclusively. Mounted filesystem?

  • sam270962sam270962 Member
    edited September 2013

    [root@localhost /]# pvdisplay

    --- Physical volume ---
    PV Name /dev/sdc2
    VG Name VolGroup
    PV Size 59.14 GiB / not usable 4.00 MiB
    Allocatable yes (but full)
    PE Size 4.00 MiB
    Total PE 15138
    Free PE 0
    Allocated PE 15138
    PV UUID 3PG9sc-4bYm-DGSC-4ZKn-cxmh-mW09-q15anT

  • [root@localhost /]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup-lv_root
    47G 1.4G 43G 4% /
    tmpfs 7.8G 0 7.8G 0% /dev/shm
    /dev/sdc1 485M 41M 420M 9% /boot
    /dev/mapper/VolGroup-lv_home
    4.5G 240M 4.1G 6% /home

Sign In or Register to comment.