Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 12:48:59 -0800
From:      Eric Dannewitz <ericdano@jazz-sax.com>
To:        "Ronald F. Guilmette" <rfg@monkeys.com>
Cc:        Christopher Farley <chris@northernbrewer.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Backing up a file system... How do I preserve the file flags?
Message-ID:  <3A3E783B.877A230E@jazz-sax.com>
References:  <13666.977171324@monkeys.com>

next in thread | previous in thread | raw e-mail | index | archive | help


"Ronald F. Guilmette" wrote:

> In message <3A3E70E0.9AA146F8@jazz-sax.com>, you wrote:
>
> >Why not just RAID them?
>
> That's an interesting idea, but please tell me, can I ``just RAID''
> a pre-existing filesystem that is only present one one of the two
> disk drives in question?

That's not a problem. The other drive needs to be empty.

>
> It seems to me like it is a chicken-and-egg problem.  To RAID these two
> drives together, they should both have identical contents to begin with
> correct?
>

No, the other disk needs to be the same size or larger. Do a "man vinum".
What you want to do is a RAID 0 (mirror).

>
> But if I knew how to achieve that state, then my problem would already be
> (mostly) solved.  I mean hay!  If I can replicate all of the data from
> one drive to the other... well... that's essentially what I was trying
> to do in the first place anyway, so if I can do that, then I don't need
> to RAID anything.
>

Seems stupid to waste time with a backup script or something if your just
going to use the other drive as basically a copy. RAID would take care of
that and you'd never have to worry about it.

>
> P.S.  Yes, I guess that I could perhaps just dd everything from one raw
> disk device to the other, but I have trouble convining myself that doing
> that is really a safe thing to do, in particular when the input raw disk
> device is home to a live file system which is actually mounted at the
> present moment.  (What if some of the file systems's directory entires
> change as I am doing the dd?)
>

Exactly what a RAID 0 would overcome, as it is a Mirror of the original
drive.

>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--
Back up my hard disk? I can't find the reverse switch!

Eric Dannewitz - Adventurer, saxophonist, good-timer (crook? quite possibly),
clarinetist, manic self-publicist, part-time flautist(flutist?), macintosher,
and often thought to be completely out to lunch. http://www.jazz-sax.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A3E783B.877A230E>