Date: Fri, 17 Sep 2010 23:05:36 +0400 From: "Marat N.Afanasyev" <amarat@ksu.ru> To: Michael Sperber <sperber@deinprogramm.de> Cc: freebsd-stable@freebsd.org Subject: Re: How to predict drive number change for 7.3->8.1 upgrade? Message-ID: <4C93BC00.3050707@ksu.ru> In-Reply-To: <y9laang77zr.fsf@deinprogramm.de> References: <201009171238.o8HCcwCl084727@lurza.secnetix.de> <y9lr5gs7cjh.fsf@deinprogramm.de> <4C93674B.20300@ksu.ru> <y9liq247asc.fsf@deinprogramm.de> <4C937933.4060707@ksu.ru> <y9laang77zr.fsf@deinprogramm.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms010403060804010204060307 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Michael Sperber wrote: > "Marat N.Afanasyev"<amarat@ksu.ru> writes: > >> you may try the following commands: >> >> sysctl kern.geom.debugflags=3D16 >> >> foreach fs (your-filesystems) >> glabel label your-$fs-label your-$fs-device >> end >> >> echo geom_label_load=3D"YES">> /boot/loader.conf >> reboot >> >> and see if the labels appear in /dev/label > > Is this safe to do? The man page for glabel seems to imply that glabel= > should be used before newfs, and tunefs after newfs. > probably safe, but I didn't try this. there's another option: you may=20 consider to create gmirror device that allows you to shoot two ducks=20 with one arrow: 1) make your system fail-safe 2) all your devices will=20 be in form /dev/mirror/devXsYl regardless of underlying adX-s. to do=20 this all you need is a second hard drive large enough to serve as copy=20 of your boot drive --=20 SY, Marat --------------ms010403060804010204060307--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C93BC00.3050707>