[TANYA] Cara resize Disk Space (Upgrade/DownGrade) di KVM VPS

Discussion in 'VPS (Virtual Private Server)' started by Bestariweb Studio, 17 Jul 2015.

Thread Status:
Not open for further replies.
  1. Bestariweb Studio

    Bestariweb Studio Apprentice 1.0

    Messages:
    264
    Likes Received:
    15
    Trophy Points:
    18
    Selamat malam semua,
    Beberapa hari ini sy coba bikin KVM VPS dan sudah OK..
    Ada masalah baru lagi.. ternyata Upgrade/Downgrade di KVM tidak semudah OpenVZ terutama masalah Disk Space.
    Ada yang bisa kasih pencerahan?

    Makasih
     
  2. Afiv

    Afiv Apprentice 1.0

    Messages:
    382
    Likes Received:
    30
    Trophy Points:
    28
    Setau saya kvm emang gak bisa resize disk space, jadi kalau mau resize yang harus di install ulang dan data dipindahin dulu ketempat lain. Cmiiw
     
  3. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,232
    Likes Received:
    515
    Trophy Points:
    113
    bisa di resize
    nanti setelah di resize di save kemudian vps nya harus di power off power on via virtualizor panel bukan via teminal(power off)
     
    Afiv likes this.
  4. Bestariweb Studio

    Bestariweb Studio Apprentice 1.0

    Messages:
    264
    Likes Received:
    15
    Trophy Points:
    18
    Resize partisi dari terminal SSH Virtualizor ?
     
  5. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,232
    Likes Received:
    515
    Trophy Points:
    113
    dari virtualizor admin panel, di edit aja vps nya, edit vps , ganti size disk nya atau ganti plan nya, kemudian save, habis itu power off power on vps nya bisa dari admin panel atau login as root ke vps usernya kemudian power off power on, kita udah lebih dari 5x melakukan ini
    udah upgrade disk, upgrade ram, upgrade cpu, change plan
     
  6. Bestariweb Studio

    Bestariweb Studio Apprentice 1.0

    Messages:
    264
    Likes Received:
    15
    Trophy Points:
    18
    Saya dah coba sebelumnya.. tapi yang berubah cuma RAM, CPU, dll. Partisi/space gak berubah
     
  7. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,232
    Likes Received:
    515
    Trophy Points:
    113
    berubah mas, saya berubah kok
    saya ada update dari 80gb ke 100gb bisa
     
  8. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Saya tidak tahu Virtualizor terakhir, yang jelas bisa upgrade tapi (mungkin) tidak/belum bisa downgrade hdd size.
     
  9. Bestariweb Studio

    Bestariweb Studio Apprentice 1.0

    Messages:
    264
    Likes Received:
    15
    Trophy Points:
    18
    virtualizor terakhir ini pak @mustafaramadhan :

    Code:
    [root@server2 ~]# vgdisplay
      --- Volume group ---
      VG Name               vgnode01
      System ID
      Format                lvm2
      Metadata Areas        1
      Metadata Sequence No  34
      VG Access             read/write
      VG Status             resizable
      MAX LV                0
      Cur LV                5
      Open LV               4
      Max PV                0
      Cur PV                1
      Act PV                1
      VG Size               1.71 TiB
      PE Size               4.00 MiB
      Total PE              449251
      Alloc PE / Size       192001 / 750.00 GiB
      Free  PE / Size       257250 / 1004.88 GiB
      VG UUID               iGLDG9-IEvC-TGam-dV1N-GXVz-Plfz-2dGtwh
    
    [root@server2 ~]# lvdisplay
      --- Logical volume ---
      LV Path                /dev/vgnode01/LogVol00
      LV Name                LogVol00
      VG Name                vgnode01
      LV UUID                IpcHmf-6QpY-3plH-9hyf-WSSK-ZPMl-PF1Trb
      LV Write Access        read/write
      LV Creation host, time server2.bestariwebhost.com, 2015-07-16 01:58:44 +0700
      LV Status              available
      # open                 0
      LV Size                4.00 MiB
      Current LE             1
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:0
    
      --- Logical volume ---
      LV Path                /dev/vgnode01/vsv1001-01x5-qhlz837wzlsdswzg
      LV Name                vsv1001-01x5-qhlz837wzlsdswzg
      VG Name                vgnode01
      LV UUID                X8RL9d-BMv7-SlnA-xm9E-TLQ6-gCsK-blwS3q
      LV Write Access        read/write
      LV Creation host, time server2.bestariwebhost.com, 2015-07-16 04:11:57 +0700
      LV Status              available
      # open                 1
      LV Size                100.00 GiB
      Current LE             25600
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:1
    
      --- Logical volume ---
      LV Path                /dev/vgnode01/vsv1003-0rnm-6ec9rukucqz7cqwr
      LV Name                vsv1003-0rnm-6ec9rukucqz7cqwr
      VG Name                vgnode01
      LV UUID                jTh0bc-Kk59-auut-7frj-SSDr-SFSd-E7N1Y0
      LV Write Access        read/write
      LV Creation host, time server2.bestariwebhost.com, 2015-07-16 14:08:53 +0700
      LV Status              available
      # open                 1
      LV Size                50.00 GiB
      Current LE             12800
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:3
    
      --- Logical volume ---
      LV Path                /dev/vgnode01/vsv1002-03xv-vzktg0cb324euoo4
      LV Name                vsv1002-03xv-vzktg0cb324euoo4
      VG Name                vgnode01
      LV UUID                sdNFeS-Fkms-RcWa-FQux-kVo4-RBB7-7jv8wM
      LV Write Access        read/write
      LV Creation host, time server2.bestariwebhost.com, 2015-07-16 20:35:42 +0700
      LV Status              available
      # open                 1
      LV Size                500.00 GiB
      Current LE             128000
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:2
    
      --- Logical volume ---
      LV Path                /dev/vgnode01/vsv1004-0kyp-3scspl5wxk4gz0yk
      LV Name                vsv1004-0kyp-3scspl5wxk4gz0yk
      VG Name                vgnode01
      LV UUID                KP4L52-5tEZ-xeOa-xgL9-RrAL-AkIx-yXIw7p
      LV Write Access        read/write
      LV Creation host, time server2.bestariwebhost.com, 2015-07-16 23:23:09 +0700
      LV Status              available
      # open                 1
      LV Size                100.00 GiB
      Current LE             25600
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:4
    
    [root@server2 ~]# pvs
      PV         VG       Fmt  Attr PSize PFree
      /dev/md127 vgnode01 lvm2 a--  1.71t 1004.88g
    
    
    hasil fdisk:

    Code:
    [root@server2 ~]# fdisk -l
    
    Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 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: 0x00030ad2
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1        1045     8388608   82  Linux swap / Solaris
    /dev/sdb2   *        1045       14099   104857600   fd  Linux raid autodetect
    /dev/sdb3           14099      243202  1840267264   fd  Linux raid autodetect
    
    Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 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: 0x0000c9aa
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1045     8388608   82  Linux swap / Solaris
    /dev/sda2   *        1045       14099   104857600   fd  Linux raid autodetect
    /dev/sda3           14099      243202  1840267264   fd  Linux raid autodetect
    
    Disk /dev/md0: 107.4 GB, 107374051328 bytes
    2 heads, 4 sectors/track, 26214368 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00000000
    
    
    Disk /dev/md127: 1884.3 GB, 1884299460608 bytes
    2 heads, 4 sectors/track, 460034048 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00000000
    
    
    Disk /dev/mapper/vgnode01-LogVol00: 4 MB, 4194304 bytes
    255 heads, 63 sectors/track, 0 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: 0x00000000
    
    
    Disk /dev/mapper/vgnode01-vsv1001--01x5--qhlz837wzlsdswzg: 107.4 GB, 107374182400 bytes
    255 heads, 63 sectors/track, 13054 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: 0x00083ede
    
                                                   Device Boot      Start         End      Blocks   Id  System
    /dev/mapper/vgnode01-vsv1001--01x5--qhlz837wzlsdswzgp1               1       12924   103809024   83  Linux
    /dev/mapper/vgnode01-vsv1001--01x5--qhlz837wzlsdswzgp2           12924       13055     1047552   82  Linux swap / Solaris
    
    Disk /dev/mapper/vgnode01-vsv1003--0rnm--6ec9rukucqz7cqwr: 53.7 GB, 53687091200 bytes
    255 heads, 63 sectors/track, 6527 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: 0x00083ede
    
                                                   Device Boot      Start         End      Blocks   Id  System
    /dev/mapper/vgnode01-vsv1003--0rnm--6ec9rukucqz7cqwrp1               1        6397    51380224   83  Linux
    /dev/mapper/vgnode01-vsv1003--0rnm--6ec9rukucqz7cqwrp2            6397        6528     1047552   82  Linux swap / Solaris
    
    Disk /dev/mapper/vgnode01-vsv1002--03xv--vzktg0cb324euoo4: 536.9 GB, 536870912000 bytes
    255 heads, 63 sectors/track, 65270 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: 0x00083ede
    
                                                    Device Boot      Start         End      Blocks   Id  System
    /dev/mapper/vgnode01-vsv1002--03xv--vzktg0cb324euoo4p1               1       64619   519045120   83  Linux
    /dev/mapper/vgnode01-vsv1002--03xv--vzktg0cb324euoo4p2           64619       65271     5241856   82  Linux swap / Solaris
    
    Disk /dev/mapper/vgnode01-vsv1004--0kyp--3scspl5wxk4gz0yk: 107.4 GB, 107374182400 bytes
    255 heads, 63 sectors/track, 13054 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: 0x000a9c29
    
                                                   Device Boot      Start         End      Blocks   Id  System
    /dev/mapper/vgnode01-vsv1004--0kyp--3scspl5wxk4gz0ykp1               1       12794   102760448   83  Linux
    /dev/mapper/vgnode01-vsv1004--0kyp--3scspl5wxk4gz0ykp2           12794       13055     2096128   82  Linux swap / Solaris
    [root@server2 ~]#
    
     
  10. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    JIka mau resize coba vps di-off dulu. Lakukan resize dan kemudian di-on kembali.

    Ini yang saya biasa saya lakuan jika pakai cara manual atau pakai webmin.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...