I took that approach.
I edited
/usr/lib/systemd/system/beegfs-storage.service
and added
remote-fs.target
to the After line.
I also had to add _netdev to the fstab line, to ensure the iscsi mount
succeeds at boot (not a BeeGFS issue per se).
It was starting just before multipathd started. I tried adding
multipathd.service to the After line, which pushed it down the chain a
bit, but it started while the filesystem was mounting, but before the
XFS filesystem fully came on line.
This is working through multiple reboots, but it seems odd to me since I
would not view an iscsi hosted filesystem as one that is remote.
Perhaps there is a better target to use as a requirement.
-Ray Muno
On 12/8/21 2:09 AM, Steffen Grunewald wrote:
> On Tue, 2021-12-07 at 13:42:39 -0600, BeeGFS user list wrote:
>> I have BeeGFS storage nodes. The storage target is an iscsi mount.
>>
>> What is the best way to configure beegfs-storage to start after the file system is mounted?
>>
>> CentOS 7.9, BeegFS 7.2.5
>>
>> The error I see is
>>
>> Error: Found uninitialized storage target directory and initialization has been disable...storage
>>
>> so I assume that is the issue. I can start it by hand after a boot.
> What about modifying the systemd service file, adding the required targets to "After=",
> and possibly setting "RequiresMountsFor="?
>
> HTH, Steffen
>
--
Ray Muno
Computer Systems Administrator