Thread: LVM SAN Migration
hello! question veterans out there. have lvm setup 8 pv's in 1 vg , 8 lv's each pointing specified pv. background info 1 of pv's on tier 2 san (slow archive drives) needs on teir 1. idea have san team create advertisment. make pv, vgextend include it, how add appropriate lv, pv move tier 2 pv tier 1 pv. how remove pv lvm.
lost on how should go this, idea's appreciated!!!
added
this reply tommylovell
assuming newly added tier 1 san lun large enough hold old tier 2 lv, it's simple matter move lv.
basically,
'pvcreate <the-new-pv>'
'vgextend <vgname> <the-new-pv>
'pvmove -i15 -v <the-old-tier2-pv> <the-new-pv>
'vgreduce <vgname> <the-old-tier2-pv>
'pvremove <the-old-tier2-pv>'
<the-new-pv> block device /dev/sda (full volume), /dev/sda1 (partition) or /dev/mapper/mpath1 (if you're using dm-multipath); likewise <the-old-tier2-pv>. <vgname>, of course, vg.
on 'pvmove', -i15 , -v give periodic status data moved.
before start, @ man pages different commands.
, 'pvdisplay --maps' , 'lvdisplay --maps' tell how laid out before , after move.
luck.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] LVM SAN Migration
Ubuntu
Comments
Post a Comment