[OmniOS-discuss] ZFS Logical Unit stuck in the offlining state with COMSTAR

Shvayakov A. a.shvayakov at yahoo.com
Mon Mar 11 10:47:06 EDT 2013


Hi,

I got a problem - ZFS Logical Unit stuck in the offlining state  with COMSTAR

Conditions to reproduce the problem:

You should to create Logical Unit with COMSTAR

stmfadm create-lu /dev/zvol/rdsk/GIGO/zvol200g
stmfadm add-view 600144F054A281000000513DB9770005

Then I mounted this device on the initiator and began to upload data with dd
During copying, I removed the LU

Intense data upload is a prerequisite for the reproducing of problem

stmfadm delete-lu -k 600144F054A281000000513DB9770005

Logical Unit  stuck in the offlining state

stmfadm list-lu -v
LU Name: 600144F054A281000000513DB9770005

     Operational Status: Offlining
     Provider Name     : sbd
     Alias             : /dev/zvol/rdsk/GIGO/zvol200g
     View Entry Count  : 0
     Data File         : /dev/zvol/rdsk/GIGO/zvol200g
     Meta File         : not set
     Size              : 214748364800
     Block Size        : 512
     Management URL    : not set
     Vendor ID         : SUN
     Product ID        : COMSTAR
     Serial Num        : not set
     Write Protect     : Disabled
     Writeback Cache   : Enabled
     Access State      : Active

As a consequence, it cannot be unloaded from the COMSTAR framework

stmfadm delete-lu 600144F054A281000000513DB9770005
stmfadm: resource busy

Hence the GIGO pool cannot be exported:

zpool export GIGO
cannot export 'GIGO': pool is busy

Resulting in the RSF-1 cluster aborting failover

Now only  reboot...

This bug is present in OpenIndiana too. I tested it.
Support RSF-1 says that this problem is fixed in the Nexentastor
What do you know about it?
Can you fix this bug in OmniOS?

Best regards,
Alexander Shvayakov



More information about the OmniOS-discuss mailing list