milosz
2009-May-20 22:32 UTC
[zfs-discuss] how to reliably determine what is locking up my zvol?
-bash-3.2# zpool export exchbk cannot remove device links for ''exchbk/exchbk-2'': dataset is busy this is a zvol used for a comstar iscsi backend: -bash-3.2# stmfadm list-lu -v LU Name: 600144F0EAC0090000004A0A4F410001 Operational Status: Offline Provider Name : sbd Alias : /dev/zvol/rdsk/exchbk/exchbk-1 View Entry Count : 1 LU Name: 600144F0EAC0090000004A1307D20001 Operational Status: Offline Provider Name : sbd Alias : /dev/zvol/rdsk/exchbk/exchbk-2 View Entry Count : 1 i offlined everything. it''s driving me nuts.
milosz
2009-May-21 19:15 UTC
[zfs-discuss] how to reliably determine what is locking up my zvol?
deleting the lu''s via sbdadm solved this. still wondering if there is some reliable way to figure out what is using the zvol, though =) On Wed, May 20, 2009 at 6:32 PM, milosz <mewash at gmail.com> wrote:> -bash-3.2# zpool export exchbk > cannot remove device links for ''exchbk/exchbk-2'': dataset is busy > > this is a zvol used for a comstar iscsi backend: > > -bash-3.2# stmfadm list-lu -v > LU Name: 600144F0EAC0090000004A0A4F410001 > ? ?Operational Status: Offline > ? ?Provider Name ? ? : sbd > ? ?Alias ? ? ? ? ? ? : /dev/zvol/rdsk/exchbk/exchbk-1 > ? ?View Entry Count ?: 1 > LU Name: 600144F0EAC0090000004A1307D20001 > ? ?Operational Status: Offline > ? ?Provider Name ? ? : sbd > ? ?Alias ? ? ? ? ? ? : /dev/zvol/rdsk/exchbk/exchbk-2 > ? ?View Entry Count ?: 1 > > i offlined everything. ?it''s driving me nuts. >