Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: AdvFS: intermittent failure of writes
  1995-06-02  4:00 AdvFS: intermittent failure of writes David Lucas
@ 1995-06-02  4:00 ` Saul Tannenbaum
  1995-06-02  4:00   ` Flemming Josephsen
  1995-06-09  4:00   ` Ed Tuttle
  0 siblings, 2 replies; 4+ messages in thread
From: Saul Tannenbaum @ 1995-06-02  4:00 UTC (permalink / raw)


In article <3qn56c$k9g@minerva.worldbank.org>, David Lucas (dlucas@shekel.worldbank.org) wrote:
> This question is being posted to both comp.unix.osf.osf1 and the
> alpha-osf-manager list.

> The problem we've encountered is when the filesystem (/bankrpts) gets
> down to approximately 5% free, the copy operation doesn't copy every
> file, but rather drops every 5th or 6th one with the message: 

[...]

> The error is reproducible, and always occurs around that 5%
> threshold.  Once we add an additional partition to the domain, the
> problem goes away.

> I'm aware of the issues surrounding the default 50,000 file-limit in
> AdvFS, and the -x option to addvol to increase this value, but I'm not
> convinced this is the issue.  We're already well over 50,000 files, so I
[...]
> If AdvFS simply requires a 5% overhead per domain, I can live with
> it.  But it's the random dropping of files that worries me.  Has anyone
> else encountered this and/or can explain/verify the behavior?

I've seen similar issues with respect to AdvFS and a news spool. 
I'm running 3.0, so I didn't have access to the -x option. Thus,
I followed the workaround and touched a million files prior to
using a 2 gig disk as a news spool. Regardless, I still get file
system full messages at varying levels of fullness from 92% to 98%,
and I've _never_ come close to actually having a million files.

My belief is that the Digital workarounds (touch files, add the -x option)
underestimate the complexity of the metadata issue and don't work
for every case. 

	- Saul
-- 
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |
                Communications Services    |



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AdvFS: intermittent failure of writes
  1995-06-02  4:00 ` Saul Tannenbaum
@ 1995-06-02  4:00   ` Flemming Josephsen
  1995-06-09  4:00   ` Ed Tuttle
  1 sibling, 0 replies; 4+ messages in thread
From: Flemming Josephsen @ 1995-06-02  4:00 UTC (permalink / raw)



In article <3qn9ke$tcm@emerald.tufts.edu>, stannenb@emerald.tufts.edu (Saul Tannenbaum) writes:
>In article <3qn56c$k9g@minerva.worldbank.org>, David Lucas (dlucas@shekel.worldbank.org) wrote:
>> This question is being posted to both comp.unix.osf.osf1 and the
>> alpha-osf-manager list.
>
>> The problem we've encountered is when the filesystem (/bankrpts) gets
>> down to approximately 5% free, the copy operation doesn't copy every
>> file, but rather drops every 5th or 6th one with the message: 
>
>[...]
>
>> The error is reproducible, and always occurs around that 5%
>> threshold.  Once we add an additional partition to the domain, the
>> problem goes away.
>
>> I'm aware of the issues surrounding the default 50,000 file-limit in
>> AdvFS, and the -x option to addvol to increase this value, but I'm not
>> convinced this is the issue.  We're already well over 50,000 files, so I
>[...]
>> If AdvFS simply requires a 5% overhead per domain, I can live with
>> it.  But it's the random dropping of files that worries me.  Has anyone
>> else encountered this and/or can explain/verify the behavior?
>
>I've seen similar issues with respect to AdvFS and a news spool. 
>I'm running 3.0, so I didn't have access to the -x option. Thus,
>I followed the workaround and touched a million files prior to
>using a 2 gig disk as a news spool. Regardless, I still get file
>system full messages at varying levels of fullness from 92% to 98%,
>and I've _never_ come close to actually having a million files.
>
>My belief is that the Digital workarounds (touch files, add the -x option)
>underestimate the complexity of the metadata issue and don't work
>for every case.

With reference to the above:

YES, YES, YES!!!!  There is definitely somthing strange with the ADVFS

I have an installation with 40GB DISK (2 x 20  duplexed [mirrored over 
a different controller]) and what I see is that:

A: On filesets with a large number of files then performance drops
    dramtically if your write, say, 850 000 files and then delete, say, 4 files
    After having deleted the 4th or fifth file the whole filesystem becomes
    immensely slow.  The only 'fix' I've found so far is mkfs 'ex nihilo'.

