Re: vinum unable to find root

2004-03-11 Thread dave
Hello,
Ok, this one makes me look like an idiot. Rebooted one more time and it
fired right up, strange, but it is working, reviving right now. I don't know
if this will help anyone, but this was on a 5.2-RELEASE system, two 40 gb
IDE drives, identically partitioned, My thanks again to all.
Dave.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vinum unable to find root

2004-03-09 Thread Greg 'groggy' Lehey
On Tuesday,  9 March 2004 at 15:33:54 -0500, dave wrote:
> Hello,
> Trying to set up FreeBSD on a mirrored raid1 root. I have followed the
> section in ch12 of "The Complete FreeBSD" added the lines to loader.conf,
> altered the disklabel, and ran fsck on /dev/vinum/root which worked fine.
> When i changed /etc/fstab from /dev/ad0s1a to /dev/vinum/root and rebooted i
> am getting the error:
>
> setrootbyname failed
> ffs_mountroot can not find root
> root mount failed: 6
>
> and then i am asked for manual root specifications. When i enter ufs:ad0s1a
> or ufs:vinum/root i get a kernel panic and the system reboots. My disklabels
> and fstab are below, any suggestions welcome.

http://www.vinumvm.org/vinum/how-to-debug.html

In particular, "[iI] get a kernel panic" means nothing unless you give
more details.  You haven't even said whether you have started Vinum at
this stage.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


vinum unable to find root

2004-03-09 Thread dave
Hello,
Trying to set up FreeBSD on a mirrored raid1 root. I have followed the
section in ch12 of "The Complete FreeBSD" added the lines to loader.conf,
altered the disklabel, and ran fsck on /dev/vinum/root which worked fine.
When i changed /etc/fstab from /dev/ad0s1a to /dev/vinum/root and rebooted i
am getting the error:

setrootbyname failed
ffs_mountroot can not find root
root mount failed: 6

and then i am asked for manual root specifications. When i enter ufs:ad0s1a
or ufs:vinum/root i get a kernel panic and the system reboots. My disklabels
and fstab are below, any suggestions welcome.
Thanks.
Dave.

original disklabel
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   245760  10485764.2BSD 2048 16384 15368
  b:  10485760  swap
  c: 781561620unused0 0 # "raw" part, don't
edit
  d:   524288  12943364.2BSD 2048 16384 32776
  e:  6291456  18186244.2BSD 2048 16384 28552
  f: 70046082  81100804.2BSD 2048 16384 28552

modified disklabel
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   245760  10485764.2BSD 2048 16384 15368
  b:  1048295281  swap
  c: 781561620unused0 0 # "raw" part, don't
edit
  d:   524288  12943364.2BSD 2048 16384 32776
  e:  6291456  18186244.2BSD 2048 16384 28552
  f: 70046082  81100804.2BSD 2048 16384 28552
  g: 7815614616vinum0 0 # "raw" part, don't
edit

original fstab
# Device  Mountpoint FStype Options  Dump Pass#
/dev/ad0s1b  none  swap sw  0 0
/dev/ad1s1b  none  swap sw  0 0
/dev/ad0s1a  /  ufs rw  1 1
/dev/ad0s1f  /home  ufs rw  2 2
/dev/ad1s1g  /home2  ufs rw  2 2
/dev/ad1s1d  /root2  ufs rw  2 2
/dev/ad0s1e  /usr  ufs rw  2 2
/dev/ad1s1f  /usr2  ufs rw  2 2
/dev/ad0s1d  /var  ufs rw  2 2
/dev/ad1s1e  /var2  ufs rw  2 2
/dev/acd0  /cdrom  cd9660 ro,noauto 0 0

modified fstab
# Device  Mountpoint FStype Options  Dump Pass#
/dev/vinum/swap  none  swap sw  0 0
/dev/ad1s1b  none  swap sw  0 0
/dev/vinum/root  /  ufs rw  1 1
/dev/vinum/home  /home  ufs rw  2 2
/dev/ad1s1g  /home2  ufs rw  2 2
/dev/ad1s1d  /root2  ufs rw  2 2
/dev/vinum/usr  /usr  ufs rw  2 2
/dev/ad1s1f  /usr2  ufs rw  2 2
/dev/vinum/var  /var  ufs rw  2 2
/dev/ad1s1e  /var2  ufs rw  2 2
/dev/acd0  /cdrom  cd9660 ro,noauto 0 0

vinum configuration file
drive asteroid device /dev/ad0s1g
volume root
plex org concat
sd len 245760s driveoffset 1048560s drive asteroid
volume swap
plex org concat
sd len 1048295s driveoffset 265s drive asteroid
volume home
plex org concat
sd len 70046082s driveoffset 8110064s drive asteroid
volume var
plex org concat
sd len 524288s driveoffset 1294320s drive asteroid
volume usr
plex org concat
sd len 6291456s driveoffset 1818608s drive asteroid


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"