Summary: Enlarging disk slices after installation

From: Andreas Höschler <ahoesch_at_smartsoft.de>
Date: Tue Dec 21 2004 - 13:24:34 EST
Hello Managers,

thanks to

"PSI" <sipark_m@fineit.net>
"Ghassan Qanzu'a" <ghassan@sts.com.ps>
"Bill R. Williams" <brw@etsu.edu>

and especially to

Darren Dunham <ddunham@taos.com>

who guided me through the process of rescuing my setup.

I was installing Solaris 9 with the PC console selection. For whatever
reason I was not able to reserve space for slices 4 and 7 during the
installtion as I used to do when installing Solaris 8. However, I left
free a good GByte of disk space.

Then after installing Solaris 9 on the first disk I used format ->
partition to assign space to slices 4 and 7, copied the VTOC to the
second disk, built the mirrors and let the sync process start. At this
time Darren realized that slice 4 (/var) and slice 7 overlapped.

	0 -  4962		swap
	4963 -  5687	slice 4
	5688 -  5709	slice 7
	5696 -  7821	/var
	7822 - 24619	/

  I was able - I at least hope so - to rescue this as follows:

	metadb -d c1t0d0s7
	resize slice 7 on disk 1 with format -> partition
	metadb -a -c 2 c1t0d0s7

	metadb -d c1t1d0s7
	resize slice 7 on disk 0 with format -> partition
	metadb -a -c 2 c1t1d0s7

After the sync process finished I made sure that I can boot from both
disks.

Thanks a lot!

Regards,

  Andreas



>> "state database" for the last two slices,so I left some space for them
>
> in which case there should be some unused space that you can allocate
> (format) for your s4 and s7 slices.  Then you should be able to create
> your state database, crash dump, etc.
>
> No?
> --
>  ---------------------------------------------
>  Bill R. Williams               <brw@etsu.edu>
>  ------------------------ ETSU Library Systems
>
> On Tue, Dec 21, 2004 at 12:45:58AM +0100, Andreas Hvschler wrote:
>> Dear managers,
>>
>> I am setting up Solaris 9 on a SunFire 280 R. It seems I got the wrong
>> installation method. Normally setup the slices as follows
>>
>> 	c1t0d0s0		/			23696 MByte
>> 	c1t0d0s1		swap		7001 MByte
>> 	c1t0d0s3		/var			3000 MByte
>> 	c1t0d0s4		crash dumps	1000 MByte
>> 	c1t0d0s7		state database	31 MByte
>>
>> but during the setup I was not allowed to enter "crash dumps" and
>> "state database" for the last two slices,so I left some space for them
>> to set them up later. Solaris 9 is not installed on the first disk. I
>> jsut tried
>>
>> 	 metadb -a -f -c 2 c1t0d0s7
>>
>> which of course fails with
>>
>> 	metadb: sunfire: c1t0d0s7: device size 0 is too small for metadevice
>> database replica
>>
>> How can I resize the last tw slices from 0 to 1000 MBYte and 31 MByte
>> now?
>>
>> Thanks a lot!
>>
>> Regards,
>>
>>    Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Dec 21 13:25:14 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:41 EST