Menu Close

Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

5.4.2. 將​​​​​​​扇​​​​​​​區​​​​​​​移​​​​​​​至​​​​​​​新​​​​​​​磁​​​​​​​碟​​​​​​​上​​​​​​​

在​​​​​​​此​​​​​​​範​​​​​​​例​​​​​​​中​​​​​​​,邏​​​​​​​輯​​​​​​​卷​​​​​​​冊​​​​​​​分​​​​​​​配​​​​​​​在​​​​​​​ myvg 卷​​​​​​​冊​​​​​​​群​​​​​​​組​​​​​​​中​​​​​​​的​​​​​​​三​​​​​​​個​​​​​​​實​​​​​​​體​​​​​​​卷​​​​​​​冊​​​​​​​上​​​​​​​:
[root@tng3-1]# pvs -o+pv_used
  PV         VG   Fmt  Attr PSize  PFree  Used
  /dev/sda1  myvg lvm2 a-   17.15G  7.15G 10.00G
  /dev/sdb1  myvg lvm2 a-   17.15G 15.15G  2.00G
  /dev/sdc1  myvg lvm2 a-   17.15G 15.15G  2.00G
我​​​​​​​們​​​​​​​希​​​​​​​望​​​​​​​將​​​​​​​ /dev/sdb1 的​​​​​​​扇​​​​​​​區​​​​​​​移​​​​​​​至​​​​​​​新​​​​​​​的​​​​​​​ /dev/sdd1 裝​​​​​​​置​​​​​​​上​​​​​​​。​​​​​​​

5.4.2.1. 新​​​​​​​建​​​​​​​實​​​​​​​體​​​​​​​卷​​​​​​​冊​​​​​​​

由​​​​​​​ /dev/sdd1 建​​​​​​​立​​​​​​​新​​​​​​​的​​​​​​​實​​​​​​​體​​​​​​​卷​​​​​​​冊​​​​​​​。​​​​​​​
[root@tng3-1 ~]# pvcreate /dev/sdd1
  Physical volume "/dev/sdd1" successfully created