[Linux-cluster] Maybe OT: GFS labels for iSCSI disks

Lon Hohberger lhh at redhat.com
Fri Jan 12 14:30:30 UTC 2007


On Thu, 2007-01-11 at 23:47 +0100, C. L. Martinez wrote:
> Hi,
> 
> I'm using a RHEL 4 U4 with iscsitarget to serve local disks to two
> RHEL 4U4 servers with RHCS and GFS, using RHEL initiator.
> 
> When I add new raw disks to iscsitarget and restart the iscsid service
> on RHEL clients with GFS, sometimes the device naming (/dev/sdX)
> changes and it's a mess
> to find the older volumes with the new device name.
> 
> Does anybody know how to use to archieve persistent device naming
> forthe iSCSI volumes on RHEL4? According to this:
> http://people.redhat.com/mchristi/iscsi/RHEL4/doc/readme, I need to
> use Labels , but how can I assign labels on a GFS filesystem??
> 
> I think I need to use an udev rule for that, but I'm new to this,
> anyhelp or sample rule would be appreciated.

You could use clustered logical volume management (clvm).

-- Lon





More information about the Linux-cluster mailing list