Skip to main content

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


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.
this reply tommylovell



Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] LVM SAN Migration


Ubuntu

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached