SUMM Re: disklabel question

From: Pam Woods, Systems Manager <axsymgr_at_UAA.ALASKA.EDU>
Date: Sun, 20 Jul 1997 12:12:26 -0800

Solution was to point my /sbin/swapdefault point somewhere else so
I could change the disklabel on rz0a ...
:)

Thanks to:

On Sun, 20 Jul 1997, Alan Rollow - Dr. File System's Home for Wayward Inodes. wrote:

> Where does /sbin/swapdefault point? If this file exists, the block
> device at the other end of it is used as the default page/swap
> space, no matter what fstab says. Having B open will certainly
> prevent you from shrinking it.
>
> Once you get this taken care of you'll also have to watch out
> for A being open if it is your running root file system. Since
> it is also open disklabel you may not let you grow it. Booting
> from the distribution CD can fix this, since it uses a memory
> file system. To you use the new space you'll also have to
> backup up the root, recreate the file system and then restore
> it.
>
> Finally, even when you think all partitions are no long in use
> disklabel may still complain. If you use the command in the
> form:
>
> disklabel [ options ] rz#
>
> It defaults to either C or A (I never recall which). If it
> defaults to A and you're trying to change A, then A will be
> open and you can't change it. The work-around to use C
> explicitly:
>
> disklabel [ options ] /dev/rrz#c
>

________
Pam Woods - axsymgr_at_uaa.alaska.edu
Received on Sun Jul 20 1997 - 22:24:48 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT