linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Convert striped lv to single pv on another disk?
@ 2012-12-13 13:32 Gianluca Cecchi
  2012-12-13 15:28 ` Gianluca Cecchi
  0 siblings, 1 reply; 6+ messages in thread
From: Gianluca Cecchi @ 2012-12-13 13:32 UTC (permalink / raw)
  To: LVM general discussion and development

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-14 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 13:32 [linux-lvm] Convert striped lv to single pv on another disk? Gianluca Cecchi
2012-12-13 15:28 ` Gianluca Cecchi
2012-12-13 15:39   ` Bryn M. Reeves
2012-12-13 16:11     ` Gianluca Cecchi
2012-12-13 16:38       ` Bryn M. Reeves
2012-12-14 18:33         ` Stuart D Gathman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).