Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2005 13:32:16 +0100
From:      "Tomas Palfi" <tpalfi@phoenixmedical.co.uk>
To:        "Stijn Hoop" <stijn@win.tue.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   RE: vinum or gvinum
Message-ID:  <119D03CDAA26274786799627855EC43D67F541@indy.enzo.phoenixmedical.co.uk>

next in thread | raw e-mail | index | archive | help
Stijn,

I=20think=20I=20am=20almost=20there=20as=20the=20disks=20are=20now=20sinci=
ng.=20=20Thank=20you=20for
your=20help,=20it=20has=20been=20really=20appreciated.=20=20I=20am=20still=
=20going=20fiddle=20with
the=20mirror=20with=20the=20gvinum.

Tomas
--
tp




-----Original=20Message-----
From:=20Stijn=20Hoop=20[mailto:stijn@win.tue.nl]=20
Sent:=2009=20September=202005=2012:12
To:=20Tomas=20Palfi
Subject:=20Re:=20vinum=20or=20gvinum

Hi,

On=20Fri,=20Sep=2009,=202005=20at=2012:04:42PM=20+0100,=20Tomas=20Palfi=20=
wrote:
>=20Thanks=20for=20this=20update,=20I=20am=20configuring=20the=20gmirror=20=
as=20per=20the
>=20instructions,=20however,=20there=20is=20one=20thing=20which=20bothers=20=
me=20a=20bit.
>=20
>=20bsdlabel=20-e=20/dev/mirror/gm0s1=20when=20editing=20the=20new=20layou=
t,=20it
>=20advices=20me=20to=20start=20"a"=20partition=20at=20offset=2016,=20and=20=
"c"=20as=20per=20default
>=20at=20offset=200.=20=20do=20I=20have=20to=20retain=20the=20offset=2016=20=
for=20the=20"a"=20partition
>=20where=20my=20root=20is=20located=20or=20can=20i=20have=20another=20off=
set=20+=2016=20and=20start
>=20swap=20at=200=20offset?=20=20In=20this=20case=20the=20swap=20would=20s=
tart=20with=20offset=200=20as
>=20"b".

Sounds=20fine.=20In=20the=20past=20there=20have=20been=20troubles=20with=20=
old=20BIOSes=20not
booting=20from=20root=20partitions=20that=20were=20located=20"far"=20on=20=
the=20disk=20(>2G
I=20believe).=20I=20don't=20think=20that=20limitation=20exists=20anymore,=20=
but=20keep=20it
in=20mind.=20Other=20than=20that,=20FreeBSD=20will=20be=20happy.

>=20this=20is=20my=20exiting=20layout=20on=20/dev/da0s1
>=20
>=20a:=2010485760=20=2010485760=20=20=20that's=20/root
>=20b:=2010485760=20=09=20=200=09=09=20=20swap
>=20c:=20143363997=09=20=200
>=20d:=2020911520=20=2020911520=20=20=20=20=20=20=20=20=20=20/home
>=20e:=2014680064=20=2041943040=09=09=20/tmp
>=20f:=2014680064=20=2056623104=09=09=20/var
>=20g:=2072060829=20=2071303168=09=09=20/usr/local
>=20
>=20
>=20and=20this=20is=20what=20I=20would=20lay=20it=20as=20on=20the=20/dev/m=
irror/gm0s1
>=20
>=20|-|-----|-----|-----------|--------|--------|--------------------|
>=2016=20swap=20=20/root=20=20=20/home=20=20=20=20=20=20=20/tmp=20=20=20=20=
=20/var=20=20=20=20=20=20=20/usr/local
>=20
>=20
>=20
>=20a:=2010485760=20=20(10485760=20+=2016)=20=20that's=20/root
>=20b:=20(10485760=20-=2016)=09=20=2016=09=09=20=20swap
>=20c:=20143363997=09=20=200
>=20d:=2020911520=20=2020911520=20=20=20=20=20=20=20=20=20=20/home
>=20e:=2014680064=20=2041943040=09=09=20/tmp
>=20f:=2014680064=20=2056623104=09=09=20/var
>=20g:=2072060829=20=2071303168=09=09=20/usr/local
>=20
>=20in=20this=20case=20the=20swap=20would=20be=20offset=20by=20those=2016?=
?

Yes,=20I=20would=20definitely=20offset=20things=20by=2016=20sectors.=20I=20=
don't=20really=20know
what's=20stored=20there=20but=20you=20don't=20lose=20much=20and=20it=20pro=
bably=20makes=20sense.

Also=20keep=20in=20mind=20that=20you=20need=20to=20make=20sure=20that=20/d=
ev/ad0s1=20does=20NOT
cover=20the=20ENTIRE=20disk,=20but=20rather=20leaves=20a=20few=20sectors=20=
spare=20at=20the
end.=20This=20is=20to=20make=20sure=20that=20gmirror=20does=20not=20confus=
e=20/dev/ad0=20and
/dev/ad0s1=20as=20providers=20for=20the=20mirror=20(it=20stores=20it's=20m=
etadata=20in=20the
last=20sector).=20All=20of=20this=20is=20described=20in=20the=20article,=20=
although=20maybe
not=20very=20clear.=20Note=20also=20that=20by=20default,=20FreeBSD=20leave=
s=20a=20few=20sectors
spare=20when=20runnign=20fdisk,=20so=20it's=20not=20an=20issue=20most=20of=
=20the=20time=20unless
you=20'dangerously=20dedicate'=20your=20disks.

Hopefully=20it'll=20all=20work=20out=20today=20;-)

--Stijn

--=20
It's=20harder=20to=20read=20code=20than=20to=20write=20it.
=09=09--=20Joel=20Spolsky,
=09
http://www.joelonsoftware.com/articles/fog0000000069.html

PRIVACY=20&=20CONFIDENTIALITY

This=20e-mail=20is=20private=20and=20confidential.=20=20If=20you=20have,=20=
or=20suspect=20you=20have=20received=20this=20message=20in=20error=20pleas=
e=20notify=20the=20sender=20as=20soon=20as=20possible=20and=20remove=20fro=
m=20your=20system.=20=20You=20may=20not=20copy,=20distribute=20or=20take=20=
any=20action=20in=20reliance=20on=20it.=20Thank=20you=20for=20your=20co-op=
eration.

Please=20note=20that=20whilst=20best=20efforts=20are=20made,=20neither=20t=
he=20company=20nor=20the=20sender=20accepts=20any=20responsibility=20for=20=
viruses=20and=20it=20is=20your=20responsibility=20to=20scan=20the=20email=20=
and=20attachments=20(if=20any).

This=20e-mail=20has=20been=20automatically=20scanned=20for=20viruses=20by=20=
MessageLabs.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?119D03CDAA26274786799627855EC43D67F541>