# Error: unknown systemd FreezerState

**URL:** <https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546>\
**Category:** DRBD Reactor\
**Tags:** drbd\
**Created:** [January 10, 2025, 8:02am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546 "2025-01-10T08:02:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 10, 2025, 8:02am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/1 "2025-01-10T08:02:05Z")

</div>

Running `drbd-reactorctl status` get err message when use ha linstor

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/linbit/original/1X/228181355b06d87ddda2e4c8fffb7fa355ff0f85.png)

Follow the documentation

```auto
https://linbit.com/drbd-user-guide/linstor-guide-1_0-cn/#s-linstor_ha

```

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 10, 2025, 8:14am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/2 "2025-01-10T08:14:44Z")

</div>

Not sure if this error caused linstor-gateway to fail to create iscsi.

here is linstor-gateway output (command : `linstor-gateway iscsi create iqn.2025-01.rcr.test:ss 172.17.0.0/8 2G -r iso_res_group --loglevel debug`)

```auto
DEBU[0000] {"iqn":"iqn.2025-01.rcr.test:info","resource_group":"iso_res_group","volumes":[{"number":1,"size_kib":2097152,"file_system_root_owner":{"User":"","Group":""}}],"service_ips":["172.17.0.0/8"],"status":{"state":"Unknown","service":"Stopped","primary":"","nodes":null,"volumes":null},"gross_size":false,"implementation":""} 
DEBU[0000] curl -X 'POST' -d '{"iqn":"iqn.2025-01.rcr.test:info","resource_group":"iso_res_group","volumes":[{"number":1,"size_kib":2097152,"file_system_root_owner":{"User":"","Group":""}}],"service_ips":["172.17.0.0/8"],"status":{"state":"Unknown","service":"Stopped","primary":"","nodes":null,"volumes":null},"gross_size":false,"implementation":""}
' -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'User-Agent: linstor-gateway/1.7.0-g6e676b4f35e3e2b90cffb32637e44e16ae3c0559' 'http://localhost:8080/api/v2/iscsi' 
DEBU[0000] Status code not within 200 to 400, but 400 (Bad Request) 
ERRO[0000] failed to create iscsi resource: failed to retrieve existing configs: failed to fetch file list: Get "http://localhost:3370/v1/files?content=true&limit=0&offset=0": dial tcp [::1]:3370: connect: connection refused 

```

and `journalctl -xe` log

> <https://gist.github.com/ggqshr/9ce0c3f0559251e11649670f14165ae5>

---

<div class="post-metadata">

**Author:** ![wanzenbug](https://yyz1.discourse-cdn.com/flex003/user_avatar/forums.linbit.com/wanzenbug/32/39_2.png) [@wanzenbug](https://forums.linbit.com/u/wanzenbug)\
**Post date:** [January 10, 2025, 8:26am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/3 "2025-01-10T08:26:17Z")

</div>

Looks like the linstor-controller is not actually runnning.

The error of `drbd-reactorctl` is interesting. Can you show the output of:

```auto
systemctl show --property=FreezerState drbd-promote@linstor_db.service
systemctl show --property=FreezerState var-lib-linstor.mount

```

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 10, 2025, 8:28am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/4 "2025-01-10T08:28:40Z")

</div>

> [@wanzenbug](#):
>
> Looks like the linstor-controller is not actually runnning.

The linstor-controller is running on node2.

> [@wanzenbug](#):
>
> The error of `drbd-reactorctl` is interesting. Can you show the output of:

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/linbit/original/1X/441c1a70701ea3e5068f19b8847d6f277ab87c1e.png)

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 10, 2025, 8:33am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/5 "2025-01-10T08:33:57Z")

</div>

And i also check drbd-promote@linstor\_db.service

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/linbit/original/1X/6888e477f11add6657f48856ef821a3f848109e9.png)

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 10, 2025, 8:34am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/6 "2025-01-10T08:34:30Z")

</div>

And var-lib-linstor.mount

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/linbit/original/1X/3e33bee669e87cdc14287061286f8dd8ff92b135.png)

---

<div class="post-metadata">

