Thursday, 26 April 2012


Recently I have configured hardware mirroring in T3-2 server.The entire putty log is published.After Raid volume creation we should label it by booting into single user mode from the DVD media otherwise installation software will exit saying hardware failure or unformatted hard disk.


{0} ok probe-scsi-all
/pci@400/pci@2/pci@0/pci@e/scsi@0

FCode Version 1.00.54, MPT Version 2.00, Firmware Version 5.00.17.00

Target 9
  Unit 0   Disk   HITACHI  H103030SCSUN300G A2A8    585937500 Blocks, 300 GB
  SASDeviceName 5000cca01535a7a4  SASAddress 5000cca01535a7a5  PhyNum 0
Target a
  Unit 0   Removable Read Only device   TEAC    DV-W28SS-R      1.0C                   
  SATA device  PhyNum 7
Target b
  Unit 0   Disk   HITACHI  H103030SCSUN300G A2A8    585937500 Blocks, 300 GB
  SASDeviceName 5000cca01535be70  SASAddress 5000cca01535be71  PhyNum 1

/pci@400/pci@1/pci@0/pci@b/pci@0/usb@0,2/hub@2/hub@3/storage@2
  Unit 0   Removable Read Only device    AMI     Virtual CDROM   1.00


{0} ok devalias
screen                   /pci@400/pci@1/pci@0/pci@0/pci@0/display@0
mouse                    /pci@400/pci@1/pci@0/pci@b/pci@0/usb@0,2/hub@2/device@4/mouse@1
igb3                     /virtual-devices@100/channel-devices@200/network@3
igb2                     /virtual-devices@100/channel-devices@200/network@2
igb1                     /virtual-devices@100/channel-devices@200/network@1
igb0                     /virtual-devices@100/channel-devices@200/network@0
primary-cdrom            /virtual-devices@100/channel-devices@200/virtual-disk-server@1
primary-vds0             /virtual-devices@100/channel-devices@200/virtual-disk-server@0
primary-vsw3             /virtual-devices@100/channel-devices@200/virtual-network-switch@3
primary-vsw2             /virtual-devices@100/channel-devices@200/virtual-network-switch@2
primary-vsw1             /virtual-devices@100/channel-devices@200/virtual-network-switch@1
primary-vsw0             /virtual-devices@100/channel-devices@200/virtual-network-switch@0
primary-vcc              /virtual-devices@100/channel-devices@200/virtual-console-concentrator@0
net3                     /pci@500/pci@1/pci@0/pci@5/network@0,1
net2                     /pci@500/pci@1/pci@0/pci@5/network@0
dvd                      /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@p7
disk5                    /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@p5
disk4                    /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@p4
disk3                    /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@p3
disk2                    /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@p2
disk1                    /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@p1
disk0                    /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@p0
disk                        /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@p0
scsi0                       /pci@400/pci@2/pci@0/pci@e/scsi@0
scsi                        /pci@400/pci@2/pci@0/pci@e/scsi@0                             
rcdrom                      /pci@400/pci@1/pci@0/pci@b/pci@0/usb@0,2/hub@2/hub@3/storage@2/disk@0                       
rkeyboard                  /pci@400/pci@1/pci@0/pci@b/pci@0/usb@0,2/hub@2/device@4/keyboard@0
rscreen                    /pci@400/pci@1/pci@0/pci@0/pci@0/display@0:r1280x1024x60
net1                        /pci@400/pci@1/pci@0/pci@4/network@0,1                            
net0                     /pci@400/pci@1/pci@0/pci@4/network@0
net                      /pci@400/pci@1/pci@0/pci@4/network@0
virtual-console          /virtual-devices@100/console@1
name                     aliases



{0} ok select scsi

{0} ok show-children

FCode Version 1.00.54, MPT Version 2.00, Firmware Version 5.00.17.00

Target 9
  Unit 0   Disk   HITACHI  H103030SCSUN300G A2A8    585937500 Blocks, 300 GB
  SASDeviceName 5000cca01535a7a4  SASAddress 5000cca01535a7a5  PhyNum 0
Target a
  Unit 0   Removable Read Only device   TEAC    DV-W28SS-R      1.0C                    
  SATA device  PhyNum 7
Target b
  Unit 0   Disk   HITACHI  H103030SCSUN300G A2A8    585937500 Blocks, 300 GB
  SASDeviceName 5000cca01535be70  SASAddress 5000cca01535be71  PhyNum 1

  {0} ok 9 b create-raid1-volume
Target 9 size is 583983104 Blocks, 298 GB
Target b size is 583983104 Blocks, 298 GB
The volume can be any size from 1 MB to 285148 MB
What size do you want?  [285148 ]
Volume size will be 583983104 Blocks, 298 GB
Enter a volume name:  [0 to 15 characters] raidvol0 0
Volume has been created
{0} ok show-children

