How do I gmirror slices?

R. B. Riddick arne_woerner at yahoo.com
Mon Jan 29 14:48:30 UTC 2007


--- Hansa <mythtv at logic-q.nl> wrote:
> Ok. One question pops into mind. I'm transfering / which includes my kernel,
> to a new disk (probably with a different setup). this means the kernel file
> could be written to a different sector. So I have to tell the bootmgr where
> it is located. Don't I?
>
Hmm... I dont think so... There is the first sector of the disk, that is read
by the BIOS, then there are 8KB somewhere at a fixed position outside the file
system... And I think those 8KB are already able to understand/read UFS... :-)

> > > 2. # gmirror label -v -b round-robin gm0 /dev/ad6s1
> > >    # gmirror label -v -b round-robin gm0 /dev/ad6s2
> > looks good
> Except for the 2nd command. It should be gm1 instead of gm0.
>
Oh yes... U r right...

> I presume gstripe and gconcat like gmirror are using similar ways to store
> metadata?
>
Yup

> Which of those is the better choice?
>
Depends... gstripe has better performance, if it can issue requests for all
disks... But gconcat can use the full space of disks of non-equal size (minus
one sector per disk for meta data of course)...

-Arne


 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 


More information about the freebsd-geom mailing list