Geri git   Engelliler Sosyal Duyarlılık Platformu > Bilgisayar - İnternet - Linux - Oracle > Linux

   

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 07-16-2009, 12:36 PM
Junior Member
 
Üyelik tarihi: Jul 2009
Mesajlar: 5
Standart Extending a logical volume at LVM

Suppose that we have a volume group named VG-TEST and It contains a logical volume named LV-TEST. After adding new physical disk /dev/sdx , we want to give additional 100G space to the LV-TEST logical volume. Following procedure is applied to the server.

In our linux server we have to create a new partition on the disk /dev/sdx. To do that:

# fdisk /dev/sdx

fdisk utility asks for parameters so that we create a new partition sdx1

To create physical volume

# pvcreate /dev/sdx1



To add physical volume to the volume group VG-TEST

# vgextend VG-TEST /dev/sdx1



To extend the logical volume LV-TEST

# lvextend -L+100G /dev/VG-TEST/LV-TEST

+100G means that we add extra 100G to the logical volume



We extended the logical volume. Now we should give this space server?s ext3 file system to use it.

# ext2online /dev/VG-TEST/LV-TEST

kaynak: www.kadirsert.com
Alıntı ile Cevapla
Cevapla

Etiketler
linuxilvm, logical, volume

Seçenekler
Stil

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesaj?n?z? De?i?tirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık



WEZ Format. Şuan Saat: 05:15 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0