I'll assume that is is, since I have a few minutes right now.
The only way that I've solved this sort of problem before is by one of two routes.
Backup/restore route
Backup the various filesystems with ufsdump to tape.
Reinstall the OS with the new filesystem sizes, making sure that your new filesystems are large enough to hold all data stored on the old ones.
Restore the filesystems into the new structure with ufsrestore.
Reboot.
Advantages - cleanest & easiest so long as you have a backup device with enough capacity to take your data. You won't have to muck around with the OBP.
Two disk route
Attach a second disk to the machine, ensuring the SCSI ID is different from the first if you are using SCSI.
Newfs the new disk with the desired filesystem sizes and parameters.
Dump the entire contents of each filesystem across onto the new filesystems. You'll need to mount each filesystem into the old one and make sure that you use a method that preserves all hard and symbolic links.
Detach the old disk.
Install a boot block on the new disk
Change the default boot device at the OK prompt to tally with the name of the new disk.
Reboot.
Advantages - You can do this filesystem by filesystem rather than the whole disk at a time. But you need two disks.
Ian
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.