Go to main content

Oracle® Storage 12 Gb/s SAS PCIe RAID HBA, Internal Installation Guide For HBA Models 7110116 and 7110117

Exit Print View

Updated: April 2020
 
 

To Verify That the Label of a Logical Drive Is Valid


Note - For your reference, this section provides an example procedure for a SPARC system that runs the Oracle Solaris OS. For an x86 system that runs the supported OS, you would use the fdisk command for that OS to verify the label of a disk. For more information about labeling disks using the fdisk command, see the documentation for your OS.
  1. Become a root user and issue the format command.
    # format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    	0. c1t0d0 <DEFAULT cyl 24611 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@a/pci17c2,10@4/sd@0,0
    	1. c1t1d0 <DEFAULT cyl 24810 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@a/pci17c2,10@4/sd@1,0
    	2. c3t8d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@8,0
    	3. c3t9d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@9,0
    	4. c3t10d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@a,0
    	5. c3t11d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@b,0
    	6. c3t12d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@c,0
    	7. c3t13d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@d,0
    Specify disk (enter its number): 
    
  2. When prompted, type the number of the disk drive that is attached to the HBA card you just installed, and press Enter.

    The Format menu is displayed.

    # format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    	0. c1t0d0 <DEFAULT cyl 24611 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@a/pci17c2,10@4/sd@0,0
    	1. c1t1d0 <DEFAULT cyl 24810 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@a/pci17c2,10@4/sd@1,0
    	2. c3t8d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@8,0
    	3. c3t9d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@9,0
    	4. c3t10d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@a,0
    	5. c3t11d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@b,0
    	6. c3t12d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@c,0
    	7. c3t13d0 <DEFAULT cyl 24619 alt 2 hd 27 sec 107>
    		/pci@0,0/pci1022,7450@b/pci1000,10c0@1,1/sd@d,0
    Specify disk (enter its number): 2
    selecting c3t8d0
    [disk formatted]
    
  3. Type q at the two prompts to quit the test and the Format menu.
    analyze> 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
    	 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 vendor, product and revision
    	 scsi	 - independent SCSI mode selects
    	 cache	 - enable, disable or query SCSI disk cache
    	 volname	 - set 8-character volume name
    	 !<cmd>	 - execute <cmd>, then return
    	 quit
    format> q
    #