On Sun, 6 May 2007, Brad wrote:
> Hello all -
>
> I had wd0g as a 6G partition for /usr . Using disklabel I reduced it -2G but
> hadn't umount the partition beforehand. Not seeing the change, I reduced
> another -2G which put the partition at 2G with 2.7G worth of software. D'oh.
You just can't do this. So don't.
If you change a partition size with disklabel, newfs needs to follow.
(Exception: see growfs(8)). The fs will continue to access space
beyond the shrunken disklabel partition. Stuff newfs'd in the new
area will reference this same area. Result: perdition.
> Now I'm getting "Segmentation fault (core dumped)" errors when trying to do
> simple things like use joe for editing etc. I need to stop messing with this
> problem till I have a clear idea on where to go from here. Can it be saved or
> reinstall?
I assume you've been doing things in the area freed up by the
disklabel shrinkage. If so, reinstallation is your single option.
Dave
--
Resistance is futile. You've already been assimilated.
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies