• Opret dig
  • Glemt adgangskode

User account menu

  • Artikler
  • Forside
  • Forum
  • Nyheder
  • Log ind
Hjem
LinuxIN.dk

Snak med

Opret dig!

Af Slettet220102 | 04.05.2020 00:54

Zsys værtøjet til Ubuntu 20.04 afviger fra god ZFS praksis. *Advarsel*

Løst og fast
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.
  • Log ind eller opret dig for at tilføje kommentarer

Kommentarer1

# 1

5 år 2 måneder siden

Permalink

Indsendt af linuxuser42 den 4. maj 2020 kl. 07:26

Permalink

Hmm. Ja det ser ud som om de

Hmm. Ja det ser ud som om de har lidt for travlt med at skovle denne feature ud.
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.
  • Log ind eller opret dig for at tilføje kommentarer

Svar søges

den er sjov 0
llumos Unix-operativsystem, 0
Den er go 0
14. februar = I Love Free Software Day 0
Lokal fil-deling - for de dovne. 0

Seneste aktivitet

PcLinuxOS er død længe leve Pclosdebian 11
Reserve kernel og btrfs 1
En snak om Linux-kompatibel software 12
PCLinuxOS 28
"Intet realistisk alternativ" - mig i r*ven 17
Open source events i danmark? 3
Virtuel maskine? 4
Gode anmeldelser Zorin OS 17.3 8
Open Source-eksperimentet 5
Nulstilling af adgangskode 6
Ingen Mint 5
Linux App Store Flathub når 3 milliarder downloads 2
Digitaliseringsministeriet sætter gang i pilotprojekt om digital suverænitet 3
Mest sikker webbrowser 5
Firefox 2
Privatbeskeder 7
Backup/synkronisering? 3
BigLinux 5
Chatgpt satire 1
Læsning af databasefil i Firefox 2

© 2025 Linuxin og de respektive skribenter

Oprettet og drevet af nørder siden 2004 !