**Author:** ![wanzenbug](https://yyz1.discourse-cdn.com/flex003/user_avatar/forums.linbit.com/wanzenbug/32/39_2.png) [@wanzenbug](https://forums.linbit.com/u/wanzenbug)\
**Post date:** [January 10, 2025, 8:48am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/7 "2025-01-10T08:48:07Z")

</div>

For the gateway error: you need to add all possible controller urls to the `/etc/linstor-gateway/linstor-gateway.toml` file:

```toml
[linstor]
controllers = ["10.10.1.1", "10.10.1.2", "10.10.1.3"]

```

(Use the right DNS names/IP Addresses for your nodes), then restart the `linstor-gateway` service

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 10, 2025, 8:55am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/8 "2025-01-10T08:55:03Z")

</div>

> [@wanzenbug](#):
>
> For the gateway error: you need to add all possible controller urls to the `/etc/linstor-gateway/linstor-gateway.toml` file:

Still same error, regardless of whether to add `/etc/linstor-gateway/linstor-gateway.toml` or not, I can see corresponding logs in linstor-controller, but the final result is failure.

---

<div class="post-metadata">

**Author:** ![wanzenbug](https://yyz1.discourse-cdn.com/flex003/user_avatar/forums.linbit.com/wanzenbug/32/39_2.png) [@wanzenbug](https://forums.linbit.com/u/wanzenbug)\
**Post date:** [January 10, 2025, 9:08am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/9 "2025-01-10T09:08:04Z")

</div>

Have you seen this error

```auto
Jan 10 16:09:43 node1 ocf-rs-wrapper[5496]: Jan 10 16:09:43 INFO: Running start for /dev/drbd/by-res/ss/0 on /srv/ha/internal/ss
Jan 10 16:09:43 node1 ocf-rs-wrapper[5496]: Jan 10 16:09:43 ERROR: There is one or more mounts mounted under /srv/ha/internal/ss.
Jan 10 16:09:43 node1 ocf-rs-wrapper[5492]: ERROR [ocf_rs_wrapper] Filesystem:fs_cluster_private_ss,s-a-m,start: FAILED with exit code 6

```

Is there already something mounted in /srv/ha/internal/ss?

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 10, 2025, 9:11am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/10 "2025-01-10T09:11:41Z")

</div>

> [@wanzenbug](#):
>
> Is there already something mounted in /srv/ha/internal/ss?

Nothing, i can’t see anything under /srv

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/linbit/original/1X/8cc6fe90f1fad3a281d34f01033fadfa80075766.png)

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 10, 2025, 9:20am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/11 "2025-01-10T09:20:17Z")

</div>

