Opensuse install btrfs
Learn more. Asked 5 years, 2 months ago. Active 4 years, 2 months ago. Viewed 2k times. Did I miss something? Improve this question.
Community Bot 1. Michele Cereda Michele Cereda 36 5 5 bronze badges. Add a comment. Active Oldest Votes. After installation, start the rescue system and Move the installed system directories to the desired subvolume, such that you have the usual Linux filesystem tree below that subvolume. If you install btrfs to the root partition, by default Snapper is installed and you should plan to double your normal root partition size to allow for snapshotting whenever YaST or zypper is used to make changes to the system.
You can also disable Snapper from any snapshotting even for the system partition, and just use btrfs on root and home partitions. You may also have seen 3. Advanced Disk Setup. Thanks a lot anyway for taking the time to give me detailed info, much appreciated! Originally Posted by AKoine. Originally Posted by vl BTRFS looks like a swiss army knife to me and you know swiss army knives are not the best knives. Originally Posted by gogalthorp.
Unless you have a good reason to do otherwise, you should always specify the cleanup algorithm when creating a snapshot, otherwise the snapshot will never be deleted unless you do it manually. You do this by adding the following to your snapper commands:. The following commands assume you will be creating snapshots on the default system configuration root. As mentioned above, if you want to use the non-default configuration, add the following the the snapshot commands:.
Create a snapshot of the type pre and prints the snapshot number. First command needed to create a pair of snapshots used to save a "before" and "after" state. Create a snapshot of the type post paired with the pre snapshot number Second command needed to create a pair of snapshots used to save a "before" and "after" state.
Creates a stand-alone snapshot type single for the default root configuration with a description. Because no cleanup-algorithm is specified, the snapshot will never be deleted automatically.
To prevent disk space full, Snapper periodically cleans snapshots up. By default, cron mechanism is in use. But there are no road-blocks to use systemd timer mechanism. Please, do not modify snapshot cleanup scripts manually to prevent incorrect snapshots cleanup behaviour!
If you want to instead delete all snapshots, first do snapper list , then replace by the highest snapshot number obtained in the following command:. As you can see YaST has created a snapper config called "root" for your root file system. You can see what snapshots exist:. Snapshot 0 always refers to the current system. Anybody using btrfs should try to stick to the latest kernel.
And keep backups. The stable series received only small number of fixes. Fairly new package I see. I'd like to reference that on the wiki page I wrote. Are you going to submit it to a devel repo, or keep it in your home?
If in your home, is it going to hang around long enough to be worth pointing the testing team at? Or are they already using it? A couple months ago, they simply were running a script that downloaded and compiled what they needed. I stopped enhancing the package as soon it worked for me, the specfile is not perfect and I did not attempt to push it to devel project lack of time.
0コメント