[linux-lvm] how to move data from one PV to other PV automaticly?
cwinl
cwinl-linux-lvm at lnnu.edu.cn
Mon Jun 13 02:51:58 UTC 2005
hi,all:
i have a VG with 3 PV.
here is 'pvdisplay' information:
------------------------------------------------
ftp:~# pvdisplay -v
Scanning for physical volume names
--- Physical volume ---
PV Name /dev/sdb1
VG Name nicvg
PV Size 838.09 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 26819
Free PE 0
Allocated PE 26819
PV UUID IyahCr-NwPt-dUsC-UuVa-ki1y-5X4X-NRReLA
--- Physical volume ---
PV Name /dev/sdc1
VG Name nicvg
PV Size 558.72 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 17879
Free PE 0
Allocated PE 17879
PV UUID NG6cMz-I12Q-6X8T-58gn-Fvov-gYs9-HCvYyw
--- Physical volume ---
PV Name /dev/sdd1
VG Name nicvg
PV Size 558.72 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 17879
Free PE 0
Allocated PE 17879
PV UUID qqm9Ua-5owd-ZhVM-nU5D-wZeL-klu1-t0Ij68
-----------------------------------------------------------------------
i want to move all data from /dev/sdb1 to another two PV (/dev/sdc1 and
/dev/sdd1) automaticly.
so i can remove the unstable PV /dev/sdb1 and repair it.
then i will restore a new /dev/sdb1 device.
the disk space is all right.
here is 'df' information:
---------------------------------
ftp:~# df
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 1.9G 545M 1.4G 29% /
tmpfs 1014M 4.0K 1014M 1% /dev/shm
/dev/sda1 95M 39M 56M 42% /boot
/dev/sda6 14G 444M 14G 4% /var
/dev/mapper/nicvg-niclv
2.0T 774G 1.2T 40% /ftproot
---------------------------------
the volumn '/dev/mapper/nicvg-niclv' is on the VG above.
how can finish it?
any suggestion is regarded!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20050613/f5feb0ca/attachment.htm>
More information about the linux-lvm
mailing list