Re: Best Practice to remove an ISCSI LVM from a system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 9/25/2013 6: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.)
>
> 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?


umount any file systems, remove them from /etc/fstab, then vgremove the 
volume group should be sufficient to remove history of the LV's and VG's 
... I don't believe its neccessary to pvremove the individual disks.

then drop the target LUN on the storage server.

-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux