cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
126
Views
0
Helpful
0
Replies

Need help reimaging APIC M2 for lab use

whyfly
Level 1
Level 1

I've spent the past few days trying to reimage a decommissioned APIC M2 for use in a lab (I'm an APIC newbie). This specific unit had its hard drives removed and wiped per company policy, so I had to track down and reinstall the two SAS HDDs and found a similar SATA SSD. I was able to upgrade CIMC to the latest 4.1(2m) but have been unable to successfully install the APIC software itself. I have tried with a few versions of 3.x, 4,x, and 5.x, each fails in a similar manner: "atomix: Could not find matching device for secure boot flash". I have gone through the RAID and BIOS configuration, item by item, making sure it matches that of a production APIC M2. TPM shows the proper equipped, enabled, owned. The only difference I can find is this lab APIC lacks the "UNIGEN PHF16H0CM1-DTE PMAP". Is this an internal USB SSD? If so, could I prepare a generic USB drive and pop it into the internal USB port? Reading through the log (see below) as well as the installer scripts from the image iso, it seems like it's getting past the keygen and initial tpm config, but is hanging when it can't find a storage device containing the file "luks.enc". Is this a symptom of larger issues? Many threads in this forum suggest TPM provisioning requirements. Is there some sort of factory-equipped, pre-matched TPM + USB drive? Is there any way to work around this or somehow enable the INSECURE_MODE mentioned in the installer scripts? I'm just trying to better understand the install requirements. Version 6.0 installs in ESXi so easily, but I would like to build a fabric using 4.x (and eventually 5.x) to more closely our production ACI environment before I move on to 6.x.

