> I'm unable to get my SNV 117 to see a 1,5 TB SATA drive I just got.
...
> I've tried adding the 1,5TB as the secondary drive, and tried both
> 'reboot -- -r' and 'devfsadm' but the drive wasn't listed by 'format'.
> I tried booting from the SNV 117 x86 DVD, to test installing on the
> drive, the install app complained about 'no drive'.

Is the drive listed in "iostat -En" output?


One thing that could be confusing is that the 32-bit
cmdk driver silently rejects disks > 1TB [1], while the
sd driver (USB, S-ATA HDD on S-ATA framework, ...)
at least gives an explanation on the console what
is going on [2].


[1] 
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/intel/io/dktp/disk/cmdk.c#389

    389 #ifdef _ILP32
    390         {
    391                 struct  tgdk_geom phyg;
    392                 (void) dadk_getphygeom(DKTP_DATA, &phyg);
    393                 if ((phyg.g_cap - 1) > DK_MAX_BLOCKS) {
    394                         (void) dadk_close(DKTP_DATA);
    395                         goto fail2;
    396                 }
    397         }
    398 #endif


[2] 
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/scsi/targets/sd.c#7790

   7790                                 if (capacity > DK_MAX_BLOCKS) {
   7791 #ifdef _LP64
   7792                                         if ((capacity + 1) >
   7793                                             SD_GROUP1_MAX_ADDRESS) {
   7794                                                 /*
   7795                                                  * Enable descriptor 
format
   7796                                                  * sense data so that 
we can
   7797                                                  * get 64 bit sense data
   7798                                                  * fields.
   7799                                                  */
   7800                                                 
sd_enable_descr_sense(ssc);
   7801                                         }
   7802 #else
   7803                                         /* 32-bit kernels can't handle 
this */
   7804                                         scsi_log(SD_DEVINFO(un),
   7805                                             sd_label, CE_WARN,
   7806                                             "disk has %llu blocks, 
which "
   7807                                             "is too large for a 32-bit "
   7808                                             "kernel", capacity);
   7809 
   7810 #if defined(__i386) || defined(__amd64)
   7811                                         /*
   7812                                          * 1TB disk was treated as (1T 
- 512)B
   7813                                          * in the past, so that it 
might have
   7814                                          * valid VTOC and solaris 
partitions,
   7815                                          * we have to allow it to 
continue to
   7816                                          * work.
   7817                                          */
   7818                                         if (capacity -1 > DK_MAX_BLOCKS)
   7819 #endif
   7820                                         goto spinup_failed;
   7821 #endif
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to