Adding a second Hard Drive for /var and /opt
807557Jan 23 2006 — edited Oct 30 2006I need some help... I have an Ultra 60 with 1 36 Gig drive, Solaris 10 with Java DeskTop. I want to add a 9 Gig drive to extend /var and /opt. Below is the data on the disk (format). My question is: How do I set this disk up so the /var and the /opt can extend into the new drive and then mount the drive. I am NOT a guru on setting up HD's and have read the Solaris admin book part to help me along, I am very lost. When I installed Solaris 10 I gave the /var 15 megs. It seems Solaris 10 patch manager wants to install all the patches in /var/sadm/patch thus I am eating up the 15 megs fast. What I need to know is just how to set up the below drive... HELP!
format> verify
Primary label contents:
Volume name = < >
ascii name = <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
pcyl = 4926
ncyl = 4924
acyl = 2
nhead = 27
nsect = 133
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 73 129.75MB (74/0/0) 265734
1 swap wu 74 - 147 129.75MB (74/0/0) 265734
2 backup wu 0 - 4923 8.43GB (4924/0/0) 17682084
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 148 - 4923 8.18GB (4776/0/0) 17150616
7 unassigned wm 0 0 (0/0/0) 0