How to configure disks on new solaris 10 installation
807559Jun 14 2010 — edited Jun 29 2010I have been given the task to setup a sun box and am very new to this. (I am a DBA not a Unix admin that is for sure)
I have a sunfire v440 that has 4 internal 32GB disks. I would like to setup some type of redundancy for the disks (using raid).
I have installed solaris 10 on the server and I would like eventually to have 3 user filesystems:-
/fs1 = 20GB
/fs2 = 50GB
/swap = 20GB
When I installed solais 10 I created the a ZFS filesystem.
my current disk config looks like this:-
df -h
Filesystem size used avail capacity Mounted on
rpool/ROOT/s10s_u8wos_08a 33G 4.4G 26G 15% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 12G 416K 12G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
30G 4.4G 26G 15% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
30G 4.4G 26G 15% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
swap 12G 80K 12G 1% /tmp
swap 12G 48K 12G 1% /var/run
rpool/export 33G 23K 26G 1% /export
rpool/export/home 33G 280K 26G 1% /export/home
rpool 33G 97K 26G 1% /rpool
format
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,700000/scsi@2/sd@0,0
1. c1t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,700000/scsi@2/sd@2,0
2. c1t3d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,700000/scsi@2/sd@3,0
partition list of C1t0d0
[disk unformatted]
/dev/dsk/c1t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
/dev/dsk/c1t0d0s2 is part of active ZFS pool rpool. Please see zpool(1M).
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 24619 33.92GB (24620/0/0) 71127180
1 unassigned wm 0 0 (0/0/0) 0
2 backup wm 0 - 24619 33.92GB (24620/0/0) 71127180
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 list of C1t2d0
[disk formatted]
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 13276 18.29GB (13277/0/0) 38357253
1 unassigned wu 0 0 (0/0/0) 0
2 backup wm 0 - 24619 33.92GB (24620/0/0) 71127180
3 unassigned wu 0 0 (0/0/0) 0
4 swap wu 13278 - 24519 15.49GB (11242/0/0) 32478138
5 unassigned wu 0 0 (0/0/0) 0
6 unassigned wu 0 0 (0/0/0) 0
7 unassigned wm 24520 - 24619 141.06MB (100/0/0) 288900
Partiton list for c1t3d0
[disk formatted]
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 13276 18.29GB (13277/0/0) 38357253
1 unassigned wu 0 0 (0/0/0) 0
2 backup wm 0 - 24619 33.92GB (24620/0/0) 71127180
3 unassigned wu 0 0 (0/0/0) 0
4 swap wu 13278 - 24619 15.62GB (11342/0/0) 32767038
5 unassigned wu 0 0 (0/0/0) 0
6 unassigned wu 0 0 (0/0/0) 0
7 unassigned wu 0 0 (0/0/0) 0
If anyone can help me configure the disks and get the filesystems setup I would appreciate it (i am looking for step by step instructions here.)
Even pointing me to any good doco that I can reference would be a help.