[Ocfs2-users] How to remove device from cluster?

Marko Sutic marko.sutic at gmail.com
Mon Nov 5 05:47:58 PST 2012


Hello,

I have device which is partitioned with fdisk and formatted with
mkfs.ocfs2. I wan't to remove that device from cluster.

What is the proper way to do that?

When I unmount device from all cluster nodes and try to deattach device
from cluster, OCFS2 evicts one (of two) node from the cluster.

This is OEL 5.8 with OCFS2(1.4).

I've noticed this errors before node eviction:

Nov  5 13:35:28 l01ora3 kernel: sd 1:0:1:9: Warning! Received an indication
that the LUN assignments on this target have changed. The Linux SCSI layer
does not automatically remap LUN assignments.
Nov  5 13:35:28 l01ora3 kernel: sd 3:0:0:8: Warning! Received an indication
that the LUN assignments on this target have changed. The Linux SCSI layer
does not automatically remap LUN assignments.
Nov  5 13:35:28 l01ora3 kernel: sd 1:0:3:8: Warning! Received an indication
that the LUN assignments on this target have changed. The Linux SCSI layer
does not automatically remap LUN assignments.
Nov  5 13:35:28 l01ora3 kernel: sd 1:0:2:2: Warning! Received an indication
that the LUN assignments on this target have changed. The Linux SCSI layer
does not automatically remap LUN assignments.
Nov  5 13:35:28 l01ora3 kernel: sd 1:0:0:9: Warning! Received an indication
that the LUN assignments on this target have changed. The Linux SCSI layer
does not automatically remap LUN assignments.
Nov  5 13:35:28 l01ora3 kernel: sd 3:0:2:6: Warning! Received an indication
that the LUN assignments on this target have changed. The Linux SCSI layer
does not automatically remap LUN assignments.
Nov  5 13:35:28 l01ora3 kernel: sd 3:0:1:3: Warning! Received an indication
that the LUN assignments on this target have changed. The Linux SCSI layer
does not automatically remap LUN assignments.
Nov  5 13:35:28 l01ora3 kernel: sd 3:0:3:9: Warning! Received an indication
that the LUN assignments on this target have changed. The Linux SCSI layer
does not automatically remap LUN assignments.
Nov  5 13:35:28 l01ora3 kernel: sd 3:0:1:14: SCSI error: return code =
0x08000002
Nov  5 13:35:28 l01ora3 kernel: Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE,SUGGEST_OK
Nov  5 13:35:28 l01ora3 kernel: sdcv: Current: sense key: Illegal Request
Nov  5 13:35:28 l01ora3 kernel:     Add. Sense: Logical unit not supported
Nov  5 13:35:28 l01ora3 kernel:
Nov  5 13:35:28 l01ora3 kernel: device-mapper: multipath: Failing path
70:48.
Nov  5 13:35:28 l01ora3 multipathd: 70:48: mark as failed
Nov  5 13:35:28 l01ora3 multipathd: mpath14: remaining active paths: 7
Nov  5 13:35:28 l01ora3 kernel: sd 3:0:0:14: SCSI error: return code =
0x08000002
Nov  5 13:35:28 l01ora3 kernel: Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE,SUGGEST_OK
Nov  5 13:35:28 l01ora3 kernel: sdce: Current: sense key: Illegal Request
Nov  5 13:35:28 l01ora3 kernel:     Add. Sense: Logical unit not supported
...
...

Maybe OCFS2 still keeps that device in configuration and I have to update
configuration somehow?


Thanks for your help,
Marko



-- 
*----*
*Marko Sutic*
My LinkedIn Profile <http://hr.linkedin.com/in/markosutic>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20121105/5c9140c4/attachment.html 


More information about the Ocfs2-users mailing list