root@server:~# cat /etc/issue.net Ubuntu 16.04.1 LTS root@server:~# uname -a Linux server 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux root@server:~# fdisk -l /dev/sda Medium /dev/sda: 1,8 TiB, 2000398934016 Bytes, 3907029168 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Typ der Medienbezeichnung: dos Medienkennung: 0xbexxxxc0 Gerät Boot Start Ende Sektoren Größe Id Typ /dev/sda1 2048 2050047 2048000 1000M fd Linux raid autodetect /dev/sda2 2050048 10049535 7999488 3,8G 82 Linux Swap / Solaris /dev/sda3 10049536 51009535 40960000 19,5G fd Linux raid autodetect /dev/sda4 51009536 3907029167 3856019632 1,8T 83 Linux root@server:~# fdisk -l /dev/sdb Medium /dev/sdb: 1,8 TiB, 2000398934016 Bytes, 3907029168 Sektoren Einheiten: sectors von 1 * 512 = 512 Bytes Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes Typ der Medienbezeichnung: dos Medienkennung: 0x31xxxxd0 Gerät Boot Start Ende Sektoren Größe Id Typ /dev/sdb1 2048 2050047 2048000 1000M fd Linux raid autodetect /dev/sdb2 2050048 10049535 7999488 3,8G 82 Linux Swap / Solaris /dev/sdb3 10049536 51009535 40960000 19,5G fd Linux raid autodetect /dev/sdb4 51009536 3907029167 3856019632 1,8T 83 Linux root@server:~# mkfs.btrfs -m raid1 -d raid1 -L "Containers" /dev/sda4 /dev/sdb4 btrfs-progs v4.4 See http://btrfs.wiki.kernel.org for more information. Label: Containers UUID: 7fcbfa35-1a5a-4702-818d-4dddcbeec16b Node size: 16384 Sector size: 4096 Filesystem size: 3.59TiB Block group profiles: Data: RAID1 1.01GiB Metadata: RAID1 1.01GiB System: RAID1 12.00MiB SSD detected: no Incompat features: extref, skinny-metadata Number of devices: 2 Devices: ID SIZE PATH 1 1.79TiB /dev/sda4 2 1.79TiB /dev/sdb4 root@server:~# blkid /dev/sda2: UUID="69409a33-7388-4d1c-8b8a-3dbbc6f7ffcb" TYPE="swap" PARTUUID="befbc4c0-02" /dev/sda1: UUID="eca50505-7162-2228-51b4-f760fdb31688" UUID_SUB="6a3e3880-d5cc-e3fc-03a4-8fe4c257a873" LABEL="h2654599:0" TYPE="linux_raid_member" PARTUUID="befbc4c0-01" /dev/sda3: UUID="8c76da36-5996-cbab-212a-6d0a12d6604b" UUID_SUB="a4f13949-7d8b-5e2e-44b2-9a846970812c" LABEL="h2654599:1" TYPE="linux_raid_member" PARTUUID="befbc4c0-03" /dev/sda4: LABEL="Containers" UUID="7fcbfa35-1a5a-4702-818d-4dddcbeec16b" UUID_SUB="72b0e518-b4ad-4b06-b508-0ee677e750fd" TYPE="btrfs" PARTUUID="befbc4c0-04" /dev/sdb1: UUID="eca50505-7162-2228-51b4-f760fdb31688" UUID_SUB="3c5b8da5-ee52-c46a-95be-6c590e11c168" LABEL="h2654599:0" TYPE="linux_raid_member" PARTUUID="3199a6d0-01" /dev/sdb2: UUID="688eb599-cfaa-4bbf-871e-85f94a0f3a12" TYPE="swap" PARTUUID="3199a6d0-02" /dev/sdb3: UUID="8c76da36-5996-cbab-212a-6d0a12d6604b" UUID_SUB="3fa1ef6a-2dd4-d54c-40d0-4289d3e4898a" LABEL="h2654599:1" TYPE="linux_raid_member" PARTUUID="3199a6d0-03" /dev/sdb4: LABEL="Containers" UUID="7fcbfa35-1a5a-4702-818d-4dddcbeec16b" UUID_SUB="26cb8e71-b815-4a43-9aa4-f596eb401454" TYPE="btrfs" PARTUUID="3199a6d0-04" /dev/md0: UUID="61f12019-eb89-4db7-8f59-35a5dd12bd00" TYPE="ext4" /dev/md1: UUID="fe94a74a-e37e-444f-9338-529aa7975d0a" TYPE="ext4" root@server:~# btrfs filesystem show Label: 'Containers' uuid: 7fcbfa35-1a5a-4702-818d-4dddcbeec16b Total devices 2 FS bytes used 640.00KiB devid 1 size 1.79TiB used 2.01GiB path /dev/sda4 devid 2 size 1.79TiB used 2.01GiB path /dev/sdb4 root@server:~# cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # proc /proc proc nodev,noexec,nosuid 0 0 /dev/md1 / ext4 defaults 1 1 /dev/sda2 none swap defaults 0 0 /dev/sdb2 none swap defaults 0 0 /dev/md0 /boot ext4 defaults 1 2 #neu UUID=7fcbfa35-1a5a-4702-818d-4dddcbeec16b /mnt/Containers btrfs defaults,subvol=@,compress 0 1 root@server:~# ls -l /mnt insgesamt 4 drwxr-xr-x 2 root root 4096 Jan 26 11:25 Containers root@server:~# mount /mnt/Containers mount: mount(2) failed: Datei oder Verzeichnis nicht gefunden