I have a laptop with a small ssd drive and would like to install tumbleweed but with ext4 instead of btrfs and timeshift for the “snapshots” to a large external usb drive (4tb).
The problem is that since the ssd is small on 256gb, the root partition is only 24gb and the snapshots/subvolumes will quickly crash the root partition.
I’ve googled (startpage.com) around and not found and write-ups on how to set rsync/timeshift for tumbleweed with ext4.
Hi
Disable snapshots and use btrfs (that’s what I have here, but 60GB / with 18GB allocated)? If want to use ext4, then during install use the expert partitioner option to configure as required with partition sizes and file system to use in the dropdowns.
Timeshift is not the same as snapper. Time shift is a backup scheme, snapper is a sort of like a dif and not a full backup. There are definite differences.
Why not go with the default install with btrfs using the entire disk? Then you won’t have to worry about snapshots using too much space. You can use rsync, rsnapshot, restic, etc. to back up what you want.
Use the expert partitioner to make the sizes you wish, or partition in advance, selecting only what to mount where and whether and how to partition in the openSUSE installer. Make / at least 40GB, better 50 or 60 if you’re going to stick with BTRFS for /.
**6700K:~ #** btrfs filesystem usage -T /
Overall:
** Device size: 134.74GiB
Device allocated: 54.04GiB
Device unallocated: 80.70GiB **
Device missing: 0.00B
Used: 43.12GiB
Free (estimated): 90.72GiB (min: 90.72GiB)
Free (statfs, df): 90.72GiB
Data ratio: 1.00
Metadata ratio: 1.00
Global reserve: 96.19MiB (used: 0.00B)
Multiple profiles: no
Data Metadata System
Id Path single single single Unallocated
-- --------- -------- -------- -------- -----------
1 /dev/sdb2 52.01GiB 2.00GiB 32.00MiB 80.70GiB
-- --------- -------- -------- -------- -----------
Total 52.01GiB 2.00GiB 32.00MiB 80.70GiB
Used 41.99GiB 1.13GiB 16.00KiB
**6700K:~ #**
Actually 6700K is a triple boot system with Leap on /dev/sdb3 and Windows 10 on /dev/sdb4 and /dev/sdb5. Backups of /home rely on btrfs “subvolume snapshot” and “send” commands.
Any suggestion?
Stick to btrfs. Use a single partition occupying the whole space available.
Main thing bad about all on one partition is that it can be difficult to change distros and some times upgrade with /home being sub partition on root partition. having separate /home and swap is more flexible then putting all eggs in one basket.
btrfs can be resized while mounted. When upgrading the hardware I decided to have a pristine install of Tumbleweed. Freed some space in a fraction of a second by squeezing /dev/nvme0n1p2 while mounted. Performed fresh install on /dev/nvme0n1p3:
btrfs can be different versions and thus may not be exactly stable. I prefer not to trust it across distros Have not understood the love affair with BTRFS it has little or no advantage in speed It seems to be a swiss army knife does everything but not all that well.
In any case you don’t have to use BTRFS even though it is default.
Snapper is not a backup but is a good idea for things like tumbleweed or if you are a system developer where things may occasionally need restored to previous state.
Learning to use fio means really learning the difference between asynchronous and synchronous writes and knowing for absolute certain what it’s going to do at a very low level on an individual argument basis. You can’t be as certain of what tools like HD Tune Pro are actually doing under the hood—and having to deal with different tools on different operating systems means it’s more difficult to directly compare and contrast results as well.
Btrfs is faster than ext4 except for block size 4k. Read performance for block size 4k is abysmal for both btrfs and ext4. What makes btrfs really great for the openSUSE default data model is its flexibility and fine grained controllability. One partition suffices for virtually every task:
Tested with a real partition. Gparted doesn’t agree on this. When mounted it says: Minimum size 50000 MB, Maximum size 50000 MB. When unmounted it says: Minimum size 447 MB, Maximum size 50000 MB. With btrfs resizing works. Experience since 1995 told me traditional bios, dos partitioning and ext file systems are PITA. UEFI, gpt and btrfs are great.
There is no difference between a virtual and “a real partition” when it come to resizing.
Modify the partitions with fdisk or parted, partprobe/kpartx it like you have to do with btrfs and then resize with growpart and finalize with resize2fs.
Works just fine with for example ext4 or xfs, it doesn’t really matter.
The real ext partitions I reduced in size had many non contiguous chunks allocated which required packing of the chunks. This couldn’t be done when mounted. It was always a tedious procedure. Btrfs always allocates contiguous chunks.
i won’t spend more time on discussing drawbacks of ext4 than I spend on maintaining the existing btrfs partitions.