[linux-lvm] Dead device and cleaning up LVM

Ray Van Dolson rvandolson at esri.com
Mon Feb 9 17:58:04 UTC 2009


On Mon, Feb 09, 2009 at 09:45:46AM -0800, Bryn M. Reeves wrote:
> Ray Van Dolson wrote:
> > Anyone know how I can remove this device both from the system and from
> > LVM safely?  I can reboot, but saving that as a last resort if
> > possible.
> 
> You don't mention the name of your VG/LV but you should be able to 
> remove the active lvm devices with "dmsetup remove", e.g.:
> 
> dmsetup remove $VG-$LV
> 
> For each LV in each VG that was using the iSCSI devices.

Beautiful.  This did the trick!  I can now also unload the iSCSI kernel
modules correctly on the initiator.

Thanks,
Ray




More information about the linux-lvm mailing list