B:  At times, and this REALLY bugs me, _a_ disk or some _disks_ appears to go
    offline, sometimes, but not always followed by a CPU panic and some 
    reference or other to 'ADVFS inconsistency..
    Somehow, these disk can be brought back to an active state by 
    applying 'disklabel -r' to one or more disks in the plex. 
   

    The bugger with this one is that the fileservice then gets shifted
    via DECsafe available server to the other system and, VOILA!!!, that one
     gets a CPU panic as well, great stuff...Yes DEC IS working on it and
    one of the coming decades we might just hear from them, (quote. 
    dont call us, we will call you. unquote.)  SWELL !!!!
    
     Lets face it. I'm going to have to fix this one with out interference 
    ,eh, assistance from Digital. The problem has been under DEC escalation
     procedures for two weeks now and so far all I've heard is the above
     quote when I called yesterday and, very politely, asked for a status report.

    Any pointers will be _*greatly*_ appreciated.
    
 
On a different note. Has anybody experienced with the ubc-maxpercent parameter ?


-- /flj 
--------------------------------------------------------------------------
   >         |     /   ___  /   ____/  Flemming Josephsen
  > >        | /  /   /    /   /       Senior Systems Consultant
 > O >    /  _/  /   ___ /   ___  /    MBS Fjerndata AS,Sola,  Norway
  > >    /      /   /    /       /     Voice: +4751654060 FAX: +4751654022
   >   _/     _/  ______/  _____/      email: flj@sirill.svg.mbs.no
---------------- Brother, can you spare a Paradigm ? --------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

* AdvFS: intermittent failure of writes
@ 1995-06-02  4:00 David Lucas
  1995-06-02  4:00 ` Saul Tannenbaum
  0 siblings, 1 reply; 4+ messages in thread
From: David Lucas @ 1995-06-02  4:00 UTC (permalink / raw)


This question is being posted to both comp.unix.osf.osf1 and the
alpha-osf-manager list.

We're running AdvFS made up of 6 rz28s (12GB) attached to a SWXCR (as
JBODs) on a 2100 4/275 under OSF/1 V3.2.  The only patch applied is for
the AdvFS/SWXCR/Prestoserve option.

The domain (image_data_domain) contains a single fileset (bankreports)
comprised of approximately 165,000 TIFF images and corresponding text 
files.  We receive our images from a service bureau on CD, and then copy
them (cp -r) to disk.  Ultimately, we expect the domain to grow to 40
GB.

The problem we've encountered is when the filesystem (/bankrpts) gets
down to approximately 5% free, the copy operation doesn't copy every
file, but rather drops every 5th or 6th one with the message: 

	cp /mnt/bankrpts/images/0006.tif: No space left on device
	cp /mnt/bankrpts/images/0012.tif: No space left on device
	cp /mnt/bankrpts/images/0018.tif: No space left on device
	cp /mnt/bankrpts/images/0024.tif: No space left on device
	cp /mnt/bankrpts/images/0030.tif: No space left on device
	.
	.
	.

The error is reproducible, and always occurs around that 5%
threshold.  Once we add an additional partition to the domain, the
problem goes away.

I'm aware of the issues surrounding the default 50,000 file-limit in
AdvFS, and the -x option to addvol to increase this value, but I'm not
convinced this is the issue.  We're already well over 50,000 files, so I
assume each addvol increases the total number of files for the domain by
the default, and if we did, in fact, use up all the vnodes I would think
that no files would be copied, rather than the every-6th-file-is-dropped
pattern we see.

If AdvFS simply requires a 5% overhead per domain, I can live with
it.  But it's the random dropping of files that worries me.  Has anyone
else encountered this and/or can explain/verify the behavior?

Thanks,

d.

-- 
David Lucas				E-mail:	dlucas@worldbank.org
The World Bank				Phone:	202.458.5214

	Practice random, senseless acts.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AdvFS: intermittent failure of writes
  1995-06-02  4:00 ` Saul Tannenbaum
  1995-06-02  4:00   ` Flemming Josephsen
@ 1995-06-09  4:00   ` Ed Tuttle
  1 sibling, 0 replies; 4+ messages in thread
From: Ed Tuttle @ 1995-06-09  4:00 UTC (permalink / raw)


In article <3qn9ke$tcm@emerald.tufts.edu> stannenb@emerald.tufts.edu (Saul Tannenbaum) writes:
>Xref: mayflower comp.unix.osf.osf1:1258
>Path: mayflower!uunet!satisfied.apocalypse.org!news2.near.net!d2.tufts.edu!emerald.tufts.edu!not-for-mail
>From: stannenb@emerald.tufts.edu (Saul Tannenbaum)
>Newsgroups: comp.unix.osf.osf1
>Subject: Re: AdvFS: intermittent failure of writes
>Date: 2 Jun 1995 11:10:06 -0400
>Organization: Tufts University
>Lines: 40
>Distribution: world
>Message-ID: <3qn9ke$tcm@emerald.tufts.edu>
>References: <3qn56c$k9g@minerva.worldbank.org>
>NNTP-Posting-Host: emerald.tufts.edu
>X-Newsreader: TIN [version 1.2 PL2]


