maintenance Best business partner AIT

  • θ޴
  • ü
  • ڷ

()̾Ƽ ϵ ڷḦ   ֽϴ.

[Ʈ] LVM Ƽ (û)
ǰ |  
ȳϼ. ̾Ƽ ȲԴϴ.
 
ȭ LVM Ƽ ؼ 帮ڽϴ.
 
LVM Ƽ
 
<!--[if !supportLists]-->1.     <!--[endif]--> Ƽ LVMƼ
<!--[if !supportLists]-->2.     <!--[endif]-->LVMƼǿ Physical Volume
<!--[if !supportLists]-->3.     <!--[endif]-->Physical Volume Volume Group
<!--[if !supportLists]-->4.     <!--[endif]-->Volume Group Logical Volume
 
Դϴٸ
Volume Group صΰ VG ؼ Ѿ ϰڽϴ.
 
׷ Logical Volume ε, lvcreate ɾ մϴ.
Logical Volume Volume Group ̸ Ȯ ؾ Դϴ.
 
<!--[if !supportLists]-->1.     <!--[endif]-->Vgdisplay Է մϴ.
׷ Volume Group ǥð Դϴ
.
Ʒ Volume Group ϳ ǥⰡ Դϴ.
<!--[if !supportLists]-->2.     <!--[endif]-->Lvcreateɾ ؼ ݴϴ.
vg01̶ Volume Group lvol1̶ Logical Volume 50GB شٰ غϴ
.
ex)# lvcreate
L 50000M n lvol1 vg01 Volume Group ̸ Դϴ
.
     
ɾ            -n Logical Volume̸ 쿡 ϴ
.
           -L
MB ϴ.
<!--[if !supportLists]-->3.     <!--[endif]--> Logical Volume Ȯ lvdisplay Ȯ ݴϴ.
 
Ƽ ݴϴ.
 
Ƽ ɾ ϴ.
 
# mkfs.ext4 t /dev/vg01/lvol1
 
̷ Ǹ
 
丮 丮, lvm ٲ 丮 ̸ ٲ ݴϴ.
ڸ /home ο Ƽ Ʒ ٲ ݴϴ.
# mv /home /home.old
׸ ο Ƽ Ʈ մϴ.
 
# mkdir /home
 
Ƽ /home Ʈ ݴϴ.
 
# mount t /dev/vg01/lvol1 /home
 
̷ Ʈ Ϸ ˴ϴ.
 
ýÿ Ʈ ϰ ʹٸ /etc/fstab ֽø մϴ.
 
⼭ Ȯ ϰ,
뷫δ /home ͸ Ʈ ׸񿡼 ϵ θ ֽø ˴ϴ(Ʊ /dev/vg01/lvol1 Դϴ.)
 
ñ Ͻ ִٸ ٶϴ.
 
̻Դϴ.