Friday, September 29, 2023
rated 0 times [  3] [ 0]  / answers: 1 / hits: 781  / 2 Years ago, thu, december 2, 2021, 4:51:01

I want advice on how to setup partitions on a new desktop system that I'll (initially) put Ubuntu 11.04 on. The system will have the following storage hardware:

  • 1 x 80 GB SSD (Intel 320 series)

  • 2 x 2 TB HDD (green, 64 MB cache, 5400 rpm, SATA-600)

I'm going to use the system to typeset with LaTeX, to watch movies, to listen to music, to edit images and graphics, to surf the web, as firewall for my LAN and as file and backup server for a laptop (it will sometimes need to be on for days). Some of the data I'm going to keep on it is really valuable so I'm not giving priority to speed over reliability or security. Also, I want to avoid unnecessary wear on the SSD.

The setup I'm considering is the following:

  • Have the SSD as boot partition, format it as ext4 (does ext4 work well with SSDs?) and mount it at /. Backup from the SSD will be handled by having sbackup scheduled to backup chosen files to the HDDs.

  • Put the HDDs in RAID-1, mostly for reliability, format them as ext4 (for reliability and ability to recover from corruption) and mount it somewhere, maybe /home/archive (what is the correct mount point according to convention?). Backup for these HDDs will simply be having them in RAID-1. Also, I'll keep the swap (how big?) on these HDDs.

I'm thinking that I should take measures to reduce wear on the SSD by mounting it with the flags noatime and discard and keep the swap on the HDDs (the system will have 4 GB RAM but I want to be able to hibernate). To further handle what goes on the SSD and what goes on the HDDs I'm thinking about using symlinks (e.g. symlink ~/Videos to the HDDs). I should say something about the needed storage capacity too. What I plan to initially put on the HDDs is ~400 GB.

My question: Is there anything in the setup that I'm considering that I should change given the mentioned hardware and the mentioned usage of the system? Or more generally: How should I setup my partitions given my hardware setup and how I want to use the system?

More From » partitioning


Raid is not backup. The purpose of raid1 is to keep the system up and running, instead of having to restore from backup when a drive fails. You still need to keep regular backups. Raid1 does not help if your filesystem becomes corrupted, or you just accidentally delete or overwrite a file.

Yes, ext4 works well on SSDs and the noatime and discard options are somewhat helpful.

You might want to use LVM

[#44371] Thursday, December 2, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 214
Total Questions: 111
Total Answers: 116

Location: Sudan
Member since Thu, May 7, 2020
3 Years ago