Partitioning/file system considerations when hosting virtual machines? #365
-
New computer delivered. Spiral Linux (XFCE) is strongly considered as I already run that on my 'side-kick' laptop and like it. The laptop install is very basic. Defaults + full disk encryption. The new computer will replace my 13 year old main machine. This is where I will keep/edit photos and to a lesser degree videos. This is where I tinker with Python, keep my financial data etc. This is the machine I back up on a regular basis. This is also the machine that will host a handful of virtual machines -- both Virtualbox- and Qemu-based. The old machine has two spinning disk HDDs. The new machine have one SSD (for now). On the old machine the virtual machines live on a separate, ext4 partition while / and /home are btrfs partitions. I created this setup back in 2016 and don't remember why. Is there any reason for why I shouldn't have my virtual machines in a folder under /home (assuming btrfs)? Any other SSD considerations during install? Separate partitions for / and /home or not? Btrfs vs ext4? Swap? TIA /Martin |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I have done some thinking since yesterday: Btrfs is a COW (Copy On Write) file system. Does this make sense? Does it still make sense in 2023? The new computer has 32 GB RAM and 1 TB SSD. /Martin |
Beta Was this translation helpful? Give feedback.
-
Leaning more and more towards a default btrfs install and keeping virtual machines in a folder under /home. If that does not work well I will simply have to reconsider. @geckolinux Today I noticed F2FS is an option during installation. Worth considering? I had not heard of F2FS before so btrfs is much more familiar. Also, I know you set up btrfs in a, from my point of view, clever way but know nothing about what you do with F2FS. /Martin |
Beta Was this translation helpful? Give feedback.
Hi there, in SpiralLinux the only filesystem that comes with a specific and unique configuration is Btrfs. F2FS doesn't have any fancy user-facing features, but at a low level it's optimized for flash storage.