RE: no dump on a gmirror ?

From: Larry Rosenman <ler_at_lerctr.org>
Date: Mon, 20 Feb 2006 16:12:14 -0600
Marcin Jessa wrote:
> On Mon, 20 Feb 2006 13:25:05 -0600
> "Larry Rosenman" <ler_at_lerctr.org> wrote:
> 
>> Doug Barton wrote:
>>> Larry Rosenman wrote:
>>>> Thierry Herbelot wrote:
>>>>> Hello,
>>>>> 
>>>>> I have recently converted a machine to a full gmirror
>>>>> configuration (as explained on
>>>>> http://people.freebsd.org/~rse/mirror/ : everything, including
>>>>> swap, is mirrored). 
>>>>> 
>>>>> The dump device is configured as AUTO from /etc/defaults/rc.conf
>>>>> and the kernel complains when booting that "No suitable dump
>>>>> device was found". 
>>>>> 
>>>>> Is this to be expected ? (I do not find any hint in gmirror(8) or
>>>>> dumpon(8))
>>>> 
>>>> Yes, unfortunately.
>>>> 
>>>> I wish someone would change it, as if I get a system panic, I'll
>>>> not be able to help fix it.
>>> 
>>> Does specifying a device, rather than using AUTO, work for you?
>>> 
>>> Doug
>> 
>> as in?
>> 
>> # dumpon /dev/mirror/gm0s1b
>> dumpon: ioctl(DIOCSKERNELDUMP): Operation not supported #
>> 
>> Feb 20 13:23:03 thebighonker kernel: Loading configuration files.
>> Feb 20 13:23:03 thebighonker kernel: dumpon:
>> Feb 20 13:23:03 thebighonker kernel: ioctl(DIOCSKERNELDUMP)
>> Feb 20 13:23:03 thebighonker kernel: :
>> Feb 20 13:23:03 thebighonker kernel: Operation not supported
>> 
>> # cat /etc/rc.conf
>> hostname="thebighonker.lerctr.org"
>> dumpdev="/dev/mirror/gm0s1b"
>> 
>> so, no it doesn't.
>> 
>> I don't believe I can get at the "b" slices of the individual disks
>> (da0/da1).
> 
> You may try the same trick as NetBSD uses with RAIDframe:
> http://www.netbsd.org/guide/en/chap-rf.html#chap-rf-setup-kerneldump
> 

That won't work, as you can't get at the labels:

# bsdlabel da0
bsdlabel: /dev/da0: no valid label found
# bsdlabel da0s1
bsdlabel: /dev/da0s1: Operation not permitted
#
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler_at_lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
Received on Mon Feb 20 2006 - 21:12:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC