From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,d89c567820a55cb1 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,d89c567820a55cb1 X-Google-Attributes: gidfee84,public From: harris@zk3.dec.com (Bob Harris) Subject: Re: maximum file-size in DEC UNIX 4.0b Date: 1997/09/19 Message-ID: #1/1 X-Deja-AN: 273948749 References: <3421352E.2847@ife.ee.ethz.ch> Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc In article <3421352E.2847@ife.ee.ethz.ch>, Armin Wittmann wrote: >Hi together > >since we are working with a special application of big image data >we are looking out for file-systems which have the ability to >address a lot of i-nodes. Are you talking about lots of files or a resonable number of files but each file is very large? Digital UNIX can deal with both, but the numbers are not infinite. >With advfs DEC-UNIX has the possibility to create huge virtual >disk-space. >But is this space also addressable by a file of more then 4GB? Yes. You can create files that are 100's of Gigabytes in size (or larger). They can be totally populated (assuming you have that much disk space) or you can have sparse files. >First is DEC-UNIX able to address so many i-nodes and if yes >is this possible with ADVFS? AdvFS can have file systems which are up to 16 terabytes in size (16,000 GB). The file system will allow you to use all of that space for a single file, although I might question the sanity of anyone that put that many "eggs in one basket" :-) UFS can have a file system of 1 terabyte and a single file can use all of that (sparse files can use even more). AdvFS does not have i-nodes per say, but since an i-node is used in other file systems to manage one file then the answer to your question for AdvFS is that in theory you can have 4 billion files in one AdvFS file system. But doing that will require a minimum of 6 terabytes (6,000 GB) assuming that each file was less then 1K in size and that the average metadata overhead was only 512 bytes. If your files are larger then more space would be required. Creating a file system of that size would require that it be created while sufficent metadata space pre-reserved so that you didn't run out of metadata before you created all those files. >If DEC UNIX really uses the 64 bit (unsigned long) range to >address the i-nodes the theoratical maximum file-size is >about 16 ExaByte (right?). There are other considerations involved, such as disk space management, on-disk structures, etc.... Someone else recently posted a pointer to this web page and it gives you information from an Official Digital source that details the limits on the AdvFS and UFS file systems in Digital UNIX. -- Bob Harris "I don't get to tell me what to do, I only get to tell me how to do it." Comments expressed here are my own and _NOT_ those of my employer.