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

Götz Reinicke - IT Koordinator goetz.reinicke at filmakademie.de
Thu Sep 26 08:48:24 UTC 2013


Am 25.09.13 17:10, schrieb Ian Pilcher:
> 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
> 

Helped :) thx /Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reinicke at filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



More information about the CentOS mailing list