S
S
Sergey2021-11-22 16:41:45
linux
Sergey, 2021-11-22 16:41:45

Compressing drives/folders in Linux?

I have a server on which samba balls, ftp, print services, mail, etc. work under Centos 8. Some folders are used very actively, and there are 2 very "fat" folders with various courses and documents in .pdf / .doc / .html format and a folder with data of fired users. Files in .pdf/.doc/.xml formats are in the terminated users folder. There is a need to store data in a more compact form, but without the need to constantly archive and unarchive the data manually.
Please tell me on the following questions:
1. There is a btrfs system. I read a couple of very negative comments about her. Who has experience with it, how does it feel?
2. Similarly about SquashFS
3. Are there any other options for solving the problem?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Drno, 2021-11-22
@Drno

the simplest is to buy 2 hdd and put this data on them,
you can try zfs compression but is there enough RAM

A
Adamos, 2021-11-22
@Adamos

files in .pdf/.doc/.xml formats

Try to take and archive PDF with anything.
Surprise - most likely, the file will only become larger due to the headers of the archiver.
If DOC is not DOC, but DOCX, then the idea fails according to the same scenario.
And your XML is just such deposits that archiving will free up a lot of space? It's hard to imagine something like that. Why? ..
In general, I would first evaluate what exactly the place eats. If this is a PDF, it is likely that some scans of documents with wild resolution are piled up there, and you can just take them and shake, say, ps2pdf -dPDFSETTINGS=/ebook (well, or / print, or even / screen, really what kind of quality do you really need?

R
Ronald McDonald, 2021-11-22
@Zoominger

Let's go.
1. Use. She was more or less brought to mind, you can poyuzat. Of course, you must have backups.
2. She is ridonly.
3. Throw memory to the server.

R
rPman, 2021-11-22
@rPman

btrfs + zstd compression

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question