Good, its ignored is what I wanted to hear... So, If I do this in my default manifest it should work, i.e. generically speaking I dont know if any of these slices exist so need to do this...
33 <!-- Wipe out any existing partitions and force it to use the whole disk 34 Note: Size needs to be specified on delete, but is ignored, so use any value 35 --> 36 <ai_device_vtoc_slices> 37 <slice_action>delete</slice_action> 38 <slice_number>0</slice_number> 39 <slice_size>0</slice_size> 40 </ai_device_vtoc_slices> 41 <ai_device_vtoc_slices> 42 <slice_action>delete</slice_action> 43 <slice_number>1</slice_number> 44 <slice_size>0</slice_size> 45 </ai_device_vtoc_slices> 46 <ai_device_vtoc_slices> 47 <slice_action>delete</slice_action> 48 <slice_number>3</slice_number> 49 <slice_size>0</slice_size> 50 </ai_device_vtoc_slices> 51 <ai_device_vtoc_slices> 52 <slice_action>delete</slice_action> 53 <slice_number>4</slice_number> 54 <slice_size>0</slice_size> 55 </ai_device_vtoc_slices> 56 <ai_device_vtoc_slices> 57 <slice_action>delete</slice_action> 58 <slice_number>5</slice_number> 59 <slice_size>0</slice_size> 60 </ai_device_vtoc_slices> 61 <ai_device_vtoc_slices> 62 <slice_action>delete</slice_action> 63 <slice_number>6</slice_number> 64 <slice_size>0</slice_size> 65 </ai_device_vtoc_slices> 66 <ai_device_vtoc_slices> 67 <slice_action>delete</slice_action> 68 <slice_number>7</slice_number> 69 <slice_size>0</slice_size> 70 </ai_device_vtoc_slices> 71 <ai_device_vtoc_slices> 72 <slice_action>create</slice_action> 73 <slice_number>0</slice_number> 74 <slice_size>max_size</slice_size> 75 </ai_device_vtoc_slices> Mr. Ceri Davies - Staff Engineer (Software) Sun Microsystems - Data Management Group Ceri.Davies at Sun.com W:(303) 272-7810 (x77810) H:(303) 442-2795 Typically work from home on Fridays On Jun 24, 2009, at 11:16 AM, mary ding wrote: > > Ceri: > > This is a known issue and you have to specify a size: > > <ai_device_vtoc_slices> > <slice_action>delete</slice_action> > <slice_number>1</slice_number> > <slice_size>512</slice_size> > <slice_size_units>mb</slice_size_units> > </ai_device_vtoc_slices> > > > > http://defect.opensolaris.org/bz/show_bug.cgi?id=7794 > > 7794 - delete/preserve slice action in AI manifest fails if no size > specified > > The workaround is just you need to specify a size and unit #. The > size can be anything and it will work. > > > Ceri Davies wrote: >> I spoke too soon... >> <ai_device_vtoc_slices> >> <slice_action>delete</slice_action> >> <slice_number>7</slice_number> >> </ai_device_vtoc_slices> >> Fails on installadm >> Does it need the <slice_size> ? I added slice size on the delete >> and the installadm works now, but the problem I have it I dont know >> the slice size I am deleting... >> Mr. Ceri Davies - Staff Engineer (Software) >> Sun Microsystems - Data Management Group >> Ceri.Davies at Sun.com >> W:(303) 272-7810 (x77810) >> H:(303) 442-2795 >> Typically work from home on Fridays >> On Jun 24, 2009, at 9:12 AM, William Schumann wrote: >>> Ceri, >>> It sounds as if slice 0 was a preexisting slice. AI will attempt >>> to preserve existing slices. >>> First, delete slice 0, either manually by format(1m), or >>> automatically by deleting it explicitly in the manifest: >>> Then you can specify slice 0 to use the entire disk explicitly. >>> The following manifest tags will cause first the deletion, then >>> recreation using the entire disk: >>> <ai_device_vtoc_slices> >>> <slice_action>delete</slice_action> >>> <slice_number>0</slice_number> >>> </ai_device_vtoc_slices> >>> <ai_device_vtoc_slices> >>> <slice_action>create</slice_action> >>> <slice_number>0</slice_number> >>> <slice_size>max_size</slice_size> >>> </ai_device_vtoc_slices> >>> >>> William >>> Ceri Davies wrote: >>>> It looks like when I did my (successful!) AI install, it used the >>>> existing ufs partition table on the disk and then used slice 0, >>>> so only used less than half the disk. >>>> >>>> 1) Can I force AI to use the whole disk (re-partition?). There >>>> is obviously a catch 22 in repartitioning the root disk before I >>>> invoke AI, so how do I do this... >>>> 2) Can I get AI to installed a mirrored rpool? >>>> >>>> Mr. Ceri Davies - Staff Engineer (Software) >>>> Sun Microsystems - Data Management Group >>>> Ceri.Davies at Sun.com >>>> W:(303) 272-7810 (x77810) >>>> H:(303) 442-2795 >>>> Typically work from home on Fridays >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> caiman-discuss mailing list >>>> caiman-discuss at opensolaris.org >>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >> _______________________________________________ >> caiman-discuss mailing list >> caiman-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >