Hi,

I have a question. As a disclaimer: I'm not experienced at all with 
OpenSolaris, and this is my first time ever I use it. My goal is to setup 
OpenSolaris with ZFS + Raid Z, but I have a hard time finding the right 
documentation. But before I can setup that, I have to 'install/detect/add' my 
harddisks. 

I have 5 harddisks: 1 boot disk of 160 gig, and 4 hd's of 750 gig each. The 
boot disk is running Open Solaris, and the rest I want to use for storage. But 
I don't see the hd's. 

When I do df -h, I see this:

[code]
-bash-3.2$ df -h
Filesystem             size   used  avail capacity  Mounted on
rpool/ROOT/opensolaris
                       144G   3.0G   139G     3%    /
/devices                 0K     0K     0K     0%    /devices
/dev                     0K     0K     0K     0%    /dev
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   3.3G   744K   3.3G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       142G   3.0G   139G     3%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   3.3G     8K   3.3G     1%    /tmp
swap                   3.3G    40K   3.3G     1%    /var/run
rpool/ROOT/opensolaris/opt
                       144G   3.6M   139G     1%    /opt
rpool/export           144G    19K   139G     1%    /export
rpool/export/home      144G    71M   139G     1%    /export/home
rpool                  144G    55K   139G     1%    /rpool
rpool/ROOT             144G    18K   139G     1%    /rpool/ROOT
[code]

But format gives me this output:

[code]
AVAILABLE DISK SELECTIONS:
       0. c4d0 <DEFAULT cyl 45595 alt 2 hd 255 sec 126>
          /pci at 0,0/pci-ide at 1f,2/ide at 0/cmdk at 0,0
       1. c4d1 <DEFAULT cyl 45597 alt 2 hd 255 sec 126>
          /pci at 0,0/pci-ide at 1f,2/ide at 0/cmdk at 1,0
       2. c5d0 <DEFAULT cyl 45598 alt 2 hd 255 sec 126>
          /pci at 0,0/pci-ide at 1f,2/ide at 1/cmdk at 0,0
       3. c5d1 <DEFAULT cyl 45598 alt 2 hd 255 sec 126>
          /pci at 0,0/pci-ide at 1f,2/ide at 1/cmdk at 1,0
       4. c6d0 <DEFAULT cyl 19448 alt 2 hd 255 sec 63>
          /pci at 0,0/pci-ide at 1f,5/ide at 0/cmdk at 0,0
[/code]

So I tried to add the disks with newfs, and I succeeded in adding the first 
disk (c4d0s0), but when adding the second (c4d1s0), I get an error:

[code]
newfs /dev/rdsk/c4d1s0
/dev/rdsk/c4d1s0: No such device or address
[/code]

So, my guess is that the s0 (I don't know what it means) is incorrect. But how 
do I find out the right names? Does anyone have some information on how to add 
the disks, and maybe a hint in the right the direction for my ultimate goal 
(the Raid-Z fileserver) ?

Thanks for your help,

Erik Pragt
-- 
This message posted from opensolaris.org

Reply via email to