From owner-freebsd-questions Wed Feb 17 14:59: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from brain.syseca-us.com (loco.syseca-us.com [209.95.210.158]) by hub.freebsd.org (Postfix) with ESMTP id A981E111A6 for ; Wed, 17 Feb 1999 14:58:40 -0800 (PST) (envelope-from Russell@AlpineNetworks.com) Received: from exchange-la.syseca-us.com (exchange-la [172.16.158.202]) by brain.syseca-us.com (8.9.1a/8.9.1) with ESMTP id OAA30616 for ; Wed, 17 Feb 1999 14:58:39 -0800 (PST) Received: from sarwat.syseca-us.com (sarwat-husain.syseca-us.com [172.16.158.30]) by exchange-la.syseca-us.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id 1BRNLPR5; Wed, 17 Feb 1999 14:58:39 -0800 Message-ID: <002f01be5ac9$127a8be0$1e9e10ac@sarwat.syseca-us.com> From: "Russell H" To: Subject: HLP: Disk mirroring w/o any raid device Date: Wed, 17 Feb 1999 14:58:45 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01BE5A86.04468300" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_002C_01BE5A86.04468300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi guys, I have a question regarding disk-image/disk-mirroring under = FreeBSD-2.2.6. I would like to make an exact image of the root = filesystem disk onto another disk, such that in case of a disk faliure I = simply boot from the mirrored disk without having to do any = reconfiguring or restoring etc. Will the following work: 1.. Go to single user mode. 2.. Partition the new disk exactly like the current disk 3.. Mount the new disk at /newdisk 4.. cd / 5.. find . -xdev -print | cpio -pdmuv /newdisk 6.. cd /newdisk 7.. mkdir /proc 8.. run crontab to update the modified files (how ?) If correct, now do the disks have to be exactly the same ? For example = if the primary disk is 2.1GB SCSI and the secondary disk is 4.3GB EIDE = would it matter ?!?! Is there a better/efficient way of doing it, besides installing any Raid = device. Am I missing something ? Thanks for your help. BTW we are running FreeBSD-2.2.6 on 4 machines so = far and are very happy! Great job!! Best regards, --- Russell H Technology Director - Alpine Networks http://www.AlpineNetworks.com/ "Making Internetworking possible for you" ------=_NextPart_000_002C_01BE5A86.04468300 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi guys,
 
I have a question regarding = disk-image/disk-mirroring under=20 FreeBSD-2.2.6. I would like to make an exact image of the root = filesystem disk=20 onto another disk, such that in case of a disk faliure I simply boot = from the=20 mirrored disk without having to do any reconfiguring or restoring=20 etc.
 
Will the following work:
 
  1.  Go to = single user=20 mode.
  2.  Partition the new disk exactly like the = current=20 disk
  3.  Mount the new disk at=20 /newdisk
  4.  cd /
  5.  find . -xdev -print | cpio -pdmuv=20 /newdisk
  6. cd /newdisk
  7. mkdir /proc
  8. run crontab to update the modified files (how=20 ?)
If correct, now do the disks have to = be exactly=20 the same ? For example if the primary disk is 2.1GB SCSI and the = secondary disk=20 is 4.3GB EIDE would it matter ?!?!
 
Is there a better/efficient way of = doing it,=20 besides installing any Raid device. Am I missing something = ?
 
Thanks for your help. BTW we are running = FreeBSD-2.2.6 on 4=20 machines so far and are very happy! Great job!!
 
Best regards,
 
---
Russell H
Technology = Director - Alpine=20 Networks
http://www.AlpineNetworks.com/
"Making=20 Internetworking possible for you"
------=_NextPart_000_002C_01BE5A86.04468300-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message