Am 25.09.13 16:12, schrieb m.roth@5-cent.us:
Götz Reinicke - IT Koordinator wrote:
Hi,
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.)
The storage in question will be reset and reformated and used on a different server; so no LVM export is needed.
Do I have to do lvremove ..., vgremove ..., pvremove ... and do an
iscsiadm -m node -T ... -p ... -u and
iscsiadm -m node -o delete -T ... -p ...
in order to achieve that?
Or is there some more simple way?
This may be a stupid question, but couldn't you simply umount the storage from everywhere, maybe the iscsiadm commands, and then just unplug the thing? Why do you need to do *anything* with lvm?
AFAIK LVM etc create some traces and file information in some places/caches .. and I like to remove all traces...
Regards . Götz