home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / amiga / 2405 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  5.1 KB

  1. Path: sparky!uunet!walter!att-out!pacbell.com!ames!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!news.d.umn.edu!ub.d.umn.edu!not-for-mail
  2. From: rhealey@ub.d.umn.edu (Rob Healey)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: Help!!
  5. Date: 12 Nov 1992 15:28:48 -0600
  6. Organization: University of Minnesota, Duluth
  7. Lines: 95
  8. Message-ID: <1duiagINNni9@ub.d.umn.edu>
  9. References: <BxKyz5.80u@csugrad.cs.vt.edu>
  10. NNTP-Posting-Host: ub.d.umn.edu
  11.  
  12. In article <BxKyz5.80u@csugrad.cs.vt.edu> keven@csugrad.cs.vt.edu (Keven Ring) writes:
  13. =  I am beta testing our latest clone of UNIX for my university (see above).
  14. =It is UNIX 2.1, and we are installing the most needed stuff onto approx.
  15. =75 meg out of 100 meg on the HD.  I would like to see this come down a bit,
  16. =and think I have solution.  I have it running at 62% capacity (using df -k)
  17. =and therefore am really only using about 50 meg of the HD.  However, the
  18. =partition remains at 75 meg.  What I am going to try is "optimize" the hard
  19. =drive, sticking all of the files in UNIX ROOT in the first 50 meg or so.
  20. =Then, by going into amiga dos, I can use HD TOOLBOX to shrink the partition.
  21. =Unix swap will need to go directly after the root partition (as I have
  22. =already found out).  I have a feeling that this will work as:
  23. =
  24.     NOPE! At best you'll be able to partially recover some of
  25.     the data, at worst you wiped out vital filesystem bean
  26.     counting info. B^(.
  27.  
  28.     1) Get the 2a patch disk for 2.1, I'd also recommend using the ufs
  29.        filesystem over the default s5, especially since you are in a
  30.        university setting and that's what all your other UNIX boxes
  31.        are probably using.
  32.  
  33.     2) If you are only going to use the first 50M then set the
  34.        partition size to 50M.
  35.  
  36.     3) UNIX uses the rdb to get the starting block for the partition
  37.        and that's about it, it get's the size info from the filesystem
  38.        on the partition. i.e. when you shrink the partition with
  39.        HDToolbox UNIX won't know about it.
  40.  
  41.     4) Odds are pretty good HDToolbox will screw up the UNIX partitions
  42.        if you use it on them.
  43.  
  44.     If this is supposed to be a UNIX box then I'd suggest a 240M or
  45.     larger hard disk. If you can't do that then you'll have to do
  46.     alot of custom work that requires significant knowledge of
  47.     running AmigaUNIX off the floppys, UNIX rdb command, cpio to/from
  48.     tape and NFS to a server that has enough space to hold the rest
  49.     of the packages.
  50.  
  51.     Just because you shrink the partition in HDToolbox does NOT mean
  52.     UNIX will somehow magically reformat it's filesystem to fit
  53.     in that smaller size while preserving all the data in place.
  54.  
  55. =1)  I have shrunk the partition by 2 meg (without optimizing), used the new
  56. =    space on amiga dos, booted up unix, and shut it down, went back onto
  57. =    amiga dos, and everything was intact.
  58. =
  59.     That's because you got VERY lucky and didn't need to use the blocks
  60.     that the filesystem, and therefore UNIX, still thinks it has.
  61.  
  62. =  Do I have a chance in ???? of getting this to work?  Basically, is there
  63. =such a thing as an "optimizer" for UNIX that just reorganizes the files to the
  64. =front of the partition.  If so, where can I get such a program?  If you
  65. =hesitate in answering because I might destroy UNIX, well, don't worry.  As I
  66. =said, I am basically beta testing it, and I can get it RECLONED (basically
  67. =reinstalled in about 15 minutes free of charge).  Please, any help would be
  68. =greatly appreciated.  If I get this to work, I should be able to "steal"
  69. =about 25 megs!!  
  70. =
  71.     In this simple setup it won't work. Essentially you have to:
  72.     
  73.     1) load at full size, 100M, shrink file usage to under 50M.
  74.     2) Dump to tape with cpio, tar doesn't handle device nodes properly.
  75.     3) Use HDToolbox to shink the partition. Actually UNIX rdb would
  76.        be better as it handles UNIX partitions properly but it's
  77.        obtuse and not very "user friendly"
  78.     4) Boot floppy UNIX and run mkfs with the new partition size. To make
  79.        a 50M partition UNIX recognises as only 50M.
  80.     5) Restore from tape and reboot.
  81.  
  82.     6) Do this right and get a 340M SCSI harddrive...
  83.  
  84.     I'll leave the details to you as there are too many to elaborate
  85.     over USENET or email. I'd suggest printing out the man pages for
  86.     AmigaUNIX rdb, UFS mkfs and any other UNIX tools you may need while
  87.     working under the boot floppy UNIX.
  88.  
  89.     I'll finish up by bluntly stating that if you don't have a large
  90.     NFS partition you can put stuff on to an AmigaUNIX system with
  91.     anything less than a 210M disk is useless, there are no canned apps
  92.     for AmigaUNIX so everything has to be compiled. With a 200M or
  93.     so NFS filesystem you can conceivably get a 100M disk to work
  94.     although it will be slow since most stuff is going over the
  95.     network. You'll also want at least 8M of memory since you'll
  96.     be using the network pretty heavily.
  97.  
  98.     AmigaUNIX was never written to depend mostly on NFS for fileservice,
  99.     that would have come later. It very much needs root, /usr and swap
  100.     to be on a local SCSI disk of at least 200M in size if it is to
  101.     be used for X and development work.
  102.  
  103.         -Rob
  104. p.s.
  105.     Don't forget the 2.1 2a OS patch disk, it has an ethernet patch
  106.     you may need to get NFS working OK on the University network.
  107.