home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / ultrix / 8859 < prev    next >
Encoding:
Text File  |  1992-12-13  |  2.7 KB  |  76 lines

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