+ install_from_cdrom_and_poweroff
+ cp /cdrom/atomix /usr/bin
+ cp /cdrom/do_partitioning /usr/bin
+ chmod ugo+x /usr/bin/atomix
+ chmod ugo+x /usr/bin/do_partitioning
+ echo 'Partitioning the disks and installing the system'
Partitioning the disks and installing the system
+ wipearg=--wipe-disks
+ '[' 0 = 1 ']'
+ annotate-output /usr/bin/do_partitioning --wipe-disks
+ tee -a /installer.out
17:04:11 I: Started /usr/bin/do_partitioning --wipe-disks
17:04:11 E: + echo 'Are we installing in insecure mode?'
17:04:11 O: Are we installing in insecure mode?
17:04:11 E: + INSECURE_MODE=false
17:04:11 O: INSECURE_MODE is false
17:04:11 E: + set +e
17:04:11 O: Looking for disk to use
17:04:11 E: + '[' '!' -e /sys/class/tpm/tpm0/device/caps ']'
17:04:11 E: + set -e
17:04:11 E: + echo 'INSECURE_MODE is false'
17:04:11 E: + echo 'Looking for disk to use'
17:04:11 E: ++ getopt -o hc:l -l help,wipe-thinpool,wipe-disks,skip-grub,cdrom: == --wipe-disks
17:04:11 E: + options=' --wipe-disks -- '''==''''
17:04:11 E: + cdrom=/cdrom
17:04:11 E: + wipethinpool=0
17:04:11 E: + wipedisks=0
17:04:11 E: + skipgrub=0
17:04:11 E: + eval set -- ' --wipe-disks -- '''==''''
17:04:11 E: ++ set -- --wipe-disks -- ==
17:04:11 E: + :
17:04:11 E: + case "$1" in
17:04:11 E: + wipedisks=1
17:04:11 E: + shift 1
17:04:11 E: + :
17:04:11 E: + case "$1" in
17:04:11 E: + break
17:04:11 E: ++ mktemp /tmp/XXXXXXXX
17:04:11 E: + export LUKS_CLEARTEXT_FILE=/tmp/cthfMwqb
17:04:11 E: + LUKS_CLEARTEXT_FILE=/tmp/cthfMwqb
17:04:11 E: + export LUKS_PASSPHRASE_SIZE=40
17:04:11 E: + LUKS_PASSPHRASE_SIZE=40
17:04:11 E: + export keyfile=/tmp/lkf
17:04:11 E: + keyfile=/tmp/lkf
17:04:11 E: + trap cleanup EXIT
17:04:11 E: + tar zxf /cdrom/tpm2.tgz -C /
17:04:12 E: + tar zxf /cdrom/tpm1.2.tgz -C /
17:04:12 E: + chown tss:tss /etc/tcsd.conf
17:04:12 E: + chmod 0600 /etc/tcsd.conf
17:04:12 E: + '[' 1 -eq 1 ']'
17:04:12 O: Clearing all LVs and partitions off of all non-removable disks
17:04:12 E: + echo 'Clearing all LVs and partitions off of all non-removable disks'
17:04:12 O: Clearing all known LVs
17:04:12 E: + echo 'Clearing all known LVs'
17:04:12 E: ++ lvm pvs --noheading -o pv_name
17:04:14 O: rescanning PVs to empty cache
17:04:14 E: + echo 'rescanning PVs to empty cache'
17:04:14 E: + lvm pvscan --cache
17:04:14 E: ++ mount
17:04:14 E: ++ grep /run/install/repo
17:04:14 E: ++ cut -f 1 -d ' '
17:04:14 E: ++ tr -d '[:digit:]'
17:04:14 O: Writing zeros to the start and end of all partitions on any non-removable media found in this list: sda sdb sdc sdd sde sdf hda hdb vda vdb vdc vdd
17:04:14 E: + usbinstalldev=/dev/sr
17:04:14 E: + DISKS='sda sdb sdc sdd sde sdf hda hdb vda vdb vdc vdd'
17:04:14 E: + echo 'Writing zeros to the start and end of all partitions on any non-removable media found in this list: sda sdb sdc sdd sde sdf hda hdb vda vdb vdc vdd'
17:04:14 E: + for DEV in '$DISKS'
17:04:14 E: + '[' -d /sys/block/sda ']'
17:04:14 E: + REMOVABLE=0
17:04:14 E: + ((  0 == 1  ))
17:04:14 E: + '[' /dev/sr = /dev/sda ']'
17:04:14 E: ++ sort -r
17:04:14 E: ++ ls /dev/sda
17:04:14 E: + for DEVPART in '$(ls /dev/${DEV}* | sort -r)'
17:04:14 E: ++ blockdev --getsz /dev/sda
17:04:14 E: + sectors=1169920000
17:04:14 E: + mb=571250
17:04:14 E: + dd if=/dev/zero of=/dev/sda bs=1M count=8192
17:05:23 E: 8192+0 records in
17:05:23 E: 8192+0 records out
17:05:23 E: 8589934592 bytes (8.6 GB) copied, 69.4302 s, 124 MB/s
17:05:23 E: + '[' 571250 -gt 8192 ']'
17:05:23 E: + dd if=/dev/zero of=/dev/sda bs=1M count=8192 seek=563058
17:07:34 E: 8192+0 records in
17:07:34 E: 8192+0 records out
17:07:34 E: 8589934592 bytes (8.6 GB) copied, 130.545 s, 65.8 MB/s
17:07:34 E: + sync
17:07:34 E: + flock -s /dev/sda partprobe /dev/sda
17:07:34 E: + sync
17:07:34 E: + for DEV in '$DISKS'
17:07:34 E: + '[' -d /sys/block/sdb ']'
17:07:34 E: + REMOVABLE=0
17:07:34 E: + ((  0 == 1  ))
17:07:34 E: + '[' /dev/sr = /dev/sdb ']'
17:07:34 E: ++ sort -r
17:07:34 E: ++ ls /dev/sdb
17:07:34 E: + for DEVPART in '$(ls /dev/${DEV}* | sort -r)'
17:07:34 E: ++ blockdev --getsz /dev/sdb
17:07:34 E: + sectors=498044928
17:07:34 E: + mb=243186
17:07:34 E: + dd if=/dev/zero of=/dev/sdb bs=1M count=8192
17:08:17 E: 8192+0 records in
17:08:17 E: 8192+0 records out
17:08:17 E: 8589934592 bytes (8.6 GB) copied, 42.0864 s, 204 MB/s
17:08:17 E: + '[' 243186 -gt 8192 ']'
17:08:17 E: + dd if=/dev/zero of=/dev/sdb bs=1M count=8192 seek=234994
17:08:52 E: 8192+0 records in
17:08:52 E: 8192+0 records out
17:08:52 E: 8589934592 bytes (8.6 GB) copied, 35.3181 s, 243 MB/s
17:08:52 E: + sync
17:08:52 E: + flock -s /dev/sdb partprobe /dev/sdb
17:08:52 E: + sync
17:08:52 E: + for DEV in '$DISKS'
17:08:52 O: Not zeroing removable device sdc
17:08:52 E: + '[' -d /sys/block/sdc ']'
17:08:52 O: Not zeroing removable device sdd
17:08:52 E: + REMOVABLE=1
17:08:52 O: Not zeroing removable device sde
17:08:52 E: + ((  1 == 1  ))
17:08:52 O: Not zeroing removable device sdf
17:08:52 E: + echo 'Not zeroing removable device sdc'
17:08:52 E: + continue
17:08:52 E: + for DEV in '$DISKS'
17:08:52 E: + '[' -d /sys/block/sdd ']'
17:08:52 E: + REMOVABLE=1
17:08:52 E: + ((  1 == 1  ))
17:08:52 E: + echo 'Not zeroing removable device sdd'
17:08:52 E: + continue
17:08:52 E: + for DEV in '$DISKS'
17:08:52 E: + '[' -d /sys/block/sde ']'
17:08:52 E: + REMOVABLE=1
17:08:52 E: + ((  1 == 1  ))
17:08:52 E: + echo 'Not zeroing removable device sde'
17:08:52 E: + continue
17:08:52 E: + for DEV in '$DISKS'
17:08:52 E: + '[' -d /sys/block/sdf ']'
17:08:52 E: + REMOVABLE=1
17:08:52 E: + ((  1 == 1  ))
17:08:52 E: + echo 'Not zeroing removable device sdf'
17:08:52 E: + continue
17:08:52 E: + for DEV in '$DISKS'
17:08:52 E: + '[' -d /sys/block/hda ']'
17:08:52 E: + continue
17:08:52 E: + for DEV in '$DISKS'
17:08:52 E: + '[' -d /sys/block/hdb ']'
17:08:52 E: + continue
17:08:52 E: + for DEV in '$DISKS'
17:08:52 E: + '[' -d /sys/block/vda ']'
17:08:52 E: + continue
17:08:52 E: + for DEV in '$DISKS'
17:08:52 E: + '[' -d /sys/block/vdb ']'
17:08:52 E: + continue
17:08:52 E: + for DEV in '$DISKS'
17:08:52 E: + '[' -d /sys/block/vdc ']'
17:08:52 E: + continue
17:08:52 E: + for DEV in '$DISKS'
17:08:52 E: + '[' -d /sys/block/vdd ']'
17:08:52 E: + continue
17:08:52 E: + lvm pvscan --cache
17:08:52 E: + '[' 0 -eq 1 ']'
17:08:52 O: Looking at the disks
17:08:52 E: + echo 'Looking at the disks'
17:08:52 E: + '[' false = true ']'
17:08:52 E: + export cdrom
17:08:52 E: + export INSECURE_MODE
17:08:52 E: + cp -f /cdrom/partition-apicnx.sh /cdrom/partition-apicnx.sh.signature /cdrom/partition-apic-qa-master-branch.sh /cdrom/partition-apic-qa-master-branch.sh.signature /cdrom/partition-apic.sh /cdrom/partition-apic.sh.signature /cdrom/partition-capic.sh /cdrom/partition-capic.sh.signature /cdrom/partition-helpers.sh /cdrom/partition-helpers.sh.signature /cdrom/partition.sh /cdrom/partition.sh.signature /cdrom/partition-vpod.sh /cdrom/partition-vpod.sh.signature /
17:08:52 E: + chown 0:0 /partition.sh
17:08:52 E: + chmod 755 /partition.sh
17:08:52 E: + /partition.sh
17:08:52 E: + . /partition-helpers.sh
17:08:52 E: ++ cp -f /cdrom/megacli/opt/MegaRAID/MegaCli/MegaCli64 /usr/bin/megacli
17:08:52 E: ++ chown 0:0 /usr/bin/megacli
17:08:52 E: ++ chmod 755 /usr/bin/megacli
17:08:52 E: ++ killpid=1989
17:08:52 E: ++ raid=no
17:08:52 E: ++ declare -a vd_is_ssd
17:08:52 E: ++ sleep 60s
17:08:52 E: ++ /usr/bin/megacli -LdPdInfo -a0 -NoLog
17:08:52 E: ++ raid=yes
17:08:52 E: ++ set +x
17:08:53 E: ++ kill -9 1989
17:08:53 E: ++ wait
17:08:53 E: /partition-helpers.sh: line 175:  1989 Killed                  ( sleep 60s; killall -9 megacli )
17:08:53 E: + atomvg=vg_ifc0
17:08:53 E: + layer_reserve=120
17:08:53 E: + '[' -d /dev/vg_ifc0 -a '!' -e /dev/mapper/vg_ifc0-ThinDataLV ']'
17:08:53 E: ++ host_type
17:08:53 E: ++ dmidecode
17:08:53 E: ++ grep -q 'Product Name: UCSC-C220-M'
17:08:53 E: +++ dmidecode
17:08:53 E: +++ grep Product
17:08:53 E: +++ grep UCSC
17:08:53 O: Detected host type: legacy
17:08:53 O: looking at sda
17:08:53 E: +++ awk '{ print $3 }'
17:08:53 O: sda is not removable
17:08:53 E: +++ cut -c 12
17:08:53 O: size of sda is 557
17:08:53 E: ++ v=4
17:08:53 E: ++ '[' -z 4 ']'
17:08:53 E: ++ '[' 4 -lt 5 ']'
17:08:53 E: ++ echo legacy
17:08:53 E: ++ return
17:08:53 E: + hosttype=legacy
17:08:53 E: + echo 'Detected host type: legacy'
17:08:53 E: + case "${hosttype}" in
17:08:53 E: + collect_disks
17:08:53 E: + DIR=/sys/block
17:08:53 E: + ROOTDRIVE=
17:08:53 E: + firstdisk=
17:08:53 E: + SSD=
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/sda ']'
17:08:53 E: + echo 'looking at sda'
17:08:53 O: Identified HDD ROOTDRIVE=sda - 557 GB
17:08:53 E: + REMOVABLE=0
17:08:53 O: looking at sdb
17:08:53 E: + ((  0 == 1  ))
17:08:53 O: sdb is not removable
17:08:53 E: + echo 'sda is not removable'
17:08:53 O: size of sdb is 237
17:08:53 E: + SIZE=1169920000
17:08:53 E: + GB=557
17:08:53 E: + echo 'size of sda is 557'
17:08:53 E: + '[' -z '' ']'
17:08:53 E: + firstdisk=sda
17:08:53 E: + '[' yes = no ']'
17:08:53 E: ++ getRAIDDeviceType /sys/block/sda
17:08:53 E: ++ dev=/sys/block/sda
17:08:53 E: +++ udevadm info /sys/block/sda
17:08:53 E: +++ grep ID_PATH_TAG
17:08:53 E: ++ id_path_tag='E: ID_PATH_TAG=pci-0000_05_00_0-scsi-0_2_0_0'
17:08:53 E: ++ echo 'E: ID_PATH_TAG=pci-0000_05_00_0-scsi-0_2_0_0'
17:08:53 O: Identified SSD=sdb - 237 GB
17:08:53 E: ++ grep -q usb
17:08:53 O: looking at sdc
17:08:53 E: +++ echo E: ID_PATH_TAG=pci-0000_05_00_0-scsi-0_2_0_0
17:08:53 O: looking at sdd
17:08:53 E: +++ cut -d _ -f 8
17:08:53 O: looking at sde
17:08:53 E: ++ scsi_id=0
17:08:53 O: looking at sdf
17:08:53 E: ++ '[' 0 -eq 1 ']'
17:08:53 O: Chose root drive: ROOTDRIVE=sda
17:08:53 E: ++ echo HDD
17:08:53 O: SSD=sdb
17:08:53 E: + raidDeviceType=HDD
17:08:53 E: + '[' HDD = UNKNOWN ']'
17:08:53 E: + '[' HDD = SSD ']'
17:08:53 E: + '[' HDD = HDD ']'
17:08:53 E: + echo 'Identified HDD ROOTDRIVE=sda - 557 GB'
17:08:53 E: + ROOTDRIVE=sda
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/sdb ']'
17:08:53 E: + echo 'looking at sdb'
17:08:53 E: + REMOVABLE=0
17:08:53 E: + ((  0 == 1  ))
17:08:53 E: + echo 'sdb is not removable'
17:08:53 E: + SIZE=498044928
17:08:53 E: + GB=237
17:08:53 E: + echo 'size of sdb is 237'
17:08:53 E: + '[' -z sda ']'
17:08:53 E: + '[' yes = no ']'
17:08:53 E: ++ getRAIDDeviceType /sys/block/sdb
17:08:53 E: ++ dev=/sys/block/sdb
17:08:53 E: +++ udevadm info /sys/block/sdb
17:08:53 E: +++ grep ID_PATH_TAG
17:08:53 E: ++ id_path_tag='E: ID_PATH_TAG=pci-0000_05_00_0-scsi-0_2_1_0'
17:08:53 E: ++ echo 'E: ID_PATH_TAG=pci-0000_05_00_0-scsi-0_2_1_0'
17:08:53 E: ++ grep -q usb
17:08:53 E: +++ echo E: ID_PATH_TAG=pci-0000_05_00_0-scsi-0_2_1_0
17:08:53 E: +++ cut -d _ -f 8
17:08:53 E: ++ scsi_id=1
17:08:53 E: ++ '[' 1 -eq 1 ']'
17:08:53 E: + raidDeviceType=SSD
17:08:53 E: + '[' SSD = UNKNOWN ']'
17:08:53 E: + '[' SSD = SSD ']'
17:08:53 E: + echo 'Identified SSD=sdb - 237 GB'
17:08:53 E: + SSD=sdb
17:08:53 E: + '[' SSD = HDD ']'
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/sdc ']'
17:08:53 E: + echo 'looking at sdc'
17:08:53 E: + REMOVABLE=1
17:08:53 E: + ((  1 == 1  ))
17:08:53 E: + continue
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/sdd ']'
17:08:53 E: + echo 'looking at sdd'
17:08:53 E: + REMOVABLE=1
17:08:53 E: + ((  1 == 1  ))
17:08:53 E: + continue
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/sde ']'
17:08:53 E: + echo 'looking at sde'
17:08:53 E: + REMOVABLE=1
17:08:53 E: + ((  1 == 1  ))
17:08:53 E: + continue
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/sdf ']'
17:08:53 E: + echo 'looking at sdf'
17:08:53 E: + REMOVABLE=1
17:08:53 E: + ((  1 == 1  ))
17:08:53 E: + continue
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/hda ']'
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/hdb ']'
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/vda ']'
17:08:53 E: + for DEV in sda sdb sdc sdd sde sdf hda hdb vda vdb
17:08:53 E: + '[' -d /sys/block/vdb ']'
17:08:53 E: + '[' -z sda ']'
17:08:53 E: + echo 'Chose root drive: ROOTDRIVE=sda'
17:08:53 E: + echo SSD=sdb
17:08:53 E: + fresh_install_legacy_hw
17:08:53 E: + sfdisk -D -uM /dev/sda
17:08:54 E: Checking that no-one is using this disk right now ...
17:08:54 E: OK
17:08:54 O:
17:08:54 E: sfdisk:  /dev/sda: unrecognized partition table type
17:08:54 O: Disk /dev/sda: 72824 cylinders, 255 heads, 63 sectors/track
17:08:54 E:
17:08:54 O: Old situation:
17:08:54 E: sfdisk: No partitions found
17:08:54 O: New situation:
17:08:54 E:
17:08:54 O: Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0
17:08:54 E: Warning: no primary partition is marked bootable (active)
17:08:54 O:
17:08:54 E: This does not matter for LILO, but the DOS MBR will not boot this disk.
17:08:54 O: Device Boot Start   End    MiB    #blocks   Id  System
17:08:54 O: /dev/sda1         0+  5004-  5005-   5124703+  83  Linux
17:08:54 O: /dev/sda2      5004+  7004-  2001-   2048287+  83  Linux
17:08:54 O: /dev/sda3      7004+ 571248- 564244- 577785757+  83  Linux
17:08:54 O: /dev/sda4         0      -      0          0    0  Empty
17:08:54 O: Successfully wrote the new partition table
17:08:54 O:
17:08:54 E: If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
17:08:54 O: Re-reading the partition table ...
17:08:54 E: to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
17:08:54 O:
17:08:54 E: (See fdisk(8).)
17:08:54 E: + sync
17:08:54 E: + flock -s /dev/sda partprobe /dev/sda
17:08:54 E: + sync
17:08:54 E: + echo 'Creating the boot partition'
17:08:54 O: Creating the boot partition
17:08:54 E: + mkfs.ext3 -I 128 /dev/sda1
17:08:56 E: mke2fs 1.42.9 (28-Dec-2013)
17:08:56 O: Filesystem label=
17:08:56 O: OS type: Linux
17:08:56 O: Block size=4096 (log=2)
17:08:56 O: Fragment size=4096 (log=2)
17:08:56 O: Stride=0 blocks, Stripe width=0 blocks
17:08:56 O: 321280 inodes, 1281175 blocks
17:08:56 O: 64058 blocks (5.00%) reserved for the super user
17:08:56 O: First data block=0
17:08:56 O: Maximum filesystem blocks=1312817152
17:08:56 O: 40 block groups
17:08:56 O: 32768 blocks per group, 32768 fragments per group
17:08:56 O: 8032 inodes per group
17:08:56 O: Superblock backups stored on blocks:
17:08:56 O: 32768, 98304, 163840, 229376, 294912, 819200, 884736
17:08:56 O:
17:08:56 O: Allocating group tables: done
17:08:56 O: Writing inode tables: done
17:08:56 O: Creating journal (32768 blocks): done
17:08:57 O: Writing superblocks and filesystem accounting information: done
17:08:57 E: + echo 'Creating the UEFI system partition'
17:08:57 O:
17:08:57 E: + mkfs.fat -F32 /dev/sda2
17:08:57 O: Creating the UEFI system partition
17:08:58 O: mkfs.fat 3.0.20 (12 Jun 2013)
17:08:58 E: + lvm pvscan --cache
17:08:58 E: + echo 'Creating volume group and thin pool LVs'
17:08:58 O: Creating volume group and thin pool LVs
17:08:58 E: + lvm pvcreate --metadatasize 128M /dev/sda3
17:08:58 O: Physical volume "/dev/sda3" successfully created
17:08:58 E: + lvm vgcreate vg_ifc0 /dev/sda3
17:08:58 O: Volume group "vg_ifc0" successfully created
17:08:58 O: Partitioning SSD=sdb
17:08:58 E: + echo 'Partitioning SSD=sdb'
17:08:58 E: + sfdisk -D -uM /dev/sdb
17:08:58 E: Checking that no-one is using this disk right now ...
17:08:58 O:
17:08:58 E:
17:08:58 O: New situation:
17:08:58 E: sfdisk: No partitions found
17:08:58 O: Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0
17:08:58 O:
17:08:58 E:
17:08:58 O: Device Boot Start   End    MiB    #blocks   Id  System
17:08:58 E: Warning: no primary partition is marked bootable (active)
17:08:58 O: /dev/sdb1         0+ 243179- 243180- 249015501   83  Linux
17:08:58 E: This does not matter for LILO, but the DOS MBR will not boot this disk.
17:08:58 O: /dev/sdb2         0      -      0          0    0  Empty
17:08:58 O: /dev/sdb3         0      -      0          0    0  Empty
17:08:58 O: /dev/sdb4         0      -      0          0    0  Empty
17:08:58 O: Successfully wrote the new partition table
17:08:58 O:
17:08:58 E: If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
17:08:58 O: Re-reading the partition table ...
17:08:58 O:
17:08:58 E: to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
17:08:58 E: (See fdisk(8).)
17:08:58 E: + sync
17:08:58 E: + flock -s /dev/sdb partprobe /dev/sdb
17:08:58 E: + sync
17:08:58 E: + lvm pvscan --cache
17:08:58 E: + lvm pvcreate --metadatasize 128M /dev/sdb1
17:08:58 O: Physical volume "/dev/sdb1" successfully created
17:08:58 O: Creating vg_ifc0_ssd volume group
17:08:58 E: + echo 'Creating vg_ifc0_ssd volume group'
17:08:58 E: + lvm vgcreate vg_ifc0_ssd /dev/sdb1
17:08:58 O: Volume group "vg_ifc0_ssd" successfully created
17:08:58 E: + createEncryptedLV rfs1 vg_ifc0 40G thick
17:08:58 E: + '[' false = true ']'
17:08:58 E: + encryptedLV=rfs1
17:08:58 E: + decryptedLV=rfs1_enc
17:08:58 O: Generating passphrase for TPM 1.2
17:08:58 E: + vgname=vg_ifc0
17:08:58 E: + size=40G
17:08:58 E: + thick=thick
17:08:58 E: + '[' -s /tmp/cthfMwqb ']'
17:08:58 O: tpm-1.2-init: creating /tmp/lkf
17:08:58 E: + generatePassphrase
17:08:58 E: + cp /cdrom/tpm-find-device.sh /usr/bin/tpm-find-device.sh
17:08:58 E: + chmod 755 /usr/bin/tpm-find-device.sh
17:08:58 E: + '[' -e /sys/class/tpm/tpm0/device/caps ']'
17:08:58 E: + echo 'Generating passphrase for TPM 1.2'
17:08:58 E: + for f in tpm-1.2-init.sh
17:08:58 E: + cp /cdrom/tpm-1.2-init.sh /usr/bin/
17:08:58 E: + chmod 755 /usr/bin/tpm-1.2-init.sh
17:08:58 E: + /usr/bin/tpm-1.2-init.sh /tmp/lkf
17:08:58 E: + keyfile=/tmp/lkf
17:08:58 E: + echo 'tpm-1.2-init: creating /tmp/lkf'
17:08:58 E: + '[' '!' -f /tmp/tpmdrive ']'
17:08:58 E: + /usr/bin/tpm-find-device.sh
17:08:58 E: + mkdir -p /var/lib/tpm
17:08:58 E: + mkdir -p /tmp/bootflash
17:08:58 E: + device=
17:08:58 E: ++ ls /sys/block
17:08:58 E: ++ grep '[sv]d'
17:08:58 E: + for DEV in '$(ls /sys/block | grep [sv]d)'
17:08:58 E: + '[' -e /dev/sda1 ']'
17:08:58 E: + mount /dev/sda1 /tmp/bootflash
17:08:59 E: + '[' -f /tmp/bootflash/luks.enc ']'
17:08:59 O: atomix: no bootflash info on device: sda
17:08:59 E: + echo 'atomix: no bootflash info on device: sda'
17:08:59 E: + umount -l /tmp/bootflash
17:08:59 E: + for DEV in '$(ls /sys/block | grep [sv]d)'
17:08:59 E: + '[' -e /dev/sdb1 ']'
17:08:59 E: + mount /dev/sdb1 /tmp/bootflash
17:08:59 E: mount: unknown filesystem type 'LVM2_member'
17:08:59 E: + continue
17:08:59 O: atomix: Could not find matching device for secure boot flash.
17:08:59 E: + for DEV in '$(ls /sys/block | grep [sv]d)'
17:08:59 E: + '[' -e /dev/sdc1 ']'
17:08:59 E: + continue
17:08:59 E: + for DEV in '$(ls /sys/block | grep [sv]d)'
17:08:59 E: + '[' -e /dev/sdd1 ']'
17:08:59 E: + continue
17:08:59 E: + for DEV in '$(ls /sys/block | grep [sv]d)'
17:08:59 E: + '[' -e /dev/sde1 ']'
17:08:59 E: + continue
17:08:59 E: + for DEV in '$(ls /sys/block | grep [sv]d)'
17:08:59 E: + '[' -e /dev/sdf1 ']'
17:08:59 E: + continue
17:08:59 E: + echo ''
17:08:59 E: + device=
17:08:59 E: + '[' -z '' ']'
17:08:59 E: + echo 'atomix: Could not find matching device for secure boot flash.'
17:08:59 E: + exit 1
17:08:59 E: + cleanup
17:08:59 E: + rm -f /tmp/cthfMwqb
17:08:59 E: + rm -f /tmp/lkf
0 Replies 0

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License