[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Using LABEL in "Device Special File" as a resource



Hmmm....

I guess I never tried to edit cluster.xml by hand. On my system at least, redhat-config-cluster does not allow the value. I'll try editing cluster.xml tomorrow and see if that works. Could you let me know if you can get redhat-config-cluster to accept the LABEL designation? Could it possibly be that my LABEL is "/www" (no quotes)?

Thanks,
Tarun


On Mar 24, 2006, at 10:01 AM, Lon Hohberger wrote:

On Thu, 2006-03-23 at 14:50 -0700, Tarun Reddy wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Under RHEL3 clustering, I'm trying to mount a partition using the
LABEL since iscsi bindings have a tendency to switch around.

Using Google to search the archives, I found this message:
http://www.redhat.com/archives/linux-cluster/2005-October/ msg00129.html

but this doesn't seem to work with Redhat Clustering on RHEL3. Is
there another way of doing this?

It really should work; it works on my RHEL3 system:

[root magenta root]# e2label /dev/sdd3

[root magenta root]# e2label /dev/sdd3 futon
[root magenta root]# e2label /dev/sdd3
futon
[root magenta root]# vi /etc/cluster.xml
...
    <service checkinterval="10" id="0" name="foo">
      <device id="0" name="LABEL=futon" sharename="">
               <!--   ^- name used to be /dev/sdd3 -->
        <mount forceunmount="yes" fstype="ext3" mountpoint="/mnt/1"
options=""/>
      </device>
      ...
    </service>
...

Starting the service and running the mount command yielded this on my
machine:

[root magenta root]# mount
...
/dev/sdd3 on /mnt/1 type ext3 (rw)
...

Stopping the service causes the mount to go away correctly on my system. The label->device resolution has not changed since before the release of
RHCS3, so there must be something missing that we don't know about.
Note that "LABEL" is case-sensitive, and must be all capital letters,
and that no spaces are allowed.

-- Lon

--
Linux-cluster mailing list
Linux-cluster redhat com
https://www.redhat.com/mailman/listinfo/linux-cluster


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]