Server - 2 disks - How to mirror


 
Thread Tools Search this Thread
Operating Systems Solaris Server - 2 disks - How to mirror
# 15  
Old 05-28-2005
one thing you need to remember though is that ...

disk mirroring will not protect you from software errors

... you do "rm -rf" from "/" by mistake or have software corruption that affects the box and your box is toast because that error is also propagated to the mirror disk ...

you might want to do snaphot copies of your mirrors to a non-mirrored disk through a nightly cron job using unix backup utilities (i.e., dd, ufsdump, tar, cpio, etc.) just so you can at least recover quickly to a known clean point without resorting to fresh rebuilds and restores from backup tapes ...
# 16  
Old 06-02-2005
Quote:
Originally Posted by frustrated1
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.
Hold on guys, DL380 comes with hardware mirroring and hot-plug. Better go with it.


Tom
# 17  
Old 06-23-2005
looks like I will go with following:

ok setenv boot-device disk disk1
ok setenv diag-device disk disk1

And do some sort of nightly snapshot -as the data on disk will not change regularly - I just want to have a copy of the disk incase of disk failure - so that system can boot to the other disk - with fairly up to date data.

Any one know the commands I can use for the snapshot?
By the way - how do I get the full disk name for the prom settings?
# 18  
Old 06-23-2005
Quote:
Any one know the commands I can use for the snapshot?
fssnap - create temporary snapshots of a ufs file system

Quote:
By the way - how do I get the full disk name for the prom settings?
? don't know what you mean, if you search for the "solaris"name like cxt0xd0x0, there is no way to get this, if you just look for the hardware names you could try:
probe-scsi-all (on ide: probe-ide)
show-disks
or you look to resolv your aliases then:
devalias

greetings PRESSY
# 19  
Old 06-23-2005
look here for a dump script ... run the script daily from cron at a time when the box is most quiet ...

the prom only requires disk, disk1, disk2, etc. for what you need to set --- you don't need the complete cxtxdx device names ... if you're curious about those --- try
Code:
format < /dev/null

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