![]() If you want this to be permanent, add the compress or compress-force option into the /etc/fstab configuration file. After you have written some data to this partition, print the details: In regard to encryption, this is independent from any compression. Furthermore, files with the nodatacow attribute never get their extents compressed: Files that were written without compression are not compressed when the file system is mounted with the compress or compress-force option. Note, compression takes effect for new files only. This can be useful for files that have some initial uncompressible data. If you do not like this behaviour, use the compress-force option. In case you create a file, write to it, and the compressed result is greater or equal to the uncompressed size, Btrfs will skip compression for future write operations forever for this file. The zlib compression has a higher compression ratio while lzo is faster and takes less CPU load. Use the compress or compress-force option and select the compression algorithm, lzo or zlib (the default). In Leap & Tumbleweed, compression for Btrfs file systems is supported. Excluded from snapshots to allow log file analysis after the rollback of a broken system. By default, these subvolumes are created with the option no copy on write. var/lib/mariadb, /var/lib/mysql, /var/lib/pgqsl Excluded from snapshots to ensure a name server can operate after a rollback. By default, this subvolume is created with the option no copy on write.ĭirectories containing mails or mail queues are excluded to avoid a loss of mails after a rollback.Ĭontains zone data for the DNS server. Excluded to ensure virtual machine images are not replaced with older versions during a rollback. ![]() The default location for virtual machine images managed with libvirt. It is excluded to avoid uninstalling these applications on Third-party products usually get installed to /opt. ![]() In older *SUSE distributions (SLE 12/Leap 42.x/and Tumbleweed installed before Jan 2018) the default btrfs subvolume layout considered /var as part of the root filesystem and instead included the following subvolumes under /var Old /var/* subvolume layout (pre Jan 2018) Therefore this subvolume is created to exclude all of this variable data from snapshots and is created with Copy-On-Write disabled. This directory contains many variable files, including logs, temporary caches, third party products in /var/opt, and is the default location for many virtual machine images and databases. It is excluded to avoid uninstalling these installations on rollbacks. This directory is used when manually installing software. It is excluded to avoid data loss on rollbacks.Īll directories containing temporary files and caches are excluded from snapshots. The root users home directory should also be preserved during a rollbackĬontains data for Web and FTP servers. It is excluded to avoid uninstalling these applications on rollbacks. If /home does not reside on a separate partition, it is excluded to avoid data loss on rollbacks. The first two directories are present on AMD64/Intel 64 machines, the latter two on IBM POWER and on IBM z Systems, respectively. The directories listed above are architecture-specific. boot/grub2/i386-pc, /boot/grub2/x86_64-efi, /boot/grub2/powerpc-ieee1275, /boot/grub2/s390x-emuĪ rollback of the boot loader configuration is not supported. They are excluded from snapshots for the reasons given below. The default root file system setup on openSUSE as proposed by YaST during the installation contains the following subvolumes. Subvolumes are excluded from snapshots by default. This is achieved by using Btrfs subvolumes on the root file system. When using a snapshot to roll back the system, it must be ensured that data such as user's home directories, Web and FTP server contents or log files do not get lost or overwritten during a roll back. Snapshots can easily be managed with Snapper. Snapshots allow you to easily roll back your system if needed after applying updates, or to back up files. 6.2 Identify the boot disk and partitionīy default, openSUSE is set up using Btrfs and snapshots for the root partition. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |