Re: How to predict drive number change for 7.3->8.1 upgrade?

看板FB_stable作者時間15年前 (2010/09/18 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串18/18 (看更多)
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--
文章代碼(AID): #1Cay8ppD (FB_stable)
討論串 (同標題文章)
完整討論串 (本文為第 18 之 18 篇):
文章代碼(AID): #1Cay8ppD (FB_stable)