Article View: alt.unix.geeks
Article #10Re: Backups
From: Carlos E. R.
Date: Tue, 03 Nov 2026 11:07
Date: Tue, 03 Nov 2026 11:07
52 lines
3025 bytes
3025 bytes
On 2026-11-03 05:16, Lars Poulsen wrote:
> On 11/2/2026 17:50, Carlos E. R. wrote:
>> On 2026-11-01 21:19, Lars Poulsen wrote:
>>> My Linux server/workstation has a 4TB external HDD (WD Black)
>>> attached via a USB3 port for backups. I do nightly _rsync_ with --
>>> linktarget
>>
>> I can't find "--linktarget" in the rsync man page.
>
> Sorry, it is --link-dest=[$previous-day/$fs]
>
>>> to avoid duplication. The backups cover all the other file systems,
>>> which have about 2 TB, and after almost a year, I still have only
>>> used 2.2TB; yet the backups were failing with ENOSPACE. After some
>>> headscratching I found the problem: My efs4 file system on the backup
>>> drive had used up its 152 million inodes. Indeed, this particular
>>> mode of backup consumes very little storage, but tons of inodes.
>>>
>>> While looking at this, I also noticed that the nightly backup run
>>> takes about 5 hours - from 00:05 to around 05:30 most nights.
>>
>> If you are doing what I think, those hardlinks consume a lot of time
>> checking.
>>
>> And deleting old backups takes an awful lot of time.
>> ...
>
> I finally figured out the root cause. I "accidentally" defined
> my 100,000 image photo archive as a library in my Plex Media Server.
> Plex then added descriptor bundles for each image into its "hidden"
> storage. That adds three directories and a thumbnail image for each
> image. More or less a million inodes consumed. While the rsync backup
> can deduplicate the FILES, the directories are duplicated in each day's
> backup. Eventually comsuming 140 million inodes on the backup disk.
Yep.
> I got CoPilot to help me remove the Photos from the Plex controlled
> media, and now I am getting all those media descriptor bundles revoved
> from 9 months of daily backups. And yes, it is going to take a few days
> to get them out.
>
> This also explains why the media server has been responding so slowly
> for the last several months.
Yes, quite.
--
Cheers,
Carlos E.R.
ESπͺπΈ, EUπͺπΊ.
Technical Details
Message-ID:
<nkttilFahr1U3@mid.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<11c86rn$29luh$1@dont-email.me> <nkssv7F3cbcU7@mid.individual.net> <11cbn6q$3f5t2$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E. R." <robin_listas@es.invalid> Newsgroups: alt.unix.geeks Subject: Re: Backups Date: Tue, 3 Nov 2026 12:07:01 +0100 Lines: 52 Message-ID: <nkttilFahr1U3@mid.individual.net> References: <11c86rn$29luh$1@dont-email.me> <nkssv7F3cbcU7@mid.individual.net> <11cbn6q$3f5t2$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net rZB+xUXr1FlRJzgqxSq6ngIpsHwt2nxvQpOKesTVBe4jaLUbwP Cancel-Lock: sha1:enHgRb9RGARp8t77+0+r03pJtio= sha256:32rZCAgJHoeoqNHTLUPc0QTjU+kwlQSuDacYMAzwfR4= User-Agent: Mozilla Thunderbird Content-Language: en-GB In-Reply-To: <11cbn6q$3f5t2$1@dont-email.me>