home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!munnari.oz.au!metro!physiol.su.OZ.AU!cortex.physiol.su.oz.au!johnd
- From: johnd@cortex.physiol.su.oz.au (John Dodson)
- Subject: Re: Very large file systems ?
- Message-ID: <johnd.724286019@cortex.physiol.su.oz.au>
- Sender: news@physiol.su.OZ.AU (The News System)
- Nntp-Posting-Host: cortex.physiol.su.oz.au
- Organization: Department of Physiology, University of Sydney, NSW, Australia
- References: <johnd.723948393@cortex.physiol.su.oz.au> <AJC.92Dec9225756@thendara.pa.dec.com>
- Date: Sun, 13 Dec 1992 22:33:39 GMT
- Lines: 63
-
- In <AJC.92Dec9225756@thendara.pa.dec.com> ajc@pa.dec.com (AJ Casamento) writes:
-
- >In article <johnd.723948393@cortex.physiol.su.oz.au> johnd@cortex.physiol.su.
- >oz.au (John Dodson) writes:
-
- >>> I just got a couple of Hitachi DK517C-37 scsi drives to go on my DecStn
- >>> 5000/200 running Ultrix 4.2
- ^^^^^^^^^^
- |
- |
- I AM RUNNING ULTRIX 4.2 !!!
-
- >>> so I should be able to have at least 2^31 (or even 2^32) blocks in a file
- >>> system, is Ultrix different ? or is Ultrix mkfs brain dead ?
- >>> or am I brain dead ? ;-)
-
- >John,
-
- > I believe that you may want to take a look at the Ultrix FAQ on gatekeeper.
- >The problem you are describing is a known issue with Ultrix v4.0 which was then
- >fixed in Ultrix v4.2 such that the SCSI driver can address a storage device of
- >larger than 1 Gigabyte in size. Ultrix v4.0 was released over two years ago at
- >a time when 1GB disks weren't readily available for SCSI.
-
- > You're not brain dead...it's really reacting that way. An upgrade to at least
- >Ultrix v4.2 should fix your problem.
-
- >I hope that helps.
-
- Not really ! I had the problem described in the FAQ over 2 years ago with 4.1
- it was (as you say) fixed in 4.2, this is a totally different problem.
-
- It probably lies somewhere in the filesystem code or mkfs rather than in the
- SCSI driver where the 1Gbyte problem was.
-
- > Thanx,
- > AJ
-
- Is there anyone out there with a filesystem on Ultrix greater than 4194304
- blocks ? (2^22 blocks)
-
- I think not...
-
- looking at the 4.3bsd code for mkfs... (should have looked before ;-)
- if (lseek(fso, bno * sectorsize, 0) < 0) {
- printf("seek error: %ld\n", bno);
- perror("wtfs");
- exit(1);
- }
-
- Note that it uses block no times sectorsize ! (4194304 * 512) or (2^22 * 2^9)
- & in this case it is "less than zero" !
-
- mmmm, looks like the system calls lseek & write are going to need attention
- before we can have such big file systems on 32bit machines (I assume it will
- be ok on a 64bit machine since that will be the size of a "natural" int.)
-
- John
-
- John Dodson, Dept of Physiology,
- johnd@physiol.su.oz.au University of Sydney,
- Phone +61-2-692-3277 NSW 2006
- Fax +61-2-692-2058 Australia.
-