Re: mount(8) does not work when using a specific target dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21 June 2017 at 13:15, Sami Kerola <kerolasa@xxxxxx> wrote:
> We (Cloudflare) got a strange issue with mount(8) from debian jessie
> package v2.25.2. Kernel version is 4.4.46 (self compiled, works on
> other servers).
>
> An md device, that is constructed of 12 luks encrypted disks, will not
> mount to a path /disk/data but it happily mounts to any other path.
> This is rather unfortunate because we expect to see our device in that
> path. The same happens with a dummy file-based filesystem[1], so this
> is unlikely to be related to the device. Here is a debug sample.

Found it. A systemd mount unit defined a label, that the device did
not have and neither the dummy filesystem, so the systemd immediately
umounted the /data/disk/ mount point.

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux