dumpon on a gmirror system

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Dec 19 15:06:18 PST 2005


On Mon, Dec 19, 2005 at 11:53:24PM +0100, Walter Hop wrote:
+> Hello all,
+> 
+> I hope this is the right mailinglist.
+> 
+> One  of  our machines running gmirror has become unstable and seems to
+> panic  at  times.  I  would  like to enable crash dumps which requires
+> dumping  to  a  swap  partition. My problem is: all the partitions are
+> gmirror-ed,  and  gmirror partitions can't be used with dumpon because
+> GEOM is already down at the time of dumping.
+> 
+> Someone  on  a mailinglist had suggested to dump to one of the gmirror
+> components  directly  (/dev/ad4s1b  in  my case). This would bring the
+> disks  out  of sync, although it wouldn't be critical if dumping works
+> exactly  as planned. Nevertheless, it would be devastating if I'd ruin
+> the mirror set. Is this practice recommended?
+> 
+> I  also don't seem to have an entry for ad4s1b in /dev, is there a way
+> to get around this?

Are you sure you mirror partitions and not slices nor whole disks?
Output of 'gmirror list' will be helpful.

+> How  do  people using gmirror exclusively handle the problem of saving
+> crash dumps?

I, for one, prefer ddb(4), which is enough for me.
Other probably have stable systems and don't need dumps at all:)

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- 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-geom/attachments/20051220/a6a15f80/attachment.bin


More information about the freebsd-geom mailing list