
On 27 July 2015 at 12:19, Brian May <brian@microcomaustralia.com.au> wrote:
On Mon, 27 Jul 2015 at 10:49 Marcus Furlong <furlongm@gmail.com> wrote:
I have the same issue, with btrfs on /dev/sdb1 and /dev/sdc1. Around half the time, it doesn't mount on boot. When debugging, I discovered that it does actually mount for less than a second and then it automatically unmounts.Changing from /dev/sdb1 to /dev/sdc1 made no difference.
Sounds like my problem. How did you work out that systemd unmounts it?
I didn't work yet out what umounts it exactly. But to see if it mounted I did something like the following: for i in `seq 1 100` ; do mount /dev/sdb1 ; mount | grep sdb1 ; done and on some iterations it would be mounted, but umounted on subsequent iterations.
I asked on the #btrfs irc channel recently and there was a suggestion that the issue was related to udev rules:
So no solution or work around then?
My current workaround is to keep mounting in rc.local until it stays mounted for longer than 10 seconds. Marcus. -- Marcus Furlong