On Sun, 24 May 2015 09:50:12 AM James Harper wrote:
Depends what the machine is doing. Aside from wanting
to split / and /home
into different filesystems I can't really see any reason to have anything
but /, /boot, and swap. Especially for a desktop. BTRFS quotas should keep
the various subvolumes under control space-wise, if you have that concern.
I wouldn't want to rely on BTRFS quotas at this time. It's a feature that
hasn't had a lot of testing.
I've noticed that Debian, in the "do
everything for me" installation mode
seems to put / before swap, which means if it's a VM and you later want to
expand the disk, you'd need to shuffle things around a bit. For a VM
though, I'd be running btrfs on the hypervisor and then run the VM on NFS,
leaving the hypervisor to take the snapshots etc (depending on the VM
workload - maybe NFS isn't so good for databases... I haven't checked
NFS is generally poor for any task that requires good write performance.
For some of my virtual servers I have MySQL and Dovecot running in the Dom0 so
that the DomUs have less disk intensive tasks.
On Sun, 24 May 2015 09:59:30 AM Wen Lin wrote:
How big is your computer's memory? I would have
thought 20 GB for swap
space is a bit too much. Usually = or double the memory size will do?
Double RAM has never been a particularly good measure for allocating swap, and
now that RAM is often 4G or more it's especially unsuitable.
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/