FCode Version 1.00.54, MPT Version 2.00, Firmware Version 5.00.17.00

Target a
  Unit 0   Removable Read Only device   TEAC    DV-W28SS-R      1.0C                                                
   SATA device  PhyNum 7
Target 389 Volume 0
  Unit 0   Disk   LSI      Logical Volume   3000    583983104 Blocks, 298 GB
  VolumeDeviceName 3410ff9cf8297976  VolumeWWID 0410ff9cf8297976

{0} ok show-volumes
Volume 0 Target 389  Type RAID1 (Mirroring)
  Name raidvol0  WWID 0410ff9cf8297976
  Optimal  Enabled  Background Init In Progress
  2 Members                                         583983104 Blocks, 298 GB
  Disk 1
    Primary  Optimal
    Target 9      HITACHI  H103030SCSUN300G A2A8
  Disk 0
    Secondary  Optimal
    Target b      HITACHI  H103030SCSUN300G A2A8

{0} ok  reset-all

SPARC T3-2, No Keyboard
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.32.4, 8192 MB memory available, Serial #96146534.
Ethernet address 0:21:28:bb:14:66, Host ID: 85bb1466.


Boot into single user mode from dvd then label the raid1 volume visible to the OS then restart and continue with OS installation as usual.


{0} ok boot dvd -s   => to label the volume.
                     
Boot device: /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@p7  File and args: -s
|/-\|/-\|/-\|/-
SunOS Release 5.10 Version Generic_142909-17 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-Booting to milestone "milestone/single-user:default".
|/Configuring devices.
-\|/-\|/-\WARNING: /pci@400/pci@2/pci@0/pci@e/scsi@0/iport@v0/disk@w38396a4077c6969a,0 (sd1):
        Corrupt label; wrong magic number

/pci@400/pci@2/pci@0/pci@e/scsi@0 (mpt_sas0):
        send_sep act 0: ioc status:8001|/-\|/Using RPC Bootparams for network configuration information.
Attempting to configure interface igb3...
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/Skipped interface igb3
Attempting to configure interface igb2...
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/Skipped interface igb2
Attempting to configure interface igb1...
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/Skipped interface igb1
Attempting to configure interface igb0...
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/Skipped interface igb0
-\|/USB keyboard
Requesting System Maintenance Mode
SINGLE USER MODE

# format
Searching for disks...WARNING: /pci@400/pci@2/pci@0/pci@e/scsi@0/iport@v0/disk@w38396a4077c6969a,0 (sd1):
        Corrupt label; wrong magic number

WARNING: /pci@400/pci@2/pci@0/pci@e/scsi@0/iport@v0/disk@w38396a4077c6969a,0 (sd1):
        Corrupt label; wrong magic number

done

c2t38396A4077C6969Ad0: configured with capacity of 277.99GB


AVAILABLE DISK SELECTIONS:
       0. c2t38396A4077C6969Ad0 <LSI-LogicalVolume-3000 cyl 65533 alt 2 hd 64 sec 139>
          /pci@400/pci@2/pci@0/pci@e/scsi@0/iport@v0/disk@w38396a4077c6969a,0
Specify disk (enter its number): 0
selecting c2t38396A4077C6969Ad0
[disk formatted]
WARNING: /pci@400/pci@2/pci@0/pci@e/scsi@0/iport@v0/disk@w38396a4077c6969a,0 (sd1):
        Corrupt label; wrong magic number

Disk not labeled.  Label it now? yes 
WARNING: /pci@400/pci@2/pci@0/pci@e/scsi@0/iport@v0/disk@w38396a4077c6969a,0 (sd1):
        Corrupt label; wrong magic number

WARNING: /pci@400/pci@2/pci@0/pci@e/scsi@0/iport@v0/disk@w38396a4077c6969a,0 (sd1):
        Corrupt label; wrong magic number



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
        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 vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p


PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> p
Current partition table (default):
Total disk cylinders available: 65533 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0                0         (0/0/0)             0
  1       swap    wu       0                0         (0/0/0)             0
  2     backup    wu       0 - 65532      277.99GB    (65533/0/0) 582981568
  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        usr    wm       0 - 65532      277.99GB    (65533/0/0) 582981568
  7 unassigned    wm       0                0         (0/0/0)             0

partition> q q


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
        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 vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> q

# init 0
# syncing file systems... done
Program terminated

SPARC T3-2, No Keyboard
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.32.4, 130560 MB memory available, Serial #95507068.
Ethernet address 0:21:28:b1:52:7c, Host ID: 85b1527c.



{0} ok boot dvd     => Now install OS as usual

                               


                              
                        

                              


                              
                        

                              


                              
                         

                              

No comments:

Post a Comment

Kubernetes cluster setup on Ubuntu 26.04 using Kubeadm

Step1: Disable swap memory: Kubernetes requires swap to be disabled for the kubelet to function correctly # swapoff -a # sudo sed -i '/...