Well, colleagues, I'm stuck a bit. I tried many different ways to setup system with vinum root (the only reference I found yet besides old "bootstrapping vinum" article is Joerg's commit message: http://freebsd.rambler.ru/bsdmail/cvs-all_2003/msg01225.html I failed. I have 4-stable system set up at ad0, and tried to set up pair of drives for new system at ad2 and ad3 (actually, they will run as ad0 and ad2 on target system). What I did: - fdisk -BI ad2; fdisk -BI ad3 - disklabel -Brw auto ad2s1; disklabel -Brw auto ad3s1 - create ad[23]s1d for root, 128M+265s in size, type vinum - start vinum and create mroot mirror volume - dump'n'restored root partition there - tune new fstab and /boot/loader.conf according to Joerg's comments. Alas, all I have is BTX registers dump. I did also check that if I create ad2s1a instead of vinum partition, I can boot from that prepaired disk. BTW, Joerg did promised a bit of documentation for vinum roots, but I failed to find it... Any suggestions? Thanks a lot in advance. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
Dmitry Morozovsky wrote:> Any suggestions? Thanks a lot in advance.Section 13.9 of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-root.html -- Dean C. Strik Eindhoven University of Technology dean@stack.nl | dean@ipnet6.org | http://www.ipnet6.org/ "This isn't right. This isn't even wrong." -- Wolfgang Pauli
On Mon, Aug 04, 2003 at 02:26:53PM +0400, Dmitry Morozovsky wrote:> Well, colleagues, I'm stuck a bit. > > I tried many different ways to setup system with vinum root (the only > reference I found yet besides old "bootstrapping vinum" article is Joerg's > commit message: http://freebsd.rambler.ru/bsdmail/cvs-all_2003/msg01225.html > > I failed. I have 4-stable system set up at ad0, and tried to set up pair of > drives for new system at ad2 and ad3 (actually, they will run as ad0 and ad2 on > target system). What I did: > > - fdisk -BI ad2; fdisk -BI ad3 > - disklabel -Brw auto ad2s1; disklabel -Brw auto ad3s1 > - create ad[23]s1d for root, 128M+265s in size, type vinum > - start vinum and create mroot mirror volume > - dump'n'restored root partition there > - tune new fstab and /boot/loader.conf according to Joerg's comments. > > Alas, all I have is BTX registers dump. > > I did also check that if I create ad2s1a instead of vinum partition, I can boot > from that prepaired disk. > > BTW, Joerg did promised a bit of documentation for vinum roots, but I failed > to find it... > > Any suggestions? Thanks a lot in advance.Did you read the section about it in the handbook? I used that and got it going... I had the same problem as you, but then read the "Nothing Boots, the Bootstrap Panics" section in the troubleshhoting section. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org
On Monday, 4 August 2003 at 14:26:53 +0400, Dmitry Morozovsky wrote:> Well, colleagues, I'm stuck a bit. > > I tried many different ways to setup system with vinum root (the only > reference I found yet besides old "bootstrapping vinum" article is Joerg's > commit message: http://freebsd.rambler.ru/bsdmail/cvs-all_2003/msg01225.html > > I failed. I have 4-stable system set up at ad0, and tried to set up pair of > drives for new system at ad2 and ad3 (actually, they will run as ad0 and ad2 on > target system). What I did: > > - fdisk -BI ad2; fdisk -BI ad3 > - disklabel -Brw auto ad2s1; disklabel -Brw auto ad3s1 > - create ad[23]s1d for root, 128M+265s in size, type vinum > - start vinum and create mroot mirror volume > - dump'n'restored root partition there > - tune new fstab and /boot/loader.conf according to Joerg's comments. > > Alas, all I have is BTX registers dump. > > I did also check that if I create ad2s1a instead of vinum partition, I can boot > from that prepaired disk. > > BTW, Joerg did promised a bit of documentation for vinum roots, but I failed > to find it... > > Any suggestions? Thanks a lot in advance.I haven't done anything in this area on release 4; as you say, J?rg did that. However, there's a problem with overwritten bootstraps which will probably bite you under 4.x as well. Try changing the 265 sectors to 281 and see if that fixes the problem. Greg -- See complete headers for address and phone numbers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030804/116fabc2/attachment.bin
As Dmitry Morozovsky wrote:> BTW, Joerg did promised a bit of documentation for vinum roots, but > I failed to find it...Well, as you can see, i finally kept my promise, well enough so people could tell you what i wrote there. ;-) Good luck! I've got several vinum root machines running fine here, both 4-stable as well as 5.x ones. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)