[ClusterLabs] Filesystem Resource Device Naming Convention
Reid Wahl
nwahl at redhat.com
Thu Apr 20 21:36:33 EDT 2023
On Thu, Apr 20, 2023 at 1:49 PM Tyler Phillippe via Users
<users at clusterlabs.org> wrote:
>
> Hello all,
>
> In my position, we are running several PCS clusters that host NFS shares and their backing disks are SAN LUNs. We have been using the /dev/mapper/<multipath-alias> name as the actual device when defining a PCS Filesystem resource; however, it was brought up that potentially the multipath configuration file could be corrupted in any number of accidental ways. It was then proposed to use the actual SCSI WWID as the device, under /dev/disk/by-id/scsi-<wwid>. There has been discussion back and forth on which is better - mostly from a peace of mind perspective. I know Linux has changed a lot and mounting disks by WWID/UUID may not strictly be necessary any more, but I was wondering what is preferred, especially as nodes are added to the cluster and more people are brought on to the team. Thanks all!
>
I almost always see users configure LVM logical volumes (whose volume
groups are managed by LVM-activate resources) as the device for
Filesystem resources, unless they're mounting an NFS share.
I'm not aware of the ways that the multipath config file could become
corrupted (aside from generalized data corruption, which is a much
larger problem). It seems fairly unlikely, but I'm open to other
perspectives.
> Respectfully,
> Tyler Phillippe
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/
--
Regards,
Reid Wahl (He/Him)
Senior Software Engineer, Red Hat
RHEL High Availability - Pacemaker
More information about the Users
mailing list