home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!usc!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!uwvax!astroatc!vidiot!ftms!brown
- From: brown@ftms.UUCP (Vidiot)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: Disk Partitioning
- Message-ID: <257@ftms.UUCP>
- Date: 24 Jul 92 16:08:42 GMT
- References: <1992Jul17.182425.117776@zeus.calpoly.edu> <245@ftms.UUCP> <1992Jul21.214918.157285@zeus.calpoly.edu>
- Reply-To: brown@ftms.UUCP (Vidiot)
- Distribution: na
- Organization: Vidiot's Other Hangout
- Lines: 31
-
- In article <1992Jul21.214918.157285@zeus.calpoly.edu> etsiao@joule (Eddie Tsiao) writes:
- <
- <As my earlier followup says, I was actually looking for a way to "grow" the
- <fs into the partition without having to backup/newfs/restore because this
- <deals with the root and /usr partitions. I was hoping to avoid having to boot
- <miniroot etc... As for backups, I did an rdump both before I repartitioned
- <and before I booted miniroot. Unfortunately, I forgot that I needed to move
- <the tape drive to the machine in question inorder to restore :-j. Everything,
- <is working fine now but I would still like to know if it is possible to
- <"resize" a filesystem.
-
- As far I as know, the answer is no. The problem is that the filesystem has
- to have the superblocks and inode information changed to reflect the new size.
- As I understand it, the superblock and the backups are placed in certain areas
- and those areas are different, depending on the size.
-
- Even if the superblock, and the backups, do go in the same places (with just
- more of them), newfs needs to be used to make those superblocks and update
- the inode list. Newfs rebuilds the directory structure, which obviously
- destroys what is there.
-
- It would definately be great to be able to resize a filesystem on the fly.
- I could have used that when I installed the new SS2 and needed to remove
- /home and fold it in to /usr. Like you, I had to reload the operating
- system from scratch. It was a long weekend, since I had three other disks
- on the system as well.
- --
- harvard\
- ucbvax!uwvax!astroatc!ftms!brown or uu2.psi.com!ftms!brown
- rutgers/
- INTERNET: brown@wi.extrel.com or ftms!brown%astroatc.UUCP@cs.wisc.edu
-