Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Bob Harris <harris@zk3.dec.com>
Subject: Re: partitions over 1.2TB
Date: Fri, 20 Aug 2004 16:31:57 GMT	[thread overview]
Message-ID: <harris-063BE5.12315620082004@cacnews.cac.cpqcorp.net> (raw)
In-Reply-To: pan.2004.08.20.14.25.50.777159@aero-graphics.com

In article <pan.2004.08.20.14.25.50.777159@aero-graphics.com>,
 jason <jnielsen@aero-graphics.com> wrote:

> On Thu, 19 Aug 2004 22:51:25 +0000, Bob Harris wrote:
> 
> > In article <pan.2004.08.19.21.24.26.963209@aero-graphics.com>,
> >  jason <jnielsen@aero-graphics.com> wrote:
> > 
> >> Are there any known issues with advfs domains greater than ~1.2TB on
> >> Tru64 4.0f?
> > 
> > Domains, No.  Partitions, yes.
> > 
> >> We have a 1.5TB advfs domain. Under showfdmns it shows up fine. df on the
> >> other hand does not show the domain correctly.
> >> 
> >> ema_domain#ema_raid              -618892672   652597693   875729448    43% 
> >>    
> >> /aja
> >> 
> >> Im having samba and nfs clients having issues with this as well. Even some
> >> nfsv3 clients are reporting incorrect details. I suspect the nfs clients
> >> in the later cases and the samba server on tru64 as the culprit smb side.
> > 
> > That is to say, an AdvFS domain can be as big as 256TB if you max it out 
> > with 256 1TB volumes.
> > 
> > _BUT_ each volume _MUST_ be 1TB-1 or less.  If you have any volumes 
> > greater than 1TB, you may be experiencing data corruption.
> > 
> > As for df, it is very likely to be using some 32 bit values and getting 
> > overflow when doing addition and multiplications.  Similar problems may 
> > be experienced with the statfs(), statvfs(), and stat() system calls.  
> > Many of these 32 bit issues were clean up in Tru64 UNIX v5.*
> > 
> >                                         Bob Harris
> 
> Thanks for the info.
> 
> Sorry for the use of partition in the topic. Brain fart...

No problem.  Do it all the time myself.

> Each raidset is less than 1TB. All are added to the domain and a single
> fileset was created resulting in ~1.5TB mountable space.
> 
> bash-2.05b# showfdmn -k ema_domain
> 
>                Id              Date Created  LogPgs  Domain Name
> 41154f29.00023dd0  Sat Aug  7 15:52:41 2004     512  ema_domain
> 
>   Vol    1K-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name 
>    1L  355486297   141377280     60%     on    256    256  /dev/rzg8c
>    2   355486297   134271008     62%     on    256    256  /dev/rzh8c
>    3   177743135   130813488     26%     on    256    256  /dev/rzb8c
>    4   177743135   135785592     24%     on    256    256  /dev/rzc8c
>    5   177743135   137702328     23%     on    256    256  /dev/rzd8c
>    6   106645878    60124584     44%     on    256    256  /dev/rze8c
>    7   177743135   134005496     25%     on    256    256  /dev/rzf8c
>       ----------  ----------  ------
>       1528591013   874079776     43%
> 
> 
> (Yah needs to be defragged and balanced badly. =/)

Side note.  Most of these 32 bit overflow issues were not seen, simply 
because at the time, you were lucky if a disk held 1GB, which means a 
1.5TB file system would need about 1,500 disks, which would be 20'ish 
racks of disks.  Not many people were throwing that many disks together 
into one file system.

But then we started getting 2GB disks, then 4GB, then 9GB, then 18GB, 
then 36GB, 60GB, 120GB, 160GB, 250GB, etc... and now it only takes maybe 
6 250GB disks to give us 1.5TB.  Heck, you can by PC/Mac systems with 
3/4 to a full terabyte of storage inside the tower or even a 1U rack 
mount.

And this kind of storage started to show up during the development of 
v5.0, so a lot of 32 bit overflow issues were handled during that 
development cycle, along with expanded statfs(), statvfs(), stat() 
system calls that were implemented so that these huge sizes could be 
delivered to df, ls, du, and any other utility that wants to know how 
big things are.

Changing kernel system call APIs is not the kind of thing you can do in 
a patch, so v4.* has the original statfs(), statvfs(), and stat() system 
call APIs.

If you would care to upgrade to v5.1b, I'm sure a lot of these issues 
would go away, although I can not speak for Samba, or non-Tru64 UNIX 
nfsv3 clients.  Heck, I can't even speak for myself :-)

                                        Bob Harris


      reply	other threads:[~2004-08-20 16:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19 21:24 partitions over 1.2TB jason
2004-08-19 22:51 ` Bob Harris
2004-08-20 14:25   ` jason
2004-08-20 16:31     ` Bob Harris [this message]
read-only archive

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