Server - 2 disks - How to mirror


 
Thread Tools Search this Thread
Operating Systems Solaris Server - 2 disks - How to mirror
# 1  
Old 05-17-2005
Server - 2 disks - How to mirror

I hope I am posting in the correct forum.

I have a server - which I am installing solaris 9 on.
The server currently has 2 disks. I wish to run solaris 9 on one, and use the other as a mirror for the first one. ie. If the first one should ever fail, then I can swap to the mirror and just replace the first disk and let it re-build.

How do I go about doing this? can this be set at prom level or would it be necessary to buy software to manage this?
I am trying to avoid buying any additional software if possible.
# 2  
Old 05-17-2005
Do you want to setup a raid configuration? That depends on your H/W though.

You could use dump (dd) to copy the disk. You can copy partitions over as a backup.

There are several ways it could be done and everyone will have their own way which suits them best.

What kind of time frame you looking for uptime though? Trying for something like 99-100%? Wouldn't matter if the computer was offline for 30 minutes? 3 hours? a day? That time would really depend what/how you should setup a mirror.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Don't mean to put a downer on your question. I'm just someone who looks right into it and plans for the best whenever I setup anything. I like to do it correct first time or don't bother with doing it.
# 3  
Old 05-17-2005
Disksuite comes with Solaris - you can use it to mirror the two disks. Info can be found at docs.sun.com
# 4  
Old 05-17-2005
no problem..

I could accept 20 mins downtime per day.
H/W not great - no raid controller that I know of..
Compaq Proliant DL380 P6 1390 MHz

I would like for the following:
2 disks.
1 is main disk (root disk)
1 is mirror of the root disk. This should be mirror all of the time.
ie. if root disk fails then mirror will be in sync up until time of failure.
I can then replace failed disk and new disk will re-sync with mirror.

Is this possible? do i need some software constantly updating the mirror with any changes on the root disk?
Would I be better just syncing once a day?
Its a server that will mainly have scripts on it - I could live with the data being 24 hours old if I have to.
# 5  
Old 05-17-2005
Again, use disksuite (in Solaris9 and above known as Solaris Volume Manager)- see How do I mirror root with Disksuite and check out the link above (posted earlier).
# 6  
Old 05-17-2005
Looks good - sorry I didnt see the post on disksuite before i posted my last comment.

Appreciate the help!
# 7  
Old 05-17-2005
will disksuite go down with only two disks? i thought it had to be 50% plus 1 ? which assumes three disks for metadbs?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

2. Solaris

Unable to boot from mirror disk on x86 server configured under VxVM

Hi, Can you help me on booting x86 server configured under VxVM. Server boots fine normally from both the disks but if I try to boot server from mirror disk without starting veritas, then it does not boot. vxplex -g rootdg dis var-02 vxplex -g rootdg dis swapvol-02 vxplex -g rootdg dis... (2 Replies)
Discussion started by: milindphanse604
2 Replies

3. AIX

Safe Number of Disks Assigned to a VIO Server

Is there any sort of best practice as to how many disks should be assigned to a VIO server? I currently have around 190-ish. All of my VIO servers can see those disks. Can anyone tell me how many you have on your VIO servers? (3 Replies)
Discussion started by: kah00na
3 Replies

4. Solaris

Do I need a pool before I can mirror my disks?

Hi! I would also like to know if I need first to create a pool before I can mirror my disks inside that pool. My first disk is c7t0d0s0 and my second disk is c7t2d0s0 as seen in the figure below. I would create a pool named rpool1 for this 2 disks. # zpool create rpool1 c7t0d0p0 c7t2d0p0 ... (18 Replies)
Discussion started by: CarlosP
18 Replies

5. Emergency UNIX and Linux Support

Dedicated Server - Linux Mirror

Hi guys. I am gonna buy a dedicated server and make it a public mirror for some distributions. but how much RAM, Hard Disk, Band Width, ... will suffice? It will be a mirror for CentOS and Ubuntu both. (3 Replies)
Discussion started by: majid.merkava
3 Replies

6. Solaris

What is mirror and sub mirror in RAID -1 SVM

Hi , I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through metainit d51 1 1 c0t0d0s2 metainit d52 1 1 c1t0d0s2 In the next step metainit d50 -m d51 d50: Mirror is setup next step is metaattach d50 d52 d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies

7. Solaris

ZFS Mirror versus Hardware Mirror

I've looked a little but haven't found a solid answer, assuming there is one. What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies

8. Solaris

Some Details from my server like mirror

Hello, I need to get some details from my server like Internal hard disk details for my UNIX (Solaris 9) server like whether OS is mirrored or not, what type of mirror is used. Which hard disk are used for mirror ? Regards (1 Reply)
Discussion started by: adel8483
1 Replies

9. UNIX for Advanced & Expert Users

sync mirror disks

Does anyone know how to force these rogue logical volumes to mirror to there respective disks? DISK:Logical Volumes 03:cw_p05,cw_p01_01,cw_p01_02,lv00 09:cw_p05,cw_p01_01,cw_p01_02 04:cw_p01_phyldbs,cw_p01_03,cw_op01_01,cw_od01 10:cw_p01_phyldbs,cw_p01_03,cw_op01_01 (1 Reply)
Discussion started by: Optimus_P
1 Replies
Login or Register to Ask a Question