home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aux / 4453 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  4.3 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sunic!dkuug!ruc.dk!david
  2. From: david@ruc.dk (David Stodolsky)
  3. Newsgroups: comp.unix.aux
  4. Subject: problem creating file system
  5. Summary: File system doesn't seem to file partition.
  6. Keywords: partitions cylinder blocks mkfs newfs
  7. Message-ID: <1992Dec30.195638.20229@ruc.dk>
  8. Date: 30 Dec 92 19:56:38 GMT
  9. Organization: Datalogi, Roskilde Universitetscenter
  10. Lines: 90
  11.  
  12. I am trying to install a/ux on a Fuji 2624, but I am getting some funny
  13. results. I am using only the outer zone where there is 77 sector/track.
  14. I have partitioned the disk so that partitions starts on a cylinder
  15. boundary and with root I made the number of cyl. a multiple of 16 so the
  16. cyl. blocks should be complete.
  17.  
  18. However, I get warnings from mkfs (had to invoke directly for root,
  19. because the startup newfs bombed with error=1) and the output from fsdb
  20. shows that the cyl. are not being filled.
  21.  
  22. I also wonder why nsect is 77ms. Isn't this the number of sectors/trk?
  23.  
  24. I made two partitions because there is a spot that caused 40 defects,
  25. one on each cyl, that I thought would be best to cover with the swap
  26. partition, since this does not use ufs which tries to keep account of
  27. track boundaries.
  28.  
  29. ==========
  30.  
  31. localhost.root # newfs -v -r 4400 -m 10 /dev/rdsk/c6d0s3 other
  32. /etc/fs/ufs/mkfs /dev/rdsk/c6d0s3 127820 77 11 8192 1024 16 10 73 2048
  33. t
  34. Warning: 77 sector(s) in last cylinder unallocated
  35. /dev/rdsk/c6d0s3:       127820 sectors in 151 cylinders of 11 tracks, 77
  36. sectors
  37.         65.4Mb in 10 cyl groups (16 c/g, 6.94Mb/g, 2048 i/g)
  38. super-block backups (for fsck -b#) at:
  39.  16, 13648, 27280, 40912, 54544, 68176, 81808, 95440, 109072, 122704,
  40.  
  41. localhost.root # fsdb -T4.2 /dev/rdsk/c6d0s3
  42. fsdb of /dev/rdsk/c6d0s3 (Read only) -- last mounted on /mnt/users
  43. > :sb
  44.         super block:
  45. magic   11954   format  static  time    Wed Dec 30 17:19:28 1992
  46. nbfree  7637    ndir    5       nifree  20455   nffree  32
  47. ncg     10      ncyl    151     size    63910   blocks  61181
  48. bsize   8192    shift   13      mask    0xffffe000
  49. fsize   1024    shift   10      mask    0xfffffc00
  50. frag    8       shift   3       fsbtodb 1
  51. cpg     16      bpg     847     fpg     6776    ipg     2048
  52. minfree 10%     optim   time    maxcontig 1     maxbpg  256
  53. rotdelay        4ms     rps     73      ntrak   11
  54. nsect   77ms    spc     847
  55. nindir  2048    inopb   64      nspf    2
  56. sblkno  8       cblkno  16      iblkno  24      dblkno  280
  57. sbsize  3072    cgsize  2048    cgoffset 40     cgmask  0xfffffff0
  58. csaddr  280     cssize  1024    shift   9       mask    0xfffffe00
  59. cgrotor 0       fmod    0       ronly   0
  60. blocks available in each of 8 rotational positions       
  61.  
  62. ==========
  63.  
  64. startup# ufs:mkfs /dev/rdsk/c6d0s0 295680 77 11 8192 1024 16 10 73 2048
  65. Warning: 770 sector(s) in last cylinder unallocated
  66. /dev/rdsk/c6d0s0:       295680 sectors in 350 cylinders of 11 tracks, 77
  67. sectors
  68.         151.4Mb in 22 cyl groups (16 c/g, 6.94Mb/g, 2048 i/g)
  69. super-block backups (for fsck -b#) at:
  70.  16, 13648, 27280, 40912, 54544, 68176, 81808, 95440, 109072, 122704,
  71.  136336, 149968, 163600, 177232, 190864, 204496, 216848, 230480, 244112,
  72. 257744,
  73.  271376, 285008,
  74.  
  75.  localhost.root # fsdb -T4.2 /dev/rdsk/c6d0s0
  76. fsdb of /dev/rdsk/c6d0s0 (Read only) -- last mounted on /
  77. > :sb
  78.         super block:
  79. magic   11954   format  static  time    Wed Dec 30 18:24:39 1992
  80. nbfree  8517    ndir    349     nifree  38309   nffree  555
  81. ncg     22      ncyl    350     size    147840  blocks  141847
  82. bsize   8192    shift   13      mask    0xffffe000
  83. fsize   1024    shift   10      mask    0xfffffc00
  84. frag    8       shift   3       fsbtodb 1
  85. cpg     16      bpg     847     fpg     6776    ipg     2048
  86. minfree 10%     optim   time    maxcontig 112   maxbpg  256
  87. rotdelay        0ms     rps     73      ntrak   11
  88. nsect   77ms    spc     847
  89. nindir  2048    inopb   64      nspf    2
  90. sblkno  8       cblkno  16      iblkno  24      dblkno  280
  91. sbsize  3072    cgsize  2048    cgoffset 40     cgmask  0xfffffff0
  92. csaddr  280     cssize  1024    shift   9       mask    0xfffffe00
  93. cgrotor 15      fmod    0       ronly   0
  94. blocks available in each of 8 rotational positions   
  95.  
  96.  
  97. -- 
  98. David S. Stodolsky                            Tel: + 45 31 95 92 82
  99. Department of Computer Science                Fax: + 45 46 75 42 01
  100. Bldg. 20.1, Roskilde University              Internet: david@ruc.dk
  101. Post Box 260, DK-4000 Roskilde, Denmark      or: david@mcsun.EU.net
  102.