You are not logged in.

#1 2012-10-16 20:07:23

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

systemd: mounting /dev/mapper/... fails

Since some recent update one of my LUKS-encrypted volumes is not being mounted correctly.

I used to have this .mount file as the volume actually is a multi-device btrfs volume:

[Unit]
Description=/mnt/archive
Wants=cryptsetup.target
After=cryptsetup.target

[Mount]
What=/dev/mapper/archive1
Where=/mnt/archive
Type=btrfs
Options=defaults,noatime,nodiratime

The error I get when I try to manually start this service is:

systemd[1]: Expecting device dev-mapper-archive1.device...
thor systemd[1]: Job dev-mapper-archive1.device/start timed out.
thor systemd[1]: Timed out waiting for device dev-mapper-archive1.device.
thor systemd[1]: Dependency failed for /mnt/archive.
thor systemd[1]: Job mnt-archive.mount/start failed with result 'dependency'.
thor systemd[1]: Job dev-mapper-archive1.device/start failed with result 'timeout'.

I double-checked /dev/mapper and there definitely is the device node in question, which I can manually mount without any problem.


Any idea why my .mount file stopped working or why systemd doesn't find the existing /dev/mapper/archive1?

Offline

Board footer

Powered by FluxBB