Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Understanding vinum (bootstrapped vinum)

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  sound works with kldload, but not /boot/loader.co..  
Author Message
Andriko Tamas

External


Since: Dec 17, 2004
Posts: 1



(Msg. 1) Posted: Fri Dec 17, 2004 5:09 pm
Post subject: Understanding vinum (bootstrapped vinum)
Archived from groups: mailing>freebsd>questions (more info?)

Hi,

I'd like to setup a brand new server with 2 pieces of 120GB SATA HDD.
So i have decided I'd like to mirror the entire space of these disks
with vinum. (including root)

I've goggling documentations for accomplish this, and i have find some
documents.
This is some link.

http://devel.reinikainen.net/docs/how-to/Vinum/.
<http://org.netbase.org/vinum-mirrored.html>
Bootstrapping Vinum by Robert A. Van Valzah
<http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vinum/index.html>An
introduction to Vinum on FreeBSD by Rocky
<http://bsdvault.net/sections.php?op=viewarticle&artid=86>
Chapter 13 of the FreeBSD handbook: The Vinum Volume Manager, originally
written by Greg Lehey.
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html>
Vinum HOWTO for two mirrored disks, by mic at netbase dot org
<http://org.netbase.org/vinum-mirrored.html>
Chapter 12 of O'Reilly's The Complete FreeBSD: The Vinum Volume Manager
<http://www.vinumvm.org/cfbsd/vinum.txt>
Replacing a failed Vinum drive
<http://www.vinumvm.org/vinum/replacing-drive.html>.
Man vinum[4|8]

These are very clear documentations, but one thing have left what i
couldn't understand.
The documents recommend me to make a vinum bsd partition on the root
spindle with a 16 blocks offset,
and then make vinum volumes as i like, but they are warned me to make a
fake root "a" partition to remain bootable
my OS. (and don't forget the extra 265 block space for vinum header).
That is ok.

The problem is why do i have to allocate the 16 block at the beginning
of the slice? (because of vinum will cut into bootstrapping. That was
the explaining)

Ok its understandable, but what about that situation when the disklabel
on the first slice looks like this:

# /dev/ad0s1:

8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 2097152 1048576 4.2BSD 0 0 0
b: 1048576 0 swap
c: 12715857 0 unused 0 0 # "raw" part, don't edit
d: 2097152 3145728 4.2BSD 0 0 0
e: 1048576 5242880 4.2BSD 0 0 0
f: 6424401 6291456 4.2BSD 0 0 0

As it shows the "b" swap partition is located at the 0 offset . So this
partition doesn't cut into bootstrapping, and if not, why not?

Sorry for my english, and the long theoretical mail, but i'd like to
collect as information as possible, because it will worst the effort
when i find myself a data loss situation.

Thanks for any idea.

Andriko Tamas








_______________________________________________
freebsd-questions RemoveThis @freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

 >> Stay informed about: Understanding vinum (bootstrapped vinum) 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Vinum bootable RAID-1 setup help - This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C4E84B.45D75E30 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hello, I really tried my best to follow the FreeBSD handbook documentation...

Problems using vinum for the root filesystem - Hello, I would like to use vinum to mirror the root filesystem but unfortunately have already a problem with the beginning of the documentation (FreeBSD Handbook Chapter 13 - Vinum, Part 9 - Using vinum for the Root Filesystem): at point 13.9.2 it sais...

FW: Vinum bootable RAID-1 setup help - RESOLVED - Hello, To follow-up on my initial question, Iam happy to inform that I have bootable RAID-1 FreeBSD 5.3 i386 Release working using "gmirror" using excellent documentation provided on http://people.freebsd.org/~rse/mirror/ Thankyou for the he...

How to add the mirror partition to a RAID1 set with vinum - Hello, I am running FreeBSD 5.1 and would like to have all my partitions of by FreeBSD installation mirrored (RAID 1). So I followed the steps form the FreeBSD handbook (the part called Installing FreeBSD on Vinum). So far I got my first disks..

How to add the mirror partition to a RAID 1 set with Vinum - Hello, I am running FreeBSD 5.1 and would like to have all my partitions of by FreeBSD installation mirrored (RAID 1). So I followed the steps form the FreeBSD handbook (the part called Installing FreeBSD on Vinum). So far I got my first disks partition...
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]