I see you got “subvol=@“ and @home options in your fstab. You first mount the actual drive to @ and then further down, not show in your fstab screenshot, you map @ to /mnt, correct?
I’ll try that tomorrow...
I’ll try that tomorrow...
thomas@homeserver:~$ cat /etc/fstab UUID=9c3b40b6-c716-11e8-a25e-bcaec52979b7 / btrfs defaults,ssd,autodefrag,noatime,subvol=@ 0 0 UUID=aa3dceed-ea65-4e14-87c8-ad93810e556c /media/data/ btrfs defaults,autodefrag 0 0 UUID=e8ec2376-3087-42e4-a73d-26983ff37bbc /media/backup btrfs noauto 0 0 UUID=f6a03583-3a40-404f-897e-320de7e33746 none swap sw 0 0 thomas@homeserver:~$ sudo mount -t btrfs /dev/disk/by-uuid/9c3b40b6-c716-11e8-a25e-bcaec52979b7 /mnt thomas@homeserver:~$ ll /mnt total 48 drwxr-xr-x 1 root root 224 Oct 3 14:16 ./ drwxr-xr-x 1 root root 224 Oct 3 14:16 ../ drwxr-xr-x 1 root root 2430 Oct 3 14:38 bin/ drwxr-xr-x 1 root root 620 Oct 3 14:39 boot/ ... thomas@homeserver:~$ sudo umount /dev/disk/by-uuid/9c3b40b6-c716-11e8-a25e-bcaec52979b7 thomas@homeserver:~$ sudo btrfs subvolume show / / Name: <FS_TREE> UUID: - Parent UUID: - Received UUID: - Creation time: - Subvolume ID: 5 Generation: 3565 Gen at creation: 0 Parent ID: 0 Top level ID: 0 Flags: - Snapshot(s): thomas@homeserver:~$ sudo btrfs subvolume show /home ERROR: not a subvolume: /home ERROR: Failed to get subvol info /home: 1 thomas@homeserver:~$
thomas@homeserver:~$ blkid | grep sda /dev/sda2: LABEL="OS" UUID="9c3b40b6-c716-11e8-a25e-bcaec52979b7" UUID_SUB="9de1419d-bce2-4df0-881a-18b321c698ed" TYPE="btrfs" PARTUUID="73f89684-7bb9-4719-aca5-235a51b8dd2c" /dev/sda3: UUID="f6a03583-3a40-404f-897e-320de7e33746" TYPE="swap" PARTUUID="03c0c5de-c4ef-4642-bdd2-9a9715bb1880"
thomas@homeserver:~$ cat /var/log/installer/installer-journal.txt | grep fstab Oct 05 14:50:42 ubuntu-server curtin_log.1919[2187]: {'WORKING_DIR': '/tmp/tmpgzcfbsxb/scratch', 'OUTPUT_FSTAB': '/tmp/tmpgzcfbsxb/state/fstab', 'OUTPUT_INTERFACES': ... Oct 05 14:52:56 ubuntu-server curtin_log.1919[2187]: cryptsetup: WARNING: could not determine root device from /etc/fstab Oct 05 14:53:12 ubuntu-server curtin_log.1919[2187]: This error is probably caused by an invalid /etc/fstab Oct 05 14:53:15 ubuntu-server curtin_event.1919[2731]: start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: writing etc/fstab Oct 05 14:53:15 ubuntu-server curtin_event.1919[2731]: finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: SUCCESS: writing etc/fstab Oct 05 14:53:15 ubuntu-server curtin_log.1919[2187]: start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: writing etc/fstab Oct 05 14:53:15 ubuntu-server curtin_log.1919[2187]: finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: SUCCESS: writing etc/fstab
thomas@homeserver:~$ cat /var/log/installer/installer-journal.txt | grep crypt Oct 05 14:48:49 ubuntu-server kernel: Key type encrypted registered Oct 05 14:48:49 ubuntu-server systemd[1]: Reached target Local Encrypted Volumes. Oct 05 14:49:58 ubuntu-server ureadahead[1015]: ureadahead:/usr/lib/tmpfiles.d/cryptsetup.conf: Error retrieving chunk extents: Operation not supported Oct 05 14:52:56 ubuntu-server curtin_log.1919[2187]: cryptsetup: WARNING: could not determine root device from /etc/fstab
Comment