>In article <3qn56c$k9g@minerva.worldbank.org>, David Lucas (dlucas@shekel.worldbank.org) wrote:
>> This question is being posted to both comp.unix.osf.osf1 and the
>> alpha-osf-manager list.

>> The problem we've encountered is when the filesystem (/bankrpts) gets
>> down to approximately 5% free, the copy operation doesn't copy every
>> file, but rather drops every 5th or 6th one with the message: 

>[...]

>> The error is reproducible, and always occurs around that 5%
>> threshold.  Once we add an additional partition to the domain, the
>> problem goes away.

>> I'm aware of the issues surrounding the default 50,000 file-limit in
>> AdvFS, and the -x option to addvol to increase this value, but I'm not
>> convinced this is the issue.  We're already well over 50,000 files, so I
>[...]
>> If AdvFS simply requires a 5% overhead per domain, I can live with
>> it.  But it's the random dropping of files that worries me.  Has anyone
>> else encountered this and/or can explain/verify the behavior?

>I've seen similar issues with respect to AdvFS and a news spool. 
>I'm running 3.0, so I didn't have access to the -x option. Thus,
>I followed the workaround and touched a million files prior to
>using a 2 gig disk as a news spool. Regardless, I still get file
>system full messages at varying levels of fullness from 92% to 98%,
>and I've _never_ come close to actually having a million files.

In article <3qn9ke$tcm@emerald.tufts.edu> stannenb@emerald.tufts.edu (Saul Tannenbaum) writes:
>From: stannenb@emerald.tufts.edu (Saul Tannenbaum)
>Subject: Re: AdvFS: intermittent failure of writes
>Date: 2 Jun 1995 11:10:06 -0400

>In article <3qn56c$k9g@minerva.worldbank.org>, David Lucas (dlucas@shekel.worldbank.org) wrote:
>> This question is being posted to both comp.unix.osf.osf1 and the
>> alpha-osf-manager list.

>> The problem we've encountered is when the filesystem (/bankrpts) gets
>> down to approximately 5% free, the copy operation doesn't copy every
>> file, but rather drops every 5th or 6th one with the message: 

>[...]

>> The error is reproducible, and always occurs around that 5%
>> threshold.  Once we add an additional partition to the domain, the
>> problem goes away.

>> I'm aware of the issues surrounding the default 50,000 file-limit in
>> AdvFS, and the -x option to addvol to increase this value, but I'm not
>> convinced this is the issue.  We're already well over 50,000 files, so I
>[...]
>> If AdvFS simply requires a 5% overhead per domain, I can live with
>> it.  But it's the random dropping of files that worries me.  Has anyone
>> else encountered this and/or can explain/verify the behavior?

>I've seen similar issues with respect to AdvFS and a news spool. 
>I'm running 3.0, so I didn't have access to the -x option. Thus,
>I followed the workaround and touched a million files prior to
>using a 2 gig disk as a news spool. Regardless, I still get file
>system full messages at varying levels of fullness from 92% to 98%,
>and I've _never_ come close to actually having a million files.

>My belief is that the Digital workarounds (touch files, add the -x option)
>underestimate the complexity of the metadata issue and don't work
>for every case. 

In the OSF 3.0 release notes there is information about how under certain 
conditions, (like in a news environmnet where many small files are being 
created and deleted quickly) the amount of available disk space is incorrectly 
reported once you run out of inodes on the disk.

 if you want to find out how much metadata is actually being used on a 
domainthen do the following:
cd /mount_point/.tags
ls -sl .M600 (I believe this is the file but am not sure)

my .M600 (?) file was 280,000,000 bytes large of nothing but metadata for a 
2gb disk. I decided enough was enough and took the advfs off of the NEWS and 
went back to UFS and all is good again - much faster and more space too.

ed


Navigator Communications
Internet Providers
Atlanta Ga. 30071 - 404-447-4001
ed@nav.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-06-09  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-02  4:00 AdvFS: intermittent failure of writes David Lucas
1995-06-02  4:00 ` Saul Tannenbaum
1995-06-02  4:00   ` Flemming Josephsen
1995-06-09  4:00   ` Ed Tuttle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox