All,
We run in some very strange issues with b175 when creating extra slices.
It doesn't matter, x86 or sparc. Worked in b151a (well not with this
manifest of course, but the idea is the same)
my ai_manifest.xml part for the the target:
<target>
<disk whole_disk="true">
<disk_keyword key="boot_disk"/>
<partition name="1" action="create"/>
<slice name="6" action="create" force="true">
<size val="100mb"/>
</slice>
<slice name="7" action="create" force="true">
<size val="100mb"/>
</slice>
<slice name="0" action="create" force="true">
<size val="100gb"/>
</slice>
</disk>
</target>
at the end of the install_log ....
2011-10-13 15:54:14,821 InstallationLogger.target-selection DEBUG
from_manifest =
-> [target] (<solaris_install.target.Target
object at 0x8da64ac>)
-> [disk] (Disk: ctd=None; volid=None;
devpath=None; devid=None; keyword: key=boot_disk; is_cdrom=False;
label=None; whole_disk=True; write_cache=False)
-> [1] (Partition: name=1;
action=create; part_type=191; size=0.00b; start_sector=0; bootid=0;
is_linux_swap=False)
-> [6] (Slice: name=6;
action=create, force=True, is_swap=False, tag=0, flag=0; size=100.00mb;
start_sector=None)
-> [7] (Slice: name=7;
action=create, force=True, is_swap=False, tag=0, flag=0; size=100.00mb;
start_sector=None)
-> [0] (Slice: name=0;
action=create, force=True, is_swap=False, tag=0, flag=0; size=100.00gb;
start_sector=None)
2011-10-13 15:54:14,822 InstallationLogger.target-selection DEBUG
discovered =
-> [discovered] (<solaris_install.target.Target object
at 0x8dfc20c>)
-> [disk] (Disk: ctd=c3t2d0; volid=None;
devpath=/pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@2,0;
devid=id1,sd@n5000c50006d0c6e3; prop:dev_type=scsi;
prop:dev_vendor=SEAGATE; prop:dev_size=136.72gb; keyword: key=boot_disk;
is_cdrom=False; label=VTOC; whole_disk=False; write_cache=False)
-> [1] (Partition: name=1;
action=preserve; part_type=7; size=100.00mb; start_sector=2048;
bootid=0; is_linux_swap=False)
-> [2] (Partition: name=2;
action=preserve; part_type=7; size=136.63gb; start_sector=206848;
bootid=0; is_linux_swap=False)
-> [disk] (Disk: ctd=c3t3d0; volid=None;
devpath=/pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@3,0;
devid=id1,sd@n5000c50006d0b6b7; prop:dev_type=scsi;
prop:dev_vendor=SEAGATE; prop:dev_size=136.72gb; is_cdrom=False;
label=VTOC; whole_disk=False; write_cache=False)
-> [logical] (Logical: noswap=True; nodump=True)
2011-10-13 15:54:14,835 InstallationLogger DEBUG Executing:
['/usr/sbin/prtconf']
2011-10-13 15:54:14,846 InstallationLogger DEBUG System
Configuration: Oracle Corporation i86pc
--------- cut ------
<output prtconf>
--------- cut ------
2011-10-13 15:54:14,847 InstallationLogger.target-selection DEBUG
Processing disk : [boot-disk]
2011-10-13 15:54:14,848 InstallationLogger.target-selection WARNING
Creating partition 1 on disk c3t2d0 will destroy existing data.
2011-10-13 15:54:14,904 InstallationLogger.target-selection DEBUG
Finished processing disk : [boot-disk]
2011-10-13 15:54:14,905 InstallationLogger.target-selection DEBUG
Validating desired =
-> [desired] (<solaris_install.target.Target object at
0x8e04bac>)
-> [logical] (Logical: noswap=False; nodump=False)
-> [rpool] (Zpool: name=rpool;
action=create; is_root=True; vdev_list=[None])
-> [vdev] (Vdev: name=vdev;
redundancy=mirror)
-> [solaris] (BE: name=solaris;
mountpoint=/a)
-> [disk] (Disk: ctd=c3t2d0; volid=None;
devpath=/pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@2,0;
devid=id1,sd@n5000c50006d0c6e3; prop:dev_type=scsi;
prop:dev_vendor=SEAGATE; prop:dev_size=136.72gb; keyword: key=boot_disk;
is_cdrom=False; label=VTOC; whole_disk=False; write_cache=False)
-> [1] (Partition: name=1;
action=create; part_type=191; size=136.71gb; start_sector=16065;
bootid=128; is_linux_swap=False)
-> [0] (Slice: name=0;
action=create, force=True, is_swap=False, tag=0, flag=0; in_zpool=rpool;
in_vdev=vdev; size=136.69gb; start_sector=16065)
HEY, What are you doing to me
??????????????????????????????????????????????????????????????
2011-10-13 15:54:14,905 InstallationLogger DEBUG Installation
size: 5.00gb
2011-10-13 15:54:14,905 InstallationLogger DEBUG Available size:
136.69gb
2011-10-13 15:54:14,906 InstallationLogger DEBUG Memory: 3968MB.
Swap Required: False
2011-10-13 15:54:14,906 InstallationLogger DEBUG Swap Type: ZVOL
2011-10-13 15:54:14,906 InstallationLogger DEBUG Swap Size: 1.00gb
2011-10-13 15:54:14,907 InstallationLogger DEBUG Dump Type: ZVOL
2011-10-13 15:54:14,907 InstallationLogger DEBUG Dump Size: 1.94gb
2011-10-13 15:54:14,907 InstallationLogger.target-selection DEBUG
Validating desired logical =
-> [logical] (Logical: noswap=False; nodump=False)
-> [rpool] (Zpool: name=rpool;
action=create; is_root=True; vdev_list=[None])
-> [vdev] (Vdev: name=vdev;
redundancy=mirror)
-> [solaris] (BE: name=solaris;
mountpoint=/a)
-> [swap] (Zvol: name=swap;
action=create; use=swap; size=1024m)
-> [dump] (Zvol: name=dump;
action=create; use=dump; size=1984m)
2011-10-13 15:54:14,934 InstallationLogger.target-selection DEBUG
Changing root redundancy from 'mirror' to 'none'.
2011-10-13 15:54:14,935 InstallationLogger.target-selection DEBUG
Validating DESIRED Disks
2011-10-13 15:54:14,935 InstallationLogger.target-selection DEBUG
Disks(Desired) =c3t2d0
2011-10-13 15:54:14,942 InstallationLogger DEBUG Final Validation
succeeded
2011-10-13 15:54:14,943 InstallationLogger.target-selection DEBUG
Selected disk(s): None
2011-10-13 15:54:14,943 InstallationLogger DEBUG progress:
target-selection, reported 100, normalized 4, total=10.461538
2011-10-13 15:54:14,994 InstallationLogger DEBUG Snapshotting DOC
to
/var/run/install_engine/engine.AbsckV/.data_cache.target-selection-completed
2011-10-13 15:54:15,006 InstallationLogger DEBUG Snapshotting DOC
to /var/run/install_engine/engine.AbsckV/.data_cache.ai-configuration
2011-10-13 15:54:15,017 InstallationLogger DEBUG Executing
ai-configuration checkpoint
2011-10-13 15:54:15,018 InstallationLogger DEBUG progress:
ai-configuration, reported 100, normalized 2, total=12.846153
2011-10-13 15:54:15,069 InstallationLogger DEBUG Snapshotting DOC
to
/var/run/install_engine/engine.AbsckV/.data_cache.ai-configuration-completed
2011-10-13 15:54:15,080 InstallationLogger DEBUG Snapshotting DOC
to /var/run/install_engine/engine.AbsckV/.data_cache.var-shared-dataset
2011-10-13 15:54:15,091 InstallationLogger DEBUG Executing
var-shared-dataset checkpoint
2011-10-13 15:54:15,092 InstallationLogger.var-shared-dataset
DEBUG Executing Var Share Dataset Addition
2011-10-13 15:54:15,093 InstallationLogger DEBUG progress:
var-shared-dataset, reported 100, normalized 1, total=14.769229
2011-10-13 15:54:15,144 InstallationLogger DEBUG Snapshotting DOC
to
/var/run/install_engine/engine.AbsckV/.data_cache.var-shared-dataset-completed
2011-10-13 15:54:15,156 InstallationLogger DEBUG Snapshotting DOC
to /var/run/install_engine/engine.AbsckV/.data_cache.target-instantiation
2011-10-13 15:54:15,168 InstallationLogger DEBUG Executing
target-instantiation checkpoint
2011-10-13 15:54:15,168 InstallationLogger.target-instantiation
DEBUG Executing Target Instantiation
2011-10-13 15:54:15,207 InstallationLogger DEBUG Executing:
['/usr/sbin/swap', '-l']
2011-10-13 15:54:15,216 InstallationLogger DEBUG No swap devices
configured
2011-10-13 15:54:15,217 InstallationLogger DEBUG Unmounting
filesystems on disk: c3t2d0
2011-10-13 15:54:15,218 InstallationLogger DEBUG Executing:
['/usr/sbin/fdisk', '-n', '-F', '/tmp/fdisk-zutcUZ', '/dev/rdsk/c3t2d0p0']
2011-10-13 15:54:15,289 InstallationLogger DEBUG Executing:
/usr/sbin/format -d c3t2d0
2011-10-13 15:54:15,836 InstallationLogger DEBUG stdout:
Searching for disks...done
c3t3d0: configured with capacity of 136.71GB
selecting c3t2d0
[disk formatted]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show disk ID
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> Ready to label disk, continue?
format>
2011-10-13 15:54:15,837 InstallationLogger DEBUG stderr:
2011-10-13 15:54:15,899 InstallationLogger DEBUG Executing:
['/usr/sbin/zpool', 'create', '-f', 'rpool', 'c3t2d0s0']
2011-10-13 15:54:17,865 InstallationLogger DEBUG Executing:
['/usr/sbin/zfs', 'create', '-p', '-V', '1024m', 'rpool/swap']
2011-10-13 15:54:18,192 InstallationLogger DEBUG Executing:
['/usr/sbin/swap', '-a', '/dev/zvol/dsk/rpool/swap']
and yes I end up with this:
Current partition table (original):
Total disk cylinders available: 17845 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 1 - 17844 136.69GB (17844/0/0) 286663860
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 17846 136.71GB (17847/0/0) 286712055
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
--
Paul de Nijs | Principal Sales Consultant, HPC Benchmark Engineer |
+1.503.617.8572
Oracle HPC Sales Support
3295 NW 211th Terrace | Hillsboro, OR 97124-7110
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss