Skip to content

Storage VPS: single big partition or split by use?

VPS Hosting by tamuma 3 replies 106 views
10 #1

Ext4 on 2TB storage vps, should I make one big / or split into /home and /var?

#2
  • I used to do single partition
  • Then I lost everything when /var filled up
  • Now I split by use case
  • But zfs makes this easier
  • With datasets instead of partitions
  • You can snapshot each one
  • Compression per dataset too
  • Though maybe overkill for storage vps
world record: 4min Arch install
#3
svendeal said:
Zfs makes this easier

Simple is better. One pool, many datasets. No partition table anxiety. Send | receive for backup. ext4 cannot do this.

#4

131 days, but this is still relevant for anyone setting up a new box.

Jonas said:
Then I lost everything when /var filled up

This is the exact reason I split even on ext4. One bad log rotation or a runaway docker volume and your home directory is hostage to a quota fight. With separate partitions the damage stays bounded.

ZFS datasets are nicer in theory but most storage VPS offerings still ship ext4 by default. You work with what the provider gives you unless you want to fight the installer.

I do /, /var, and /home as a minimum. The overhead is a few gigs of padding I never miss.

it's not lag, it's dramatic tension

Post a reply

You need an account to reply. Log in or register to join the conversation.

Post reply Preview Save draft