🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Shane Allen Tue, 30 Apr 2002 05:39
INN and timecaf files
#58562
Author: Shane Allen
Date: Tue, 30 Apr 2002 05:39
41 lines
2728 bytes
I'm inheriting a news server, and at just the right time: I have to move it 
to a new box. I have moved several CNFS files easily enough, and prior to 
the attempt at moving the data, I had the config correct.

The problem is, when I try to move spool/news/articles/timecaf-01/* to the 
new server, the required disk space balloons. I do not know better how to 
explain it than to give some quick examples:

[root:articles]# du -hs *
354M    timecaf-01
[root:articles]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              16G  3.7G   12G  24% /

real quick note: before we get into semantics of system setups, I did not 
perform the installation on this box, it was inherited. :) Also, wrt the 
3.7G size, at minimum 900MB of that is standard Debian-installed software 
unrelated to news. Additionally, there are a couple apache installations 
including source trees, a docroot for the webserver, a rather hefty mail-
server test setup, and some other stuff. Per du, only 1.7 G of that is used 
by news, and 1.1 G of that is in CNFS files.

[root:articles] #tar -cf timecaf-01.tar timecaf-01
[root:articles] #ls -lh
-rwxr--r--    1 root     root         4.9G Apr 30 00:34 timecaf-01.tar
drwxrwxr-x  233 sellnews news         4.0k Apr 29 19:21 timecaf-01/


I'm sure you can see the inconsistency. I've run several checks. According 
to ls -li, there are no hardlinks. According to ls -lR and a perl script, 
the file sizes in the long list add up to 40G. According to du/df, the 
directory takes up about 354M. Based on my knowledge of what is in those 
files, they should take up to about 354M.

Can anyone shed light on this boggling problem?

TIA

--
Shane Allen
Re: INN and timecaf files
#58563
Author: Jeffrey M. Vinocur
Date: Tue, 30 Apr 2002 06:28
21 lines
1833 bytes
In article <8C5A3492E3356A2C.B600252078C999E5.D8D3F5C1F31A0D3A@lp.airnews.net>,
Shane Allen  <spamtrap@shane.d0.net> wrote:
>I'm inheriting a news server, and at just the right time: I have to move it 
>to a new box. I have moved several CNFS files easily enough, and prior to 
>the attempt at moving the data, I had the config correct.
>
>The problem is, when I try to move spool/news/articles/timecaf-01/* to the 
>new server, the required disk space balloons.

I bet this is the sparse files thing again.  The tool you use to
copy may have an option to recreate sparse files.

However, if you're moving to a new machine, you might want to
consider setting up the new machine fresh, setting artcutoff so
you don't discard old articles, and feeding everything across
using innxmit.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN and timecaf files
#58580
Author: Bernhard Schmidt
Date: Tue, 30 Apr 2002 15:42
16 lines
1645 bytes
Shane Allen wrote:

> The problem is, when I try to move spool/news/articles/timecaf-01/* to the 
> new server, the required disk space balloons. I do not know better how to 
> explain it than to give some quick examples:

Had the same problem about a week ago. The timecaf-files are sparse
files, and you have to copy them with a program that handles them. I
copied them with FreeBSD's tar and the option "-S" and it worked (but
was quite slow).

-- 
Bernhard Schmidt, Network Operation Center
Cybernet Internet-Dienstleistungen AG
Stefan-George-Ring 19-23, D-81929 Muenchen
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads