Heisse Spur :).
Also “fdisk -l”:
Festplatte /dev/sda: 931,5 GiB, 1000204886016 Bytes, 1953525168 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x0004200f
Gerät Boot Anfang Ende Sektoren Größe Kn Typ
/dev/sda1 2048 12611583 12609536 6G 82 Linux Swap / Solaris
/dev/sda2 * 12611584 1953523711 1940912128 925,5G f W95 Erw. (LBA)
/dev/sda5 12613632 128536575 115922944 55,3G 83 Linux
/dev/sda6 128538624 1041027071 912488448 435,1G 83 Linux
/dev/sda7 1041029120 1834639359 793610240 378,4G 83 Linux
/dev/sda8 1834641408 1953523711 118882304 56,7G 83 Linux
Festplatte /dev/sdb: 465,8 GiB, 500107862016 Bytes, 976773168 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x02caec51
Gerät Boot Anfang Ende Sektoren Größe Kn Typ
/dev/sdb1 2048 976773167 976771120 465,8G f W95 Erw. (LBA)
/dev/sdb5 4096 83890175 83886080 40G 83 Linux
Festplatte /dev/sdc: 931,5 GiB, 1000204886016 Bytes, 1953525168 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x00021b49
Gerät Boot Anfang Ende Sektoren Größe Kn Typ
/dev/sdc1 2048 12578815 12576768 6G 82 Linux Swap / Solaris"/.snapshots"
/dev/sdc2 * 12578816 1953523711 1940944896 925,5G f W95 Erw. (LBA)
/dev/sdc5 12580864 176420863 163840000 78,1G 83 Linux
/dev/sdc6 176422912 1847586815 1671163904 796,9G 83 Linux
/dev/sdc7 1847588864 1901207551 53618688 25,6G 83 Linux
Festplatte /dev/sdd: 223,6 GiB, 240057409536 Bytes, 468862128 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x0004a578
Gerät Boot Anfang Ende Sektoren Größe Kn Typ
/dev/sdd1 * 2048 83892223 83890176 40G 83 Linux
/dev/sdd2 83892224 167782399 83890176 40G 83 Linux
/dev/sdd3 167782400 468860927 301078528 143,6G f W95 Erw. (LBA)
/dev/sdd5 167784448 468840447 301056000 143,6G 83 Linux
Festplatte /dev/sde: 233,8 GiB, 251000193024 Bytes, 490234752 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x00041d0d
Gerät Boot Anfang Ende Sektoren Größe Kn Typ
/dev/sde1 * 2048 490231807 490229760 233,8G 7 HPFS/NTFS/exFAT
Aber Achtung! Dies ist die Situation mit der neuen Platte. Das BIOS verschiebt die /dev/sdX Buchstaben wenn man in einer anderen Konfiguration bootet. Obenstehend ist /dev/sdb die neue Platte und /dev/sdd das Boot-Medium. Und nun /etc/fstab (eingerichtet ohne die neue Platte):
/dev/sdc2 / btrfs defaults 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/tmp btrfs subvol=/var/tmp 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/spool btrfs subvol=/var/spool 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/opt btrfs subvol=/var/opt 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/log btrfs subvol=/var/log 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/lib/pgsql btrfs subvol=/var/lib/pgsql 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/lib/named btrfs subvol=/var/lib/named 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/lib/mysql btrfs subvol=/var/lib/mysql 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/lib/mariadb btrfs subvol=/var/lib/mariadb 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/lib/mailman btrfs subvol=/var/lib/mailman 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/lib/machines btrfs subvol=/var/lib/machines 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/lib/libvirt/images btrfs subvol=/var/lib/libvirt/images 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/crash btrfs subvol=/var/crash 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /var/cache btrfs subvol=/var/cache 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /usr/local btrfs subvol=/usr/local 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /tmp btrfs subvol=/tmp 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /srv btrfs subvol=/srv 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /opt btrfs subvol=/opt 0 0
#UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /home btrfs subvol=/home 0 0
UUID=72719c81-1f89-4d11-a669-cf6305c9a1ed /home ext4 defaults 1 2
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /boot/grub2/x86_64-efi btrfs subvol=/boot/grub2/x86_64-efi 0 0
UUID=2d20f7c7-d66a-4628-90dc-4fe61127ff6b /boot/grub2/i386-pc btrfs subvol=/boot/grub2/i386-pc 0 0
/dev/sdc2 /.snapshots btrfs subvol=/.snapshots 0 0
UUID=352bf073-0ecf-4c2e-8708-e56339f73563 swap swap defaults 0 0
UUID=24ebaeb7-21f2-4c6f-814f-7d1788514863 swap swap defaults 0 0
UUID=2618c23e-dba9-4e58-a69f-75e2fee34286 /backup ext4 defaults 1 2
Ich hatte Probleme mit den Snapshots (Partition voll) und habe im Rahmen der Reparatur “/” und “/.snapshots” händisch geändert. Im ersten Post habe ich die Fehlermeldungen von “journalctl -xb” gepostet: sie beziehen sich genau hierauf.
seufz
Weißt Du, wie man die UUIDs für “/” und "/.snapshots"ermitteln kann, damit ich die /etc/fstab wieder zunageln kann?
<edit> “blkid” um die UUID von “/” zu bekommen, okay, aber “/.snapshots”? </edit>