When I set up a system with Solaris, I always make a slice 7 with about 100 Megs. Then if I later want to mirror the disk I have a slice ready to go. But there is no point in setting up a meta data base to tell the system that you have no meta devices.
When I set up a system with Solaris, I always make a slice 7 with about 100 Megs. Then if I later want to mirror the disk I have a slice ready to go. But there is no point in setting up a meta data base to tell the system that you have no meta devices.
i've been goin over to reserve 256MB for slice 6 and 7. slice 6 for /globaldevices (maybe the server will be a cluster sometimes...) and 7 for metadb's. the 256MB is only needed for a large amount of metadevices and metasets. but bigger is better . you'll never know what comes next!
Attached is the step for Solaris 8 , I have try on Solaris 10.
Solaris disksuite mirror
I just documented mine for Solaris 8. This is using Solstice Disk Suite. The drives are c1t0d0 and c1t1d0. Hope this helps.
Install Solstice disksuite from Solaris Software, disk 2 of 2.
#cd /cdrom/sol_8_202_sparc_2/Solaris_8/EA/products/DiskSuite_4.2.1
1. run ./installer
2. default install (place in /usr/sbin) and allow reboot
Run commands below:
# prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2
(This causes the mirrored disk to have the exact format as the main root disk).
Run format and check that BOTH internal disks match exactly. If not, this will fail.
BOTH internal drives need to match exactly.
# metadb -a -f c1t0d0s7
# metadb -a c1t1d0s7
# metainit -f d10 1 1 c1t0d0s0
d10: Concat/Stripe is setup
# metainit -f d20 1 1 c1t1d0s0
d20: Concat/Stripe is setup
# metainit d0 -m d10
d0: Mirror is setup
# metaroot d0
# metainit -f d11 1 1 c1t0d0s1
d11: Concat/Stripe is setup
# metainit -f d21 1 1 c1t1d0s1
d21: Concat/Stripe is setup
# metainit -f d13 1 1 c1t0d0s3
d13: Concat/Stripe is setup
# metainit -f d23 1 1 c1t1d0s3
d23: Concat/Stripe is setup
# metainit d1 -m d11
d1: Mirror is setup
# metainit d3 -m d13
d3: Mirror is setup
# metainit -f d14 1 1 c1t0d0s4
d14: Concat/Stripe is setup
# metainit -f d24 1 1 c1t1d0s4
d24: Concat/Stripe is setup
# metainit d4 -m d14
d4: Mirror is setup
# metainit -f d15 1 1 c1t0d0s5
d15: Concat/Stripe is setup
# metainit -f d25 1 1 c1t1d0s5
d25: Concat/Stripe is setup
# metainit d5 -m d15
d5: Mirror is setup
# metainit -f d16 1 1 c1t0d0s6
d16: Concat/Stripe is setup
# metainit -f d26 1 1 c1t1d0s6
d26: Concat/Stripe is setup
# metainit d6 -m d16
d6: Mirror is setup
Hmmm, don't forget the `installboot` command, else your auto-failover may not be so auto If your boot mirror is c1t0d0s0, then:
Also be sure your boot-device is appended correctly in openboot.
If using x86 hardware, and boot mirror is c1d0s0, then:
Also, Veritas can not encapsulate boot devices on x86 hardware (at least when I attempted it with v5.0). I think there's a little comment in /etc/vx/bin/vxrootmir (or one of the other scripts in there, can't recall).
Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment.
Let me know if you need any deatils on this.
Thanks,
Rama (1 Reply)
Hi Friends,
I am having Sun Solaris 5.8 OS installed having 2 different size hard disk, sizes are c0t0d0s0(160 GB) and c0t2d0s0 (40GB). I have installed Sun Solaris 5.8 OS in c0t0d0s0 (160GB) harddisk.
I have configured all the parameters required for disk mirroring. But when executing... (4 Replies)
I am having an issue with setting up disk mirroring for Solaris 10 on an x86 server. My main problem is that the volumes and slices have already been setup and our proprietary software has already been installed and configured. The entire drive has been allocated in this configuration and the... (2 Replies)
Hi
I have a Sunfire X4100 box with a 4 disk Chassis (although I only have 2 disks in it). I have been asked to add two more disks into the chassis so that I can mirror the original two using SVM .....Ive read through a couple of SVM docs but am finding it a little confusing, and if any of you... (1 Reply)
hi expert,
sorry i'm new in solaris system, need more advice and help :)
i'm confusing with mirroring disk at my sparc v890 solaris 8, i have 6 harddisk which the structure shown below :
format :
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
... (4 Replies)
Hi
I have two raw disk that I want to mirror and then create soft partition on that. Could someone please help in the steps required
c0t1d0
c0t0d0
Thanks
Ajwat (2 Replies)
Hello!
I recently inherited system administration duties for a SUN v880 box. The system has 6 physical hard disks.. In doing some basic maintenance, I found they're configured for mirroring. I ran the metastat and metadb commands, and many of the mirrors are showing they are in need of... (5 Replies)
Hi Guys,
Need to add 2 disks into a JBOD array (3310).
Does anyone see anything wrong with my Procedure / Doco below?
1> Logon to system, check system logs for abnormal entries.
2> Make backups of related system files:
A>cp -p /etc/system /etc/system.backup.081505
B>cp -p /etc/vfstab... (3 Replies)