Help with HDD Mirroring


 
Thread Tools Search this Thread
Operating Systems Solaris Help with HDD Mirroring
# 1  
Old 09-30-2010
Help with HDD Mirroring

Hi All

Please can I have some help/advice.
I am fairly new to unix so any help will be useful.

I need to perform HDD Mirroring on a Sun Fire V245 Server running Solaris 10 OS.
The system is already up and running and has the partitions and slices already.

Is it possible to perform the Mirroring on a system that is already running or do you have to do this on installation???

Best Regards
Pluto
# 2  
Old 09-30-2010
You can create the root mirror on the running system. what kind of help do you need

please find the link where in you can get the details for SVM

SPARC: How to Create a RAID-1 Volume From the root (/) File System (Solaris Volume Manager Administration Guide) - Sun Microsystems
# 3  
Old 09-30-2010
Here's a straight forward site I used to mirror systems:

Mirroring the operating system

HTH
# 4  
Old 09-30-2010
Can the mirroring be done on a system that already has information in the partitions.

Also on many of these sites they say put the Metadb in slice 7, will I need to create this slice?
# 5  
Old 09-30-2010
Yes you can do the mirroring, however the other disk which you can use for mirror has to have the same disk layout. The best option is using the fmthard with prtvtoc to copy the VTOC from primary disk to secondary.

Yes its always suggested to keep the metadb on separate partition as its very important for SVM functioning, however its not an compilation you can keep the meta data on the slice which you will be suing for volume
# 6  
Old 09-30-2010
Great advice so far guys, you are giving me a good understanding, I really appreciate it.

Also, the server has 4 HDD.


format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>

/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0

1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>

/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0

2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>

/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0

3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>

/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0

I will need to Mirror 0 and 2 ... and Mirror 1 and 3....

Futher info:

# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 11G 7.0G 3.4G 68% /
/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 15G 1.1M 15G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object

/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
11G 7.0G 3.4G 68% /platform/sun4u-us3/lib/libc_psr.so.1

/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
11G 7.0G 3.4G 68% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1

/dev/dsk/c1t0d0s5 5.8G 1.9G 3.8G 34% /var
swap 15G 16K 15G 1% /tmp
swap 15G 64K 15G 1% /var/run
/dev/dsk/c1t1d0s0 67G 35G 31G 54% /gsn
/dev/dsk/c1t0d0s3 49G 50M 48G 1% /export/home

I have read the websites and have a good understanding of how to do it.
I am just a bit cautious since this is my first time doing this procedure and thought it could only be done on installation.

From the info I have given now, it is possible right?
I cant get more info if you tell me what commands to do

Thanks a million experts!!
# 7  
Old 09-30-2010
Your drives are the same size so that makes things easy. Also make sure that the partitions are EXACTLY the same size. (see the prtvtoc ... | fmthard .... commands)

HTH
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

IBM AIX Internal HDD vs SAN HDD and Oracle

Hi Folks, I am facing an issue with the performance. P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies

2. Red Hat

Disk Mirroring

Hi, How to identify whether the disk is being mirrored or not in RHEL (2 Replies)
Discussion started by: gsiva
2 Replies

3. Solaris

ZFS mirroring

Hello, I just build a Solaris 10 server on an x86 box. I forgot to mirror the two disks when I install the OS. Can I get some help with this? I have this # zpool list rpool 278G 5.77G 272G 2% ONLINE - # zpool status pool: online state: ONLINE scan: none requested config: ... (12 Replies)
Discussion started by: bitlord
12 Replies

4. Solaris

Mirroring

Hi All i wish to mirror the root disk, but i face the below error. root@saturn # metainit d11 1 1 c0t0d0s0 metainit: saturn: c0t0d0s0: is mounted on / kindly assist... (27 Replies)
Discussion started by: SmartAntz
27 Replies

5. Solaris

SVM, mirroring

Really sorry for the long posting. But i would really want to clear all the doubts. I have 2 disk c0t0d0 & c0t1d0, i wanted to mirror c0t1d0 (mirror) to c0t0d0 (main). Creating state database replica: metadb -a -c3 -f c0t0d0s7 ... (3 Replies)
Discussion started by: beginningDBA
3 Replies

6. UNIX for Dummies Questions & Answers

Old HDD copy to new HDD ? im lost...

Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4. The current HDD is an IBM DGHS COMP IEC -950 FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies

7. Solaris

storage mirroring

hai i am working on sun with T3 storage i am having 2 storage mirrored T3a andT3b . nowT3b is showing faulty that is the digital to optical coverter is not workig so it has to be replaced. since it will take another 5 days due to some reasons. i want to know will it create any problem while... (2 Replies)
Discussion started by: sasiprabu
2 Replies

8. SCO

Mirroring

How Can I Do Mirroring In Unix? (0 Replies)
Discussion started by: DIMITRIOSDOUMOS
0 Replies

9. Solaris

Mirroring

I am running Solaris 10 and i need to mirror a 73 gig HD. How do you mirror one in Solaris? (2 Replies)
Discussion started by: dewsdwarfs
2 Replies

10. Solaris

Disk mirroring

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)
Discussion started by: Ajwat
2 Replies
Login or Register to Ask a Question