> [@ggq](#):
>
> And i also check drbd-promote@linstor\_db.service

I found that there are two lines of ExecStop in the Service section of `drbd-promote@linstor_db.service`. Is this the reason for the abnormal output of drbd-  
reactorctl?

---

<div class="post-metadata">

**Author:** ![liniac](https://yyz1.discourse-cdn.com/flex003/user_avatar/forums.linbit.com/liniac/32/145_2.png) [@liniac](https://forums.linbit.com/u/liniac)\
**Post date:** [January 10, 2025, 5:47pm UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/12 "2025-01-10T17:47:37Z")

</div>

I’m noticing this earlier shared journal output is from node1:

> Jan 10 16:09:26 node1 ocf-rs-wrapper[5362]: Jan 10 16:09:26 INFO: Running start for /dev/drbd/by-res/ss/0 on /srv/ha/internal/ss  
> Jan 10 16:09:26 node1 ocf-rs-wrapper[5362]: Jan 10 16:09:26 ERROR: There is one or more mounts mounted under /srv/ha/internal/ss.  
> Jan 10 16:09:26 node1 ocf-rs-wrapper[5358]: ERROR [ocf\_rs\_wrapper] Filesystem:fs\_cluster\_private\_ss,s-a-m,start: FAILED with exit code 6  
> Jan 10 16:09:26 node1 systemd[1]: ocf.rs@fs\_cluster\_private\_ss.service: Main process exited, code=exited, status=6/NOTCONFIGURED

But the screenshot you shared for `/srv` is from node2.

It seems like promotion was attempted on node1 based on this output, (which would necessarily preclude promotion on node2) but I am curious about what might be mounted under `/srv/ha/internal/ss` for node1?

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 11, 2025, 12:00am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/13 "2025-01-11T00:00:42Z")

</div>

> [@liniac](#):
>
> It seems like promotion was attempted on node1 based on this output, (which would necessarily preclude promotion on node2) but I am curious about what might be mounted under `/srv/ha/internal/ss` for node1?

The results of node1 and node2 are the same. Sorry, I forgot to post the results related to node1 before.  
 ![image](https://canada1.discourse-cdn.com/flex003/uploads/linbit/original/1X/e0e93129721c420af8339ef53d175de8390c6042.png)

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 11, 2025, 12:02am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/14 "2025-01-11T00:02:35Z")

</div>

If you guys need more logs and other information, fell free to contact me anytime.

---

<div class="post-metadata">

**Author:** ![liniac](https://yyz1.discourse-cdn.com/flex003/user_avatar/forums.linbit.com/liniac/32/145_2.png) [@liniac](https://forums.linbit.com/u/liniac)\
**Post date:** [January 13, 2025, 7:35pm UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/15 "2025-01-13T19:35:51Z")

</div>

In the source code for the Filesystem resource agent which is producing that error, I am seeing it checks `/proc/mounts` and `/etc/mtab` to determine if there are existing mounts mounted under the mount point.

After reconfirming the `There is one or more mounts mounted` error presents in the journalctl output after attempting another `linstor-gateway iscsi create` command (using a different unique name in your IQN and different IP address within your chosen subnet), do you find the path specified when you `cat` either `/proc/mounts` or `/etc/mtab` on the same node with that error in its system journal?

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 14, 2025, 2:30am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/16 "2025-01-14T02:30:00Z")

</div>

New linstor-gateway cmd: `linstor-gateway iscsi create iqn.2025-02.rcr.test:info1 172.17.1.0/23 2G -r iso_res_group --loglevel debug`

And journalctl output:

> <https://gist.github.com/ggqshr/d2f44ba48675b8679c20f7557f172b8f>

and /proc/mounts with timestamp with 1 second interval:

> <https://gist.github.com/ggqshr/3d34a234d3e68d708354ce89960ffd80>

and /etc/mtab also with timestamp with 1 second interval:

> <https://gist.github.com/ggqshr/79a95146556d82a13094c2eddea88ed8>

@liniac

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 14, 2025, 6:19am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/17 "2025-01-14T06:19:32Z")

</div>

Additional, i find some log in dmesg -kT, I don’t know if these will help.

> <https://gist.github.com/ggqshr/ba2d410d3f38b185a08388182da7d2ca>

---

<div class="post-metadata">

**Author:** ![liniac](https://yyz1.discourse-cdn.com/flex003/user_avatar/forums.linbit.com/liniac/32/145_2.png) [@liniac](https://forums.linbit.com/u/liniac)\
**Post date:** [January 17, 2025, 12:30am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/18 "2025-01-17T00:30:54Z")

</div>

I see that you’ve opened and closed an issue in the DRBD Reactor Github regarding the FreezerState, I wanted to link that back here for future forum users:

[https://github.com/LINBIT/drbd-reactor/issues/14](https://github.com/LINBIT/drbd-reactor/issues/14)

Regarding troubleshooting the iscsi creation error, it doesn’t seem like there’s an obvious culprit in your mounts via the methods we’ve used so far, so I would suggest a more granular review of the Filesystem resource agent logic, which is where we are seeing the fatal error in your case.

I reccomend modifying the resource agent script itself to temporarily add `set -x` to do this. Navigate to `/usr/lib/ocf/resource.d/heartbeat` (or wherever your resource agent directory is) on each node, and after making a backup copy of the `Filesystem` file there, modify the original file to add `set -x` on a new line at the beginning of the script, I have had success placing it above the `#Defaults` line.

After you’ve modified those files, use the `linstor-gateway iscsi create` command again so the actions of the resource agent may be captured in the system journal. Once performed, you can find the actions of the resource agent output to those system journals and that should provide more insight on what step it is failing and why.

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [January 17, 2025, 12:50am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/19 "2025-01-17T00:50:38Z")

</div>

Thanks, I’ll try it later.

---

<div class="post-metadata">

**Author:** ![ggq](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@ggq](https://forums.linbit.com/u/ggq)\
**Post date:** [February 11, 2025, 3:28am UTC](https://forums.linbit.com/t/error-unknown-systemd-freezerstate/546/20 "2025-02-11T03:28:24Z")

</div>

Finally, after manually creating the folder, everything was ok.

```bash
mkdir -p /srv/ha/internal

```
