PDA

View Full Version : SLED 12 SP3 about partition



albumns
06-Dec-2017, 12:10
Hello,

I normally install Linux with the following partition:


/ 30GB (ext4)
/swap 10 GB (swap)
/boot/efi 300 M (FAT32)
/home 400 GB ((ext4))


However, I noticed that SUSE and other Linux introduced new Linux partition types such as btrfs. I am just wondering, what's the advantage of btrfs? If we would like to introduce btrfs, what's the recommended partition would be?

thanks a lot.

malcolmlewis
06-Dec-2017, 14:12
On Wed 06 Dec 2017 11:14:02 AM CST, albumns wrote:

Hello,

I normally install Linux with the following partition:

Code:
--------------------

/ 30GB (ext4)
/swap 10 GB (swap)
/boot/efi 300 M (FAT32)
/home 400 GB ((ext4))
--------------------



However, I noticed that SUSE and other Linux introduced new Linux
partition types such as btrfs. I am just wondering, what's the
advantage of btrfs? If we would like to introduce btrfs, what's the
recommended partition would be?

thanks a lot.




Hi
To complement btrfs is snapper and snapshots which are bootable
(rollback). I would recommend 40GB / partition if you go this route as
space is required for snapshots.

I normally reconfigure the snapper defaults (/etc/snapper/configs/root)
to keep four (4) maximim for number limits.

You can still run btrfs on smaller partitions but would need to look at
disabling snapper.

Have a read here;
https://www.suse.com/documentation/sled-12/book_sle_admin/data/cha_snapper.html

--
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.92-18.36-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

AndreasMeyer
15-Dec-2017, 21:00
XFS probably makes a lot of sense for /home

https://www.suse.com/documentation/sles-12/singlehtml/stor_admin/stor_admin.html#sec.filesystems.major.xfs

https://wiki.archlinux.org/index.php/XFS

http://xfs.org/images/d/d1/Xfs-scalability-lca2012.pdf

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/xfsbackuprestore

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/xfsrepair