Re: Gmirror dump device does not exist?

2006-01-06 Thread Michal Mertl
Nick Pavlica wrote:
 All,
   I have just set up a FBSD6.0 server configured with gmirror/raid1
 using two SATA drives ad4  ad6 according to these instructions:
 
  
 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
 
   Everything is functioning properly with the exception of a boot
 warning that indicates that a dump device does not exist.  I'm sure
 that I just missed something simple during the setup procedure.  Does
 anyone have the quick fix for this?

It is not possible to dump kernel to gmirror.

The reason is that at the time, when the kernel is dumping core, it is
usually in pretty bad state, kernel internals may be corrupted and so
on. The dumping code is therefore written to be quite low level so that
even wedged kernel can be dumped. The dumping code is part of hard disk
controller's drivers. The gmirror is quite high-level device and geom
itself needs working scheduler so there will probably never be a way to
dump on gmirror provided swap. When the dumpon command is issued the
check is performed whether the driver for the disk you want to dump on
supports kernel core dumps.

Michal

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


Gmirror dump device does not exist?

2006-01-05 Thread Nick Pavlica
All,
  I have just set up a FBSD6.0 server configured with gmirror/raid1
using two SATA drives ad4  ad6 according to these instructions:

 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html

  Everything is functioning properly with the exception of a boot
warning that indicates that a dump device does not exist.  I'm sure
that I just missed something simple during the setup procedure.  Does
anyone have the quick fix for this?

My fstab:

# Device  Mountpoint  FStypeOptions   
 DumpPass#
/dev/mirror/gm0s1b  none   swap   sw  
  0   0
/dev/mirror/gm0s1a  /  ufs  rw
1   1
/dev/mirror/gm0s1e  /tmp ufs rw   
  2   2
/dev/mirror/gm0s1f   /usr  ufs  rw
2   2
/dev/mirror/gm0s1d  /var ufs  rw  
  2   2
/dev/acd0   /cdrom cd9660  ro,noauto   0   0

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