Vandaag na een crash van de schijf besloten om Ubuntu 16.04 Root on ZFS eens te proberen.
Er staat hier https://github.com/zfsonl.../Ubuntu-16.04-Root-on-ZFS een fantastisch uitgebreide handleiding.
Vanuit de Live -USB gestart en de basis's in orde gemaakt. In plaats van een pool te maken met /dev/disk-by-id/ heb ik /dev/disk/by-partabel/ gebruikt zoals @FireDrunk eens uitlegde in zijn blog.
Ik heb dus niet dit gedaan
Helaas gaat het hele verhaal mis bij punt 2.3
Dan anders geprobeerd
na een destroy nog eens wat anders geprobeerd, via link
Volgens mij is dat mountpoint steeds het punt waar de live-USB vanaf draait en kan ik het daarom ook niet unmounten.
Ik mis ff wat inzicht. Wat vergeet ik hier?
Er staat hier https://github.com/zfsonl.../Ubuntu-16.04-Root-on-ZFS een fantastisch uitgebreide handleiding.
Vanuit de Live -USB gestart en de basis's in orde gemaakt. In plaats van een pool te maken met /dev/disk-by-id/ heb ik /dev/disk/by-partabel/ gebruikt zoals @FireDrunk eens uitlegde in zijn blog.
Ik heb dus niet dit gedaan
maar de methode van Firedrunk gebruikt.Run this if you need legacy (BIOS) booting:
# sgdisk -a1 -n2:34:2047 -t2:EF02 /dev/disk/by-id/scsi-SATA_disk1
Run this for UEFI booting (for use now or in the future):
# sgdisk -n3:1M:+512M -t3:EF00 /dev/disk/by-id/scsi-SATA_disk1
Run these in all cases:
# sgdisk -n9:-8M:0 -t9:BF07 /dev/disk/by-id/scsi-SATA_disk1
# sgdisk -n1:0:0 -t1:BF01 /dev/disk/by-id/scsi-SATA_disk1
Helaas gaat het hele verhaal mis bij punt 2.3
code:
1
2
3
4
5
6
| zpool create -o ashift=12 \ -O atime=off -O canmount=off -O compression=lz4 -O normalization=formD \ -O mountpoint=/ -R /mnt \ rpool /dev/disk/by-partlabel/extern mountpoint '/mnt/' exists and is not empty |
Dan anders geprobeerd
code:
1
2
3
4
5
| zpool create -m none -o ashift=12 -O compression=lz4 rpool /dev/disk/by-partlabel/extern zfs create -o mountpoint=/ rpool/root cannot mount '/': directory is not empty filesystem successfully created, but not mounted |
na een destroy nog eens wat anders geprobeerd, via link
code:
1
2
3
4
5
6
| root@ubuntu:/# zpool create -m none -o ashift=12 -O compression=lz4 rpool /dev/disk/by-partlabel/extern root@ubuntu:/# zfs create -o canmount=off -o mountpoint=none rpool/ROOT root@ubuntu:/# zfs create -o canmount=noauto -o mountpoint=/ rpool/ROOT/ubuntu root@ubuntu:/# zfs mount rpool/ROOT/ubuntu cannot mount '/': directory is not empty |

Volgens mij is dat mountpoint steeds het punt waar de live-USB vanaf draait en kan ik het daarom ook niet unmounten.
Ik mis ff wat inzicht. Wat vergeet ik hier?
[ Voor 6% gewijzigd door Beninho op 27-02-2017 23:31 ]
panasonic 5KW L-serie | 300L SWW | 3700+3200 Wp oost-west