Zsys værtøjet til Ubuntu 20.04 afviger fra god ZFS praksis. *Advarsel*
ZFS er måske det bedste filsystem i verden, var udviklet af Sun for mange år siden. Brugt i industrien og store datacentre i mange mange år. Regnes for det mest pålidelige og avancerede filsystem overhovedet.
ZFS er inkluderet som en installationsmulighed på root i Ubuntu 20.04. Ubuntu 20.04 kommer med deres eget værktøj til automatiske ZFS snapshots kaldet Zsys.
Ifølge en erfaren bruger i kommentarsporet til en Joe Collins video om Ubuntu 20.04 og ZFS, har Canonical's Zsys værktøj problemer og er ikke designet efter de oprindelige forskrifter for ZFS. Dårligt design, siges det.
Jeg citerer fra kommentaren fra brugeren:
Citat:
"Good explanation, but as relative experienced zfs user, I know the Ubuntu add-on zsys has some serious design problems:
1. Zsys has its own administration of the snapshots and if you use the standard zfs commands for snapshots, the zsys administration will not be updated and you will have two inconsistent snapshot administrations one inside zfs and one in zsys..
2. It seems to be intended for inexperienced users, but if you just use it, your ~2GB bpool datapool will be full after 30-50 OS updates and the system will halt. You can't detect it as inexperienced user, because bpool seems to be hidden by default in the official release. You will have to delete snapshots using a relative complex zsysctl command. If you use Google to find the zfs snapshot command, you will find the orginal zfs commands and you will create unintentionally the above inconsistencies of point 1.
3. The names of the snapshot do not give any idea about the which updates are part of the snapshot, so after 10 or so you're completely lost, unless you keep an own administration on e.g. paper about kernel- and app releases being part of each snapshot.
4. If you create a new user, the dataset USERDATA will not be updated. For the new user no dataset will be created but only a folder. That will create strange effects, especially if using that new user for e.g. system updates (snapshots inconsistencies). That new user will be excluded from own snapshot rollback. On rollback of the original user the second user will also be rolled back together with the first user.
In short: Ubuntu is a great distro and zfs is a great file system, but zsys is a poorly designed and incomplete Ubuntu add-on. As a consequence I have deleted zsys and zsysctl and rely on the standard zfs commands. I'm a fanatic Ubuntu user since 2008 and zfs user since 2018, but this Ubuntu zsys add-on to zfs is a real disappointment."
/Citat slut/
Genovervej brugen af ZFS i Ubuntu 20.04, indtil Canonical har fået styr på ZFS implementeringen, hvilket de tydeligvis ikke har endnu.
ZFS er inkluderet som en installationsmulighed på root i Ubuntu 20.04. Ubuntu 20.04 kommer med deres eget værktøj til automatiske ZFS snapshots kaldet Zsys.
Ifølge en erfaren bruger i kommentarsporet til en Joe Collins video om Ubuntu 20.04 og ZFS, har Canonical's Zsys værktøj problemer og er ikke designet efter de oprindelige forskrifter for ZFS. Dårligt design, siges det.
Jeg citerer fra kommentaren fra brugeren:
Citat:
"Good explanation, but as relative experienced zfs user, I know the Ubuntu add-on zsys has some serious design problems:
1. Zsys has its own administration of the snapshots and if you use the standard zfs commands for snapshots, the zsys administration will not be updated and you will have two inconsistent snapshot administrations one inside zfs and one in zsys..
2. It seems to be intended for inexperienced users, but if you just use it, your ~2GB bpool datapool will be full after 30-50 OS updates and the system will halt. You can't detect it as inexperienced user, because bpool seems to be hidden by default in the official release. You will have to delete snapshots using a relative complex zsysctl command. If you use Google to find the zfs snapshot command, you will find the orginal zfs commands and you will create unintentionally the above inconsistencies of point 1.
3. The names of the snapshot do not give any idea about the which updates are part of the snapshot, so after 10 or so you're completely lost, unless you keep an own administration on e.g. paper about kernel- and app releases being part of each snapshot.
4. If you create a new user, the dataset USERDATA will not be updated. For the new user no dataset will be created but only a folder. That will create strange effects, especially if using that new user for e.g. system updates (snapshots inconsistencies). That new user will be excluded from own snapshot rollback. On rollback of the original user the second user will also be rolled back together with the first user.
In short: Ubuntu is a great distro and zfs is a great file system, but zsys is a poorly designed and incomplete Ubuntu add-on. As a consequence I have deleted zsys and zsysctl and rely on the standard zfs commands. I'm a fanatic Ubuntu user since 2008 and zfs user since 2018, but this Ubuntu zsys add-on to zfs is a real disappointment."
/Citat slut/
Genovervej brugen af ZFS i Ubuntu 20.04, indtil Canonical har fået styr på ZFS implementeringen, hvilket de tydeligvis ikke har endnu.
Kommentarer1
Hmm. Ja det ser ud som om de
Der er også lidt disclaimer over det, når man installerer må man retfærdigvis sige. Måske/forhåbentlig får de styr på det. Det ser lidt underligt ud til en LTS, hvis folk på sigt kører galt, preview feature eller ej.