<div dir="auto">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.<div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">Alec</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 22, 2022, 9:37 AM Skylar Thompson <<a href="mailto:skylar2@uw.edu">skylar2@uw.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Assuming this is on Linux, you ought to be able to use bind mounts for<br>
that, something like this in fstab or equivalent:<br>
<br>
/home /gpfs1/home bind defaults 0 0<br>
<br>
On Tue, Feb 22, 2022 at 12:24:09PM -0500, Justin Cantrell wrote:<br>
> We're trying to mount multiple mounts at boot up via gpfs.<br>
> We can mount the main gpfs mount /gpfs1, but would like to mount things<br>
> like:<br>
> /home /gpfs1/home<br>
> /other /gpfs1/other<br>
> /stuff /gpfs1/stuff<br>
> <br>
> But adding that to fstab doesn't work, because from what I understand,<br>
> that's not how gpfs works with mounts.<br>
> What's the standard way to accomplish something like this?<br>
> We've used systemd timers/mounts to accomplish it, but that's not ideal.<br>
> Is there a way to do this natively with gpfs or does this have to be done<br>
> through symlinks or gpfs over nfs?<br>
<br>
-- <br>
-- Skylar Thompson (<a href="mailto:skylar2@u.washington.edu" target="_blank" rel="noreferrer">skylar2@u.washington.edu</a>)<br>
-- Genome Sciences Department (UW Medicine), System Administrator<br>
-- Foege Building S046, (206)-685-7354<br>
-- Pronouns: He/Him/His<br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer noreferrer" target="_blank">spectrumscale.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
</blockquote></div>