[gpfsug-discuss] How to do multiple mounts via GPFS

Alec anacreo at gmail.com
Tue Feb 22 18:56:44 GMT 2022


There is a sample script I believe it's called mmfsup.  It's a hook that's
called at startup of GPFS cluster node.  We modify that script to do things
such as configure backup ignore lists, update pagepool, and mount GPFS
filesystem nodes as appropriate.  We basically have a case statement based
on class of the node, ie master, client, or primary backup node.

Advantage of this is if you do an gpfs stop/start on an already running
node things work right... Great in a fire situation... Or if you modify
mounts or filesystems... You can call mmfsup say with mmdsh, send verify
startup would be right.

We started on this path because our backup software default policy would
backup GPFS mounts from each node.. so simply adding the ignores at startup
from the non backup primary was our solution.  We also have mounts that
should not be mounted on some nodes, and this handles that very elegantly.

Alec

On Tue, Feb 22, 2022, 9:37 AM Skylar Thompson <skylar2 at uw.edu> wrote:

> Assuming this is on Linux, you ought to be able to use bind mounts for
> that, something like this in fstab or equivalent:
>
> /home /gpfs1/home bind defaults 0 0
>
> On Tue, Feb 22, 2022 at 12:24:09PM -0500, Justin Cantrell wrote:
> > We're trying to mount multiple mounts at boot up via gpfs.
> > We can mount the main gpfs mount /gpfs1, but would like to mount things
> > like:
> > /home /gpfs1/home
> > /other /gpfs1/other
> > /stuff /gpfs1/stuff
> >
> > But adding that to fstab doesn't work, because from what I understand,
> > that's not how gpfs works with mounts.
> > What's the standard way to accomplish something like this?
> > We've used systemd timers/mounts to accomplish it, but that's not ideal.
> > Is there a way to do this natively with gpfs or does this have to be done
> > through symlinks or gpfs over nfs?
>
> --
> -- Skylar Thompson (skylar2 at u.washington.edu)
> -- Genome Sciences Department (UW Medicine), System Administrator
> -- Foege Building S046, (206)-685-7354
> -- Pronouns: He/Him/His
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at spectrumscale.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220222/a82ef961/attachment-0002.htm>


More information about the gpfsug-discuss mailing list