{"id":615,"date":"2009-12-17T16:35:46","date_gmt":"2009-12-17T21:35:46","guid":{"rendered":"http:\/\/www.gamescheat.ca\/?p=615"},"modified":"2019-09-04T19:57:40","modified_gmt":"2019-09-05T00:57:40","slug":"solaris-10-installation-fails-with-disk-drive-does-not-have-a-valid-label","status":"publish","type":"post","link":"http:\/\/www.gamescheat.ca\/?p=615","title":{"rendered":"Solaris 10 installation fails with disk drive does not have a valid label."},"content":{"rendered":"<p>When installing Solaris 10 I received this error.<\/p>\n<blockquote><p>This disk (c1t50060E800429C458d7) cannot be used to install<br \/>\n        Solaris software.<\/p>\n<div style=\"float: left;\"><div style=\"margin: 15px 15px 15px 15px\";><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-3319935785736004\";\ngoogle_alternate_color = \"FFFFFF\";\ngoogle_ad_width = 336;\ngoogle_ad_height = 280;\ngoogle_ad_format = \"336x280_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel =\"\";\ngoogle_color_border = \"cccccc\";\ngoogle_color_link = \"cc0000\";\ngoogle_color_bg = \"ffffff\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\n\/\/--><\/script>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div><\/div><p>        This disk drive does not have a valid label.  If you want to use<br \/>\n        this disk for the install, exit the Solaris Interactive<br \/>\n        Installation program, use the format(1M) command from the<br \/>\n        command line to label the disk, and type \u2018install-solaris\u2019 to<br \/>\n        restart the installation program.<\/p><\/blockquote>\n<p>I exited out of the installation and at the command prompt ran the format command.  I then proceeded to label the drive, in this case it was a LUN (disk) sitting on a SAN.  The LUN was connected via two fiber channel cards.  I then ran the install-solaris command to continue with the installation, but ran into the same issue again.  I decided to format the drive to see if it would help.  I initiated the format command, the drive was 350G in size, I left it running over night and when I checked on the progress the next day it was still not completed.  I killed the format of the drive and decided to call Sun suppport.  While I was waiting for a call back I decided to check the internet for help.  After much searching I finally found only one article, but thankfully it was the right one.  It seems that there was a bug with the OS. If the disk drive was previously in a zpool with EFI label, then this would result in this error during installation.  The LUN drive was indeed part of a zpool, I have been testing Solaris 10 zones on this drive with zpool and ZFS file system. <\/p>\n<p>I decided to boot into Solaris, the version that was still installed on the drive and proceeded to delete the zpool and zones.  But the drive failed again during the installation. The correct resolution was to run the format command with the -e option and then label the drive.  The advance format mode allows you to change the EFI label to SMI.  This should then allow you to install Solaris 10 on the drive.<\/p>\n<p>Below is the screen shot for the format -e command.<\/p>\n<blockquote><p>\n# format -e<br \/>\nSearching for disks\u2026done<\/p>\n<p>AVAILABLE DISK SELECTIONS:<br \/>\n       0. c0t0d0 <FUJITSU-MBD2147RC-3701 cyl 14087 alt 2 hd 24 sec 848><br \/>\n          \/pci@0,600000\/pci@0\/pci@0\/scsi@0\/sd@0,0<br \/>\n       1. c0t1d0 <FUJITSU-MBD2147RC-3701 cyl 14087 alt 2 hd 24 sec 848><br \/>\n          \/pci@0,600000\/pci@0\/pci@0\/scsi@0\/sd@1,0<br \/>\n       2. c1t50060E800429C458d7 <HITACHI-OPEN-V*14   -SUN-5009-350.01GB><br \/>\n          \/pci@0,600000\/pci@0\/pci@8\/SUNW,qlc@0\/fp@0,0\/ssd@w50060e800429c458,7<br \/>\n       3. c2t50060E800429C448d7 <HITACHI-OPEN-V*14   -SUN-5009-350.01GB><br \/>\n          \/pci@1,700000\/pci@0\/pci@0\/SUNW,qlc@0\/fp@0,0\/ssd@w50060e800429c448,7<br \/>\nSpecify disk (enter its number): 2<br \/>\nselecting c1t50060E800429C458d7<br \/>\n[disk formatted]<\/p>\n<p>Note: Disk 2 (c1t50060E800429C458d7) and 3 (c2t50060E800429C448d7) are the same LUN on the Hitachi SAN.  Because there are two paths to the LUN via two fiber channel interfaces, the same drive shows up twice.  After Solaris 10 has been installed on disk 2, you can then enable multipath from the console prompt of the OS.  You must be logged in as superuser to do this.<\/p>\n<p>FORMAT MENU:<br \/>\n        disk       \u2013 select a disk<br \/>\n        type       \u2013 select (define) a disk type<br \/>\n        partition  \u2013 select (define) a partition table<br \/>\n        current    \u2013 describe the current disk<br \/>\n        format     \u2013 format and analyze the disk<br \/>\n        repair     \u2013 repair a defective sector<br \/>\n        label      \u2013 write label to the disk<br \/>\n        analyze    \u2013 surface analysis<br \/>\n        defect     \u2013 defect list management<br \/>\n        backup     \u2013 search for backup labels<br \/>\n        verify     \u2013 read and display labels<br \/>\n        inquiry    \u2013 show vendor, product and revision<br \/>\n        scsi       \u2013 independent SCSI mode selects<br \/>\n        cache      \u2013 enable, disable or query SCSI disk cache<br \/>\n        volname    \u2013 set 8-character volume name<br \/>\n        !<cmd>     \u2013 execute <cmd>, then return<br \/>\n        quit<br \/>\nformat> label<br \/>\n[0] SMI Label<br \/>\n[1] EFI Label<br \/>\nSpecify Label type[1]: 0<br \/>\nAuto configuration via format.dat[no]? y<\/p>\n<p>Geometry: 15 heads, 746 sectors 65535 cylinders result in 733336650 out of 73401<br \/>\n7536 blocks.<br \/>\nDo you want to modify the device geometry[no]? n<\/p>\n<p>format> verify<\/p>\n<p>Primary label contents:<\/p>\n<p>Volume name = <        ><br \/>\nascii name  = <HITACHI-OPEN-V*14-SUN-5009 cyl 65533 alt 2 hd 15 sec 746><br \/>\npcyl        = 65535<br \/>\nncyl        = 65533<br \/>\nacyl        =    2<br \/>\nnhead       =   15<br \/>\nnsect       =  746<br \/>\nPart      Tag    Flag     Cylinders         Size            Blocks<br \/>\n  0       root    wm       0                0         (0\/0\/0)             0<br \/>\n  1       swap    wu       0                0         (0\/0\/0)             0<br \/>\n  2     backup    wu       0 \u2013 65532      349.67GB    (65533\/0\/0) 733314270<br \/>\n  3 unassigned    wm       0                0         (0\/0\/0)             0<br \/>\n  4 unassigned    wm       0                0         (0\/0\/0)             0<br \/>\n  5 unassigned    wm       0                0         (0\/0\/0)             0<br \/>\n  6        usr    wm       0 \u2013 65532      349.67GB    (65533\/0\/0) 733314270<br \/>\n  7 unassigned    wm       0                0         (0\/0\/0)             0<\/p>\n<p>format> quit<\/p><\/blockquote>\n<p>You can now continue with the installation of Solaris 10 again by running the command install-solaris.<\/p>\n<blockquote><p># install-solaris<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>When installing Solaris 10 I received this error. This disk (c1t50060E800429C458d7) cannot be used to install Solaris software. This disk drive does not have a valid label. If you want to use this disk for the install, exit the Solaris&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.gamescheat.ca\/?p=615\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[64],"_links":{"self":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/615"}],"collection":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=615"}],"version-history":[{"count":5,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/615\/revisions"}],"predecessor-version":[{"id":981,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/615\/revisions\/981"}],"wp:attachment":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=615"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}