btrfs won't mount to /home
This is kind of strange (kernel 4.6.3, Ubuntu 16.04):
# mount -t btrfs /dev/sda4 /home
# echo $? 0
# dmesg -c [382148.588847] BTRFS info (device sda4): disk space caching is enabled [382148.588851] BTRFS: has skinny extents
So it worked?
# ls /home
<empty, should be showing data>
# df | grep home
# mount | grep /home
# lsof -n | grep /home
All give no output.
So, weird, isn't it?
Now, let's try to mount to /home2:
# mkdir /home2
# mount /dev/sda4 /home2
# mount | grep home /dev/sda4 on /home2 type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
# dmesg -c [382190.199363] BTRFS info (device sda4): disk space caching is enabled [382190.199370] BTRFS: has skinny extents
What's wrong there?
Tomasz Chmielewski
https://wpkg.org
Quoted 3 lines · On Mon, 11 Jul 2016 22:45:13 +0900 Tomasz Chmielewski <[email protected]> wrote:
So, weird, isn't it?
What's wrong there?
Your systemd unmounts it immediately from /home, search the archives there's been a funny story like that recently.
Signature · 2 lines
With respect, Roman
Quoted 9 lines · Roman Mamedov
Quoted 3 lines · On Mon, 11 Jul 2016 22:45:13 +0900 Tomasz Chmielewski <[email protected]> wrote:
So, weird, isn't it?
What's wrong there?
Your systemd unmounts it immediately from /home, search the archives there's been a funny story like that recently.
Yes, could be similar to this one: https://bugs.archlinux.org/task/44658
In my case, the entry did exist in /etc/fstab, but was different than at the time of booting the system.
Tomasz Chmielewski
https://wpkg.org