[Suns-at-Home] U60 does not like a 300GB USB HD

Mike Pepe lamune@doki-doki.net
Tue, 29 May 2007 21:10:16 -0700


Mauricio Tavares wrote:
>     I have this WD3200 (300GB?) ATA HD in a USB/FW box which I connected 
> to my U60. Now, when I try to format/partition it, it seems that Sol10 
> is having a hard time figuring it out, so I first took it to a Linux box 
> so to get its specs and then brought it back to the U60 and feed that 
> info.  As you can see below, it seemed to have taken it:
> 
> # format -e
> Searching for disks...done
> 
> 
> AVAILABLE DISK SELECTIONS:
>        0. c0t0d0 <IBM-IC35L036UCDY10-0-S23C cyl 36313 alt 2 hd 3 sec 658>
>           /pci@1f,4000/scsi@3/sd@0,0
>        1. c0t1d0 <QUANTUM-ATLAS10K3_73_SCA-020W cyl 31014 alt 2 hd 8 sec 
> 579>
>           /pci@1f,4000/scsi@3/sd@1,0
>        2. c2t0d0 <drive type unknown>
>           /pci@1f,4000/usb@2,3/hub@6/storage@4/disk@0,0
>        3. c4t0d0 <drive type unknown>
>           /pci@1f,4000/usb@2,3/storage@5/disk@0,0
> Specify disk (enter its number): 3
> 
> 
> 
> AVAILABLE DRIVE TYPES:
>         0. Auto configure
>         1. Quantum ProDrive 80S
>         2. Quantum ProDrive 105S
>         3. CDC Wren IV 94171-344
>         4. SUN0104
>         5. SUN0207
>         6. SUN0327
>         7. SUN0340
>         8. SUN0424
>         9. SUN0535
>         10. SUN0669
>         11. SUN1.0G
>         12. SUN1.05
>         13. SUN1.3G
>         14. SUN2.1G
>         15. SUN2.9G
>         16. Zip 100
>         17. Zip 250
>         18. Peerless 10GB
>         19. IBM-IC35L036UCDY10-0-S23C
>         20. QUANTUM-ATLAS10K3_73_SCA-020W
>         21. other
> Specify disk type (enter its number): 21
> Enter number of data cylinders: 38913
> Enter number of alternate cylinders[2]:
> Enter number of physical cylinders[38915]:
> Enter number of heads: 255
> Enter physical number of heads[default]:
> Enter number of data sectors/track: 63
> Enter number of physical sectors/track[default]:
> Enter rpm of drive[3600]: 7200
> Enter format time[default]:
> Enter cylinder skew[default]:
> Enter track skew[default]:
> Enter tracks per zone[default]:
> Enter alternate tracks[default]:
> Enter alternate sectors[default]:
> Enter cache control[default]:
> Enter prefetch threshold[default]:
> Enter minimum prefetch[default]:
> Enter maximum prefetch[default]:
> Enter disk type name (remember quotes): "Western Digital Caviar SE 
> WD3200JB 320GB"
> selecting c4t0d0
> [disk formatted]
> 
> 
> 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
>         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> s
> `s' is ambiguous.
> format> sa
> Saving new disk and partition definitions
> Enter file name["./format.dat"]: ~raub/format.dat
> Cannot open `~raub/format.dat' - No such file or directory
> format>
> format> sa
> Saving new disk and partition definitions
> Enter file name["./format.dat"]:
> 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 (Western Digital Caviar SE WD3200JB 3):
> Total disk cylinders available: 38913 + 2 (reserved cylinders)
> 
> Part      Tag    Flag     Cylinders         Size            Blocks
>   0       root    wm       0 -    16      133.35MB    (17/0/0)       273105
>   1       swap    wu      17 -    33      133.35MB    (17/0/0)       273105
>   2     backup    wu       0 - 38912      298.09GB    (38913/0/0) 625137345
>   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      34 - 38912      297.83GB    (38879/0/0) 624591135
>   7 unassigned    wm       0                0         (0/0/0)             0
> 
> partition>
> 
> I do some massaging and create just one partition for me to play with:
> 
> partition> 0
> Part      Tag    Flag     Cylinders         Size            Blocks
>   0       root    wm       0 -    16      133.35MB    (17/0/0)       273105
> 
> Enter partition id tag[root]: ?
> Expecting one of the following: (abbreviations ok):
>         unassigned    boot          root          swap
>         usr           backup        stand         var
>         home          alternates    reserved
> 
> Enter partition id tag[root]: un
> Enter partition permission flags[wm]:
> Enter new starting cyl[0]:
> Enter partition size[273105b, 17c, 16e, 133.35mb, 0.13gb]: 290GB
> Please specify units in either b(blocks), c(cylinders), e(end cylinder),
> m(megabytes) or g(gigabytes)
> Enter partition size[273105b, 17c, 16e, 133.35mb, 0.13gb]: 290g
> partition> p
> Current partition table (unnamed):
> Total disk cylinders available: 38913 + 2 (reserved cylinders)
> 
> Part      Tag    Flag     Cylinders         Size            Blocks
>   0 unassigned    wm       0 - 37857      290.01GB    (37858/0/0) 608188770
>   1 unassigned    wu       0                0         (0/0/0)             0
>   2     backup    wu       0 - 38912      298.09GB    (38913/0/0) 625137345
>   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 unassigned    wm       0                0         (0/0/0)             0
>   7 unassigned    wm       0                0         (0/0/0)             0
> 
> partition> 0
> Part      Tag    Flag     Cylinders         Size            Blocks
>   0 unassigned    wm       0 - 37857      290.01GB    (37858/0/0) 608188770
> 
> Enter partition id tag[unassigned]:
> Enter partition permission flags[wm]:
> Enter new starting cyl[0]:
> Enter partition size[608188770b, 37858c, 37857e, 296967.19mb, 290.01gb]:
> partition> ?
> [...]
> 
> But, when I try to format it, it barks at me:
> 
> format> fo
> Ready to format.  Formatting cannot be interrupted.
> Continue? y
> Beginning format. The current time is Sun May 27 21:59:10 2007
> 
> Formatting...
> Format failed
> 
> 
> Anything I may be doing wrong?
> _______________________________________________
> Suns-at-Home mailing list
> Suns-at-Home@net-kitchen.com
> http://www.net-kitchen.com/mailman/listinfo/suns-at-home

I doubt the USB-IDE bridge in the USB box implements that particular 
SCSI command to perform a media format.

Try making the filesystem(s) after labeling the disk. It'll probably 
work fine. The format isn't necessary.

-Mike