I don't use OpenSolaris yet, but Solaris 10,

Here's how I worked with my 2 1TB USB drives:

sudo format -e

Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <DEFAULT cyl 38307 alt 2 hd 16 sec 255>
          /pci at 1f,0/ide at d/dad at 0,0
       1. c0t2d0 <DEFAULT cyl 38307 alt 2 hd 16 sec 255>
          /pci at 1f,0/ide at d/dad at 2,0
       2. c1t0d0 <JMicron-JM20336 SATA, US-0100-931.51GB>  Backups
          /pci at 1f,0/usb at c,3/storage at 4/disk at 0,0
       3. c1t0d1 <WDCWD10-EADS-00M2B0- cyl 60798 alt 2 hd 255 sec 126>  1TBMEDIA
          /pci at 1f,0/usb at c,3/storage at 4/disk at 0,1
Specify disk (enter its number): 2

format> type
(once I manually set things up, since there wasn't a match on the menu of 
selections)

format> label
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 1
Continue? y

format> volname 
Enter 8-character volume name (remember quotes)[""]:"Backups"
Ready to label disk, continue? y

format> verify

Volume name = <Backups>
ascii name  = <JMicron-JM20336 SATA, US-0100-931.51GB>
bytes/sector    =  512
sectors = 1953525167
accessible sectors = 1953525134
Part      Tag    Flag     First Sector          Size          Last Sector
  0        usr    wm                34       931.51GB           1953508750    
  1 unassigned    wm                 0            0                0    
  2 unassigned    wm                 0            0                0    
  3 unassigned    wm                 0            0                0    
  4 unassigned    wm                 0            0                0    
  5 unassigned    wm                 0            0                0    
  6 unassigned    wm                 0            0                0    
  7 unassigned    wm                 0            0                0    
  8   reserved    wm        1953508751         8.00MB           1953525134    

format> quit

sudo zpool create -f -m /media/1 Backups c1t0d0s0

sudo zpool status

  pool: Backups
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        Backups     ONLINE       0     0     0
          c1t0d0s0  ONLINE       0     0     0

errors: No known data errors

$ sudo zfs list
NAME      USED  AVAIL  REFER  MOUNTPOINT
Backups   116K   913G    18K  /media/1

I also found that adding the following line to the bottom of the 
/kernel/drv/scsa2usb.conf file helped it behave more stable:

attribute-override-list="vid=* reduced-cmd-support=true pm=off";

Hope that helps, :)

I'm sure I did things in a more complicated method than most, but I basically 
treated the device as a regular drive and ignored the fact that it was actually 
a USB connection.

Cheers! :)
-- 
This message posted from opensolaris.org

Reply via email to