# Setting up SBD using ocfs2 on RDM

**URL:** <https://forums.suse.com/t/setting-up-sbd-using-ocfs2-on-rdm/24658>\
**Category:** SLES High Availability Extension\
**Created:** [October 22, 2013, 10:19pm UTC](https://forums.suse.com/t/setting-up-sbd-using-ocfs2-on-rdm/24658 "2013-10-22T22:19:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cisaksen](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cisaksen](https://forums.suse.com/u/cisaksen)\
**Post date:** [October 22, 2013, 10:19pm UTC](https://forums.suse.com/t/setting-up-sbd-using-ocfs2-on-rdm/24658/1 "2013-10-22T22:19:54Z")

</div>

I’m very new to clustering linux. I currently have SLES11 SP3 for vmware with the HA extensions installed on ESX 5.1 trying to use a Raw Device Map disk.

The RDM is in physical mode on a paravirtual SCSI controller with the SCSI bus mode = physical.

I’m trying to setup the disk using ocfs2 but I’m having trouble getting it setup. I have partitioned it as a primary without formatting it. So it now can be referenced as /dev/sdc1.

I created the SBD as this device, stonith is running. Then I try to format the drive using mkfs.ocfs2 /dev/sdc1 and it blows up.

I’m I doing something in the wrong order?

any help would be great.

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [October 23, 2013, 3:01am UTC](https://forums.suse.com/t/setting-up-sbd-using-ocfs2-on-rdm/24658/2 "2013-10-23T03:01:42Z")

</div>

Hi cisaksen,

[QUOTE=cisaksen;17040]I’m very new to clustering linux. I currently have SLES11 SP3 for vmware with the HA extensions installed on ESX 5.1 trying to use a Raw Device Map disk.

The RDM is in physical mode on a paravirtual SCSI controller with the SCSI bus mode = physical.

I’m trying to setup the disk using ocfs2 but I’m having trouble getting it setup. I have partitioned it as a primary without formatting it. So it now can be referenced as /dev/sdc1.

I created the SBD as this device, stonith is running. Then I try to format the drive using mkfs.ocfs2 /dev/sdc1 and it blows up.

I’m I doing something in the wrong order?

any help would be great.[/QUOTE]

please define “blows up” - anything left inside the server rack after the dust settles and the smoke dissolved? 😉

Depending on how you set up OCFS2, you may need a working cluster DLM to use OCFS2. Have you had a look at [https://www.suse.com/documentation/sle\_ha/singlehtml/book\_sleha/book\_sleha.html](https://www.suse.com/documentation/sle_ha/singlehtml/book_sleha/book_sleha.html) - chapter 14 covers OCFS2 and 14.3 describes the resources setup.

Regards,  
Jens
