[CentOS] Best Practice to remove an ISCSI LVM from a system

Ian Pilcher arequipeno at gmail.com
Wed Sep 25 15:10:36 UTC 2013


On 09/25/2013 08:58 AM, Götz Reinicke - IT Koordinator wrote:
> I'd like to know what would be the best way to remove an iscsi lvm
> storage from a server. (removing all reference to that storage etc.)

My approach would be:

* Disable all volume groups on the iSCSI LUN(s) with "vgchange -a n ..."

* Use iscsiadm to log out of the target and delete it from the database

* Run vgscan to update the LVM cache

HTH

-- 
========================================================================
Ian Pilcher                                         arequipeno at gmail.com
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================




More information about the CentOS mailing list