Convert striped lv to single pv on another disk?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I have a 300Gb LV composed by 2 150Gb each PV in striping:

lvdisplay:
  --- Logical volume ---
  LV Name                /dev/VG_TEST/LV_TEST
  VG Name                VG_TEST
  LV UUID                9LVrQr-XPSW-kuHt-eyYx-BrlE-MwQh-LcSfhN
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                299.99 GB
  Current LE             76798
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     512
  Block device           253:61

lvdisplay --maps:
  --- Logical volume ---
  LV Name                /dev/VG_TEST/LV_TEST
  VG Name                VG_TEST
  LV UUID                9LVrQr-XPSW-kuHt-eyYx-BrlE-MwQh-LcSfhN
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                299.99 GB
  Current LE             76798
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     512
  Block device           253:61

  --- Segments ---
  Logical extent 0 to 76797:
    Type                striped
    Stripes             2
    Stripe size         64 KB
    Stripe 0:
      Physical volume   /dev/mapper/mpath133
      Physical extents  0 to 38398
    Stripe 1:
      Physical volume   /dev/mapper/mpath134
      Physical extents  0 to 38398

I have to migrate to a single third 400Gb disk that I'm gong to
configure as a further PV of VG_TEST.
How can I pvmove a striped volume to a single one?
Thanks,
Gianluca

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux