User Tools

Site Tools


linux:logical-volume-management

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:logical-volume-management [2016/02/10 22:16] kbadminlinux:logical-volume-management [2018/02/22 22:05] (current) – [12 lvextend] kbadmin
Line 21: Line 21:
 ===== - vgremove ===== ===== - vgremove =====
 <code> <code>
-#vgremove /dev/vg+vgremove /dev/vg
 </code> </code>
 +===== - vgscan =====
 +Melihat hasil perubahan dengan vgscan
  
 +===== - vgextend =====
 +Menambah partisi ke volume group
 <code> <code>
-vgremove +vgextend my_volume_group /dev/sda
-vgscan +
-vgextend +
-vgdisplay +
-vgname +
-lvcreate +
-lvrename +
-lvremove +
-lvextend+
 </code> </code>
 +===== - vgdisplay =====
 +Menampilkan Volume group yang aktif
 +
 +===== - vgrename =====
 +Mengganti nama volume group
 +<code>
 +vgrename lvmxen vg
 +</code>
 +
 +===== - vgdisplay =====
 +Melihat volume group yang aktif
 +===== - lvcreate =====
 +Membuat Logical Volume
 +<code>
 +lvcreate --name home --size 2G nama_volume_group
 +</code>
 +===== - lvrename =====
 +Mengganti nama logical volume
 +<code>
 +lvrename vg lama baru
 +</code>
 +===== - lvremove =====
 +Menghapus logical volume
 +<code>
 +lvremove /dev/vg/nama_volume
 +</code>
 +===== - lvextend =====
 +Memperbesar ukuran logical volume
 +<code>
 +lvextend -L +50G /dev/vg/nama_lv
 +</code>
 +jika setelah di mount ukurang belum berubah maka lakukan
 +<code>
 +resize2fs /dev/vg/nama_lv
 +</code>
 +
 +====== - Sumber ======
 +  - [[http://yanayun.blogspot.co.id/2008/12/installasi-lvm-linux-virtual-machine-di.html|Yanayun]]
  

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/logical-volume-management.txt · Last modified: 2018/02/22 22:05 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki