No edit summary |
|||
Line 2: | Line 2: | ||
== Sommario == | == Sommario == | ||
Se l'utente sceglie di usare Brtfs su una o più partizioni, allora potrà: | Se l'utente sceglie di usare Brtfs su una o più partizioni, allora potrà: | ||
* creare automaticamente nuove immagini di disco minime prima di ogni transazione yum | * creare automaticamente nuove immagini di disco minime prima di ogni transazione yum | ||
Line 11: | Line 10: | ||
== Progettista == | == Progettista == | ||
* Nome: [[User:Cjb|Chris Ball]] | |||
* Nome: [[User:Cjb|Chris Ball]] | * Email: [mailto:cjb@laptop.org cjb@laptop.org] | ||
* | * Nome: [[User:Josef|Josef Bacik]] | ||
* Email: [mailto:josef@redhat.com josef@redhat.com] | |||
== Stato corrente == | == Stato corrente == | ||
* | * Rilascio: [[Releases/13| Fedora 13]] | ||
* | * Per informazioni aggiornate sullo stato di ''SystemRollbackWithBtrfs'' consultare la [[Features/SystemRollbackWithBtrfs | pagina originale]]. | ||
Per informazioni aggiornate sullo stato di '' | |||
== Descrizione dettagliata == | == Descrizione dettagliata == | ||
Btrfs | Btrfs serve a creare un'immagine minima del filesystem che può essere montata (e da cui si può avviare il sistema) in maniere selettiva. Le immagini create sono ottimizzazioni ''copy-on-write'', in modo da non avere il sovraccarico di file duplicati quando non sono presenti cambiamenti. | ||
It's important to note that these snapshots are whole-filesystem snapshots -- while we propose to create a new snapshot each time a yum transaction happens, that doesn't mean reverting to an earlier snapshot will only revert the files changed by yum! The entire root filesystem will be reverted, including users' home directories if they are on btrfs. (Because of this, a user may decide to keep /home on a separate, non-btrfs partition where it is unaffected by rollbacks they decide to initiate.) | It's important to note that these snapshots are whole-filesystem snapshots -- while we propose to create a new snapshot each time a yum transaction happens, that doesn't mean reverting to an earlier snapshot will only revert the files changed by yum! The entire root filesystem will be reverted, including users' home directories if they are on btrfs. (Because of this, a user may decide to keep /home on a separate, non-btrfs partition where it is unaffected by rollbacks they decide to initiate.) | ||
Line 45: | Line 38: | ||
Of these, the ability for our developers to feel comfortable tracking Rawhide without fear of an unusable install seems to have the most immediate utility to Fedora. | Of these, the ability for our developers to feel comfortable tracking Rawhide without fear of an unusable install seems to have the most immediate utility to Fedora. | ||
== | == Altre informazioni == | ||
Per: | |||
* Obbiettivi | |||
* | * Test Plan | ||
* | * Esperienza Utente | ||
* Dipendenze | |||
* Progetto corrente | |||
* Documentazione | |||
* Note di rilascio | |||
* Commenti e Discussioni | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* | |||
consultare la [[Features/SystemRollbackWithBtrfs | pagina originale]] di questo documento. | |||
[[Category:FeatureAcceptedF13]] | [[Category:FeatureAcceptedF13]] | ||
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete--> | <!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete--> | ||
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process --> | <!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process --> |
Revision as of 09:52, 26 January 2010
Ripristino di Sistema con Btrfs
Sommario
Se l'utente sceglie di usare Brtfs su una o più partizioni, allora potrà:
- creare automaticamente nuove immagini di disco minime prima di ogni transazione yum
- scegliere da quale immagine minima avviare il sistema
- creare manualmente una nuova immagine minima
Tutte le opzioni indicate richiedono i privilegi di root.
Progettista
- Nome: Chris Ball
- Email: cjb@laptop.org
- Nome: Josef Bacik
- Email: josef@redhat.com
Stato corrente
- Rilascio: Fedora 13
- Per informazioni aggiornate sullo stato di SystemRollbackWithBtrfs consultare la pagina originale.
Descrizione dettagliata
Btrfs serve a creare un'immagine minima del filesystem che può essere montata (e da cui si può avviare il sistema) in maniere selettiva. Le immagini create sono ottimizzazioni copy-on-write, in modo da non avere il sovraccarico di file duplicati quando non sono presenti cambiamenti.
It's important to note that these snapshots are whole-filesystem snapshots -- while we propose to create a new snapshot each time a yum transaction happens, that doesn't mean reverting to an earlier snapshot will only revert the files changed by yum! The entire root filesystem will be reverted, including users' home directories if they are on btrfs. (Because of this, a user may decide to keep /home on a separate, non-btrfs partition where it is unaffected by rollbacks they decide to initiate.)
A "rollback" to an older snapshot is not destructive to data. It switches to an earlier snapshot, and later snapshots are still available afterwards. We allow the user to choose which snapshot will be mounted next, and making that choice does not affect or destroy any other snapshots.
We are not proposing Btrfs to be the default filesystem for Fedora 13; this feature would only be present on installs where Btrfs has been optionally chosen for at least one filesystem.
Vantaggi per Fedora
Esistono diversi casi d'uso interessanti a proposito di questo progetto:
- Aaron is a developer whose laptop tracks Rawhide daily. There will be days where Rawhide is not bootable/usable, though. When Rawhide breaks, automated snapshots allow Aaron to easily revert to the previous day's filesystem until Rawhide's known-working again.
- Barbara wishes to bisect a mysterious bug that appears to have crept in on one of her recent Rawhide updates. Performing the full-system bisection is made easier by binary searching the snapshots on her disk, to narrow down responsibility for the bug to a small list of modified packages and their versions.
- Christine wishes to create weekly snapshots by hand in case she later wants to have access to older versions of the files she's been working on.
- Donald has, independent of yum/rpm, somehow hosed his system and doesn't know how to recover it. He'd like to revert back to the last snapshot that was made.
Of these, the ability for our developers to feel comfortable tracking Rawhide without fear of an unusable install seems to have the most immediate utility to Fedora.
Altre informazioni
Per:
- Obbiettivi
- Test Plan
- Esperienza Utente
- Dipendenze
- Progetto corrente
- Documentazione
- Note di rilascio
- Commenti e Discussioni
consultare la pagina originale di questo documento.