Josh Grosse writes: > Has anyone using Root on RAID managed to point their dumpdev at a swap space, > either within a RAID array or on a standard swap partition?
Dumping to a standard swap partition on a RAID set is not supported. > I have not, and a search of the archives only came up with one posting, with > a similar question, but no answer: > > http://marc.theaimsgroup.com/?l=openbsd-misc&m=111763609916743&w=2 > > I'm running -current on i386, and have just successfully implemented RAID > level 1 mirroring. I am using two Autoconfig devices: > > raid0 (ffs partitions) which is also set as the Root partition > raid1 (swap). > > My kernel configuration is GENERIC plus RAIDframe, which means that my > config line reads: > > config bsd swap generic > > When booting normally, with raid0a as root, I get this kernel message right > before init starts: > > swapmount: no device > > and then during rc I get: > > savecore: no core dump > > I have tried modifying the config line. If I use: > > config bsd root on wd0a swap on wd0b > > then I do get an unmirrored partition as my swap_device, and it is also a > dump device. Does the config syntax support "dumps on wd0b"? Dunno if you can use something like: config bsd root on wd0a swap on wd0b dumps on wd0b but that might be sufficient... > But ... adding /dev/raid1b doesn't work -- adding this device > to /etc/fstab seems to be ignored, and "swapctl -a /dev/raid1b" fails with > "file not found." raid1b is an unacceptable keyword for kernel config. Dunno about any of this.... I'd have suggested using 'swapctl -D /dev/wd0b', but I don't believe that'd work for you... > Anyone with a successful swap/dump setup who might be able to point me to > what I'm missing? You should be able to do it, but not to swap on a RAID set... Later... Greg Oster