D
D
Dmitry2012-10-24 21:48:07
Hard disks
Dmitry, 2012-10-24 21:48:07

How to partition on Ubuntu?

There is an ODROID-X server , it has Ubuntu Linaro 12.10 on a 32 GB SDHC flash drive. The server is assigned the task of video surveillance through Zoneminder, and it also serves as a TV - watching IPTV and sometimes movies. A 160 GB hard drive is connected to it. Since the read / write speed of the flash drive is low (as is the bandwidth of the USB through which the hard drive is connected), the task is to distribute partitions in such a way that:

  1. Increase the speed of the system by distributing the load on the screw / flash drive "equally" - to make a kind of underRAID.
  2. Extend the life of a flash drive by minimizing write access to it.

That is, it is obvious that swap and, at a minimum, /var/log (or the entire /var?) must be moved to the screw. What other sections to remove on the screw, and what to leave on the flash drive? What sizes and file systems should they be given?
The maximum remaining volume of the hard drive will go to /home, and the results of Zoneminder's work will also be stored in it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
unwrecker, 2012-10-25
@unwrecker

I'll answer randomly:
As a file system for flash drives, ex4fs is recommended with the journal disabled.
Under the Ubuntu system partition, 7 gigs is enough.
I would disable swap altogether if there is enough memory.
Instead of a slow flash drive, you can also hang an SSD via USB.
Well, do not forget to configure trim and queue handler for flash partitions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question