Quote:>Hi,
>I have just install a solaris 2.6 in sparc5.
>However, I just allocate a slice of 1GB for the /usr
>and have about 1GB for a unused slice.
>Right now it is about 50% full !
>How can I increase the volumn of /usr by combining
>the unused slice ??
Sigh. Seems like noone gave you the "best" answer. So I will add yet another
to the mix.
let's say your /usr is on cylinders 1001 to 1500 ,and on partition 6
let's also say your free partition is conveniently located at 1501 - 2000.
If it isn't, then I leave it to you to juggle things appropriately until it IS
directly after that /usr partition.
Then all you have to do is
step 1: use "format" to remove the separate partition
step 2: still in "format", increase the cylinder count of partition 6 to 1000
(and use the "label" option when done)
(note the "block size" of the new partition)
step 3: boot off of cdrom
step 4: /usr/lib/fs/ufs/mkfs -G /dev/dsk/c0t3d0s6 {sizeinblocks}
and hopefully, you're done.
Now, if you're feeling adventurous, you might skip step 3, and try
/usr/lib/fs/ufs/mkfs -M /usr -G /dev/dsk/c0t3d0s6 {sizeinblocks}
{sizeinblocks} will be mentioned by format.
But I think that may cause problems, and might even do * things to
your system, just because it's the /usr partition, and not some other
partition.
Use the above at your own risk, I disclaim all responsability if following the
above steps trashes your system. But I believe the above should work for you.
--
[trim the no-bots from my address to reply to me by email!]
--------------------------------------------------
"initiating.. 'getting the hell out of here' maneouver" - Lennier, babylon5