🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.unix.geeks
Article #9

Re: Backups

#9
From: Lars Poulsen
Date: Tue, 03 Nov 2026 04:16
42 lines
3222 bytes
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.
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.

-- 
Lars Poulsen - an old geek in Santa Barbara, California
Technical Details
Message-ID: <11cbn6q$3f5t2$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11c86rn$29luh$1@dont-email.me> <nkssv7F3cbcU7@mid.individual.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lars Poulsen <lars@beagle-ears.com>
Newsgroups: alt.unix.geeks
Subject: Re: Backups
Date: Mon, 2 Nov 2026 20:16:24 -0800
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <11cbn6q$3f5t2$1@dont-email.me>
References: <11c86rn$29luh$1@dont-email.me> <nkssv7F3cbcU7@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 03 Nov 2026 04:16:27 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3643298"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/ZoYmPICV1sj93i1k+qVN3/9gobRiopSY="; posting-host="dec7a5f85ce03e68922f56e5a033c8e9"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:rnmawWBSFowMgVvNzgmpsCVtKv0= sha256:IAj+xSojPOsTxxry97bajqIQQPsm02AN7diqgLlKwec=
	sha1:5nG++nlijCghpGPtC0+/K3s9/A4= sha256:yWG8bUKTe9P1f0yS/KXUPHJUYJE3dQ0Bv+U/7SoUwVQ=
In-Reply-To: <nkssv7F3cbcU7@mid.individual.net>
Content-Language: en-US