gmirror and the UFS file systems

2008-11-28 Thread Andrew Falanga
Hi,

I'm getting ready to move forward on enabling gmirror on my churches website 
server (FreeBSD 7.0-RELEASE p4).  I used defaults during the install (most 
importantly for this, the file system defaults).  I've read in the manual 
pages that the data for the mirror is contained in the last sector of the 
drive/partitions.  So, I want to mirror the entire drive (ad4) to the second 
drive (ad5).  This server doesn't yet have much data at all.  I'm wondering 
if I turn on this mirror, will anything important be overwritten in the last 
sector?

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gmirror and the UFS file systems

2008-11-28 Thread Mel
On Friday 28 November 2008 18:08:19 Andrew Falanga wrote:

 I'm getting ready to move forward on enabling gmirror on my churches
 website server (FreeBSD 7.0-RELEASE p4).  I used defaults during the
 install (most importantly for this, the file system defaults).  I've read
 in the manual pages that the data for the mirror is contained in the last
 sector of the drive/partitions.  So, I want to mirror the entire drive
 (ad4) to the second drive (ad5).  This server doesn't yet have much data at
 all.  I'm wondering if I turn on this mirror, will anything important be
 overwritten in the last sector?

I've converted UFS filesystems with just the base install and a few ports over 
to gmirror many times and no problem.

I guess the question can best be paraphrased as:
If I cross a street in a residential area at 4am in the morning, will I get 
hit by a car?

Also, gmirror create will tell you if the last sector contains data, just like 
a driver would honk his horn.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gmirror and the UFS file systems

2008-11-28 Thread Wojciech Puchar

I'm getting ready to move forward on enabling gmirror on my churches website
server (FreeBSD 7.0-RELEASE p4).  I used defaults during the install (most
importantly for this, the file system defaults).  I've read in the manual
pages that the data for the mirror is contained in the last sector of the
drive/partitions.  So, I want to mirror the entire drive (ad4) to the second
drive (ad5).  This server doesn't yet have much data at all.  I'm wondering
if I turn on this mirror, will anything important be overwritten in the last
sector?

is your partition size multiply of fragment size without remainder?

if not (quite a big chance) at least one sector at the end is unused and 
never be.

so go on, but then fix disklabel, as c partition is 1 sector smaller.

of course - boot from livecd to do this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: gmirror and the UFS file systems

2008-11-28 Thread af300wsm

is your partition size multiply of fragment size without remainder?



if not (quite a big chance) at least one sector at the end is unused and  

never be.


so go on, but then fix disklabel, as c partition is 1 sector smaller.



of course - boot from livecd to do this.



Thanks both Mel and Wojciech for the advice.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]