Computing.Net > Forums > Solaris > Sol 9 install and disk Mirroring

Sol 9 install and disk Mirroring

Reply to Message Icon

Original Message
Name: scott54
Date: May 19, 2004 at 07:05:54 Pacific
Subject: Sol 9 install and disk Mirroring
OS: Solaris 9
CPU/Ram: UltraSPARC IIe 648MHz /10
Comment:

Hello,

I am new to Sun systems and have been given a SunFire V100 by my manager to setup. It has 2 36GB Hard Drives and needs to have Solaris 9 installed and the drives mirrored. I would be really grateful if someone could supply me with or point me in the right direction where I could find a step by step guide to install the OS and mirror Disks.

Thanks in advance :o)

Scott



Report Offensive Message For Removal


Response Number 1
Name: nrc
Date: May 20, 2004 at 21:40:10 Pacific
Reply: (edit)

I would do something that follows along these lines:

Connect a laptop to target machine and run POST

Boot from cdrom (boot cdrom -sv)

Check if disk f/w update is necesary

Partion boot disk with format, then copy vtoc across using fmthard command

Start OS installation (disk 1, 2, lang). When it comes to slicing the disk choose to customize and load the vtoc that you had carried out before the OS installation

Check installation log

Check installation settings such as release, software category, disk configuration, languages, locales, network settings etc

Make a directory for places where you will unpack patches, such as for the recommended patches, san patches, graphics card patches, sds, and vts patches etc.

Boot to single user mode

Start a lolog script and install teh recommended patches into teh appropriate
directory.

Exit and check log

Add san patches

reboot

Copy other patches if necessary to their appropriate directories

Update prom version if necessary

Add LOM package from OS supplement CD

Add SunVTS from OS media

Reboot to single user mode

Check LOM version to see if an upgrade is necesary, if so, carry out

Reboot



Report Offensive Follow Up For Removal

Response Number 2
Name: Sibil
Date: June 13, 2004 at 22:03:54 Pacific
Reply: (edit)


Hi Scott..

To perform the Disk mirroring u can install Solstice Disksuite on your Soalris System. In Solaris 9 it will be installed automatically during OS installation. Download the latest rev of SDS patch 108693 from sunsolve.sun.com and apply it using patchadd command. Now to do the OS disk mirroring first u have to create metadatabase.For this create a 50mb slice in first hard disk. Using prtvtoc and fmthard command copy the entire slice information of the first hard disk to second hard disk.
Suppose ur first Hard disk is c0t0d0s2 and second one is c0t1d0s2 and u have created a 50mb partition in 7th slice of the hard disk.
Create metadb using
# metadb -a -f -c7 c0t0d0s7 c0t1d0s7.
To mirror root file system
#metainit -f d10 1 1 c0t0d0s0
#metainit d11 1 1 c0t1d0s0
#metainit d1 -m d10

#metaroot d1
The metaroot command will update ur /etc/vfstab and /etc/system file.
#lockfs -fa
#init 6
reboot the system
Noe give
#metattach d1 d11. This will complete the / filesystem mirroring.
To perform /usr file system mirroring(example:slice4)
#metainit -f d20 1 1 c0t0d0s4
#metainit d21 1 1 c0t1d0s4
#metainit d2 -m d20
#metattach d2 d21

Perform the same for all filesystems and update /etc/vfstab. Instead of /dev/dsk/c0t0d0s4 use /dev/md/dsk/d4. Refer to the root file system entry which will be modified automatically by metaroot command.Note that metaroot command is only applicable for root filesystem.You can see the mirroring status with #metastat -t command.



Report Offensive Follow Up For Removal

Response Number 3
Name: Edil
Date: June 18, 2004 at 16:01:15 Pacific
Reply: (edit)

I'm new with solaris as well and I'm trying to do this as well. I'm installing solaris 9 in an old 220R station using WebStart. I assigned 100 Mb to slice 7. The webstart wizard force me to put a name or label and as soon as I specified the name it added a / so it get mounted after installation. I use umount and then when I execute the "metadb -a -f -c7 c0t0d0s7 c0t1d0s7" command I get an error that saids "metadb: hostname : c0t1d0s7 : device size 31779 is too small for metadevice data base replica". Do I have to use FORMAT to modify something on disk c0t1d0. I try to create the mirror trough SMC but it was worst.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Sol 9 install and disk Mirroring

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge