Sponsored Content
Full Discussion: Disk mirroring
Top Forums Shell Programming and Scripting Disk mirroring Post 60921 by malcom on Tuesday 25th of January 2005 04:10:56 AM
Old 01-25-2005
Disk mirroring

Good Morning Smilie

I have a new challenge to solve, I am going to write a new backup disk mirroring script. The current one, whcih is useing 'dd' caused some stalled systems Smilie
Currently I am in the phase of experimenting with different methods, I was thinking about dump/restore afio/cpio or rsync.
The best solution looks like rsync for me, but what os your opinion ?

The script will run 1 time a week and has to mirror the complete OS disk to a second 'backup' disk. Only the OS FS will be backed up, no data filesystems !
The backup will run on a live system, I cannot go down to sinle user mode and/or remount the FS readonly for backing up Smilie

With 'dd' the Linux system will be forced to flush all dirty pages, which caused the stalled situation I described before. So I need a mirror method with doesn't cause a extremly high load, because the systems are high loaded anyway and is more or less fast; of course I could need hours for it, but it should be finished the next morning Smilie

Thanks for all hints !

Btw, the systems are RH AS 2.1 systems, IA64 multi processor and big RAM. The disks are default SCSI disks (36 or 72 GB), primary and backup disks have a seperate controller each. The shell is free choosable, I thought on bash.

Cheers
malcom
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what is disk mirroring in unix?

Can anyone give some answers on what is disk mirroring in Unix? It may be related to unix online backup. (2 Replies)
Discussion started by: asutoshch
2 Replies

2. Filesystems, Disks and Memory

Disk Mirroring?? have any idea???

After reading some books, I came across this idea of having a duplicate of your current hard drive on another second hard drive so that if the first hard drive happens to crash, the system can be up and running in quickly now, is there anybody in here who uses this method at work?? If there is,... (3 Replies)
Discussion started by: IMPORTANT
3 Replies

3. UNIX for Dummies Questions & Answers

Disk mirroring under RedHat 8

I would like to build a new box that has the disk mirrored to another IDE disk on a different channel. Does anyone know if a RAID controller like the Promise is supported under RedHat 8, or should I use a software RAID. (1 Reply)
Discussion started by: 98_1LE
1 Replies

4. 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

5. Solaris

Help !! disk Mirroring

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)
Discussion started by: hcclnoodles
1 Replies

6. UNIX for Advanced & Expert Users

Mirroring Disk Geometry

How can one mirror disk geometry from one hard disk to another in Solaris. Is disk snapshot same as a mirror? Pls explain. (3 Replies)
Discussion started by: lexusujx
3 Replies

7. Solaris

Solaris 10 Disk Mirroring

Has anyone managed to set up disk mirroring in Solaris 10 yet? If so can you point me in the direction of some useful documentation please. Cheers (25 Replies)
Discussion started by: korfnz
25 Replies

8. Solaris

Disk Mirroring on solaris 5.8

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)
Discussion started by: Vijayakumarpc
4 Replies

9. Solaris

disk mirroring

hi every body I'm new to solaris and I need your help in how to configure disk mirroring for 4 hard disks so that two of them will be replica to the other two ...??? Thanxx (7 Replies)
Discussion started by: mm00123
7 Replies

10. 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
FSSCONFIG(8)						    BSD System Manager's Manual 					      FSSCONFIG(8)

NAME
fssconfig -- configure file system snapshot devices SYNOPSIS
fssconfig [-cxv] device path backup [cluster [size]] fssconfig -u [-v] device fssconfig -l [-v] [device] DESCRIPTION
The fssconfig command configures file system snapshot pseudo disk devices. It will associate the file system snapshot disk device with a snapshot of path allowing the latter to be accessed as though it were a disk. If backup resides on the snapshotted file system a persistent snapshot will be created. This snapshot is active until backup is unlinked. This snapshot mode is only supported for ffs files systems. Otherwise data written through the path will be saved in backup. If backup is a regular file, it will be created with length size. Default size is the size of path. Data is saved to backup in units of cluster bytes. Options indicate an action to be performed: -c Configures the device. If successful, references to device will access the contents of path at the time the snapshot was taken. If backup is a directory, a temporary file will be created in this directory. This file will be unlinked on exit. -l List the snapshot devices and indicate which ones are in use. If a specific device is given, then only that will be described. -u Unconfigures the device. -v Be more verbose listing the snapshot devices. -x Unlink backup after the device is configured. If no action option is given, -c is assumed. FILES
/dev/rfss? /dev/fss? EXAMPLES
fssconfig fss0 /usr /tmp/back Configures the snapshot device fss0 for a snapshot of the /usr file system. Data written through /usr will be backed up in /tmp/back. fssconfig fss1 / /dev/rsd0e 8192 Configures the snapshot device fss1 for a snapshot of the / file system. Data written through / will be backed up in /dev/rsd0e. The backup will take place in units of 8192 bytes. fssconfig -u fss0 Unconfigures the fss0 device. SEE ALSO
opendisk(3), fss(4), mount(8), umount(8) HISTORY
The fssconfig command appeared in NetBSD 2.0. BSD
June 11, 2012 BSD
All times are GMT -4. The time now is 08:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy