On Tue, Aug 29, 2006 at 02:28:50PM -0600, Greg Oster wrote: > 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.
Could you clarify what you mean? I have a raid1b partition markes as swap, and a wd0b partition marked as swap, and I have not figured out how to get a dump device assigned, so far, unless I use "swap on wd0b" -- which is unmirrored. I have no problem with having an unprotected dump area, but I am concerned about using the partition as swap space. <snip> > > 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... Since "root on wd0a swap on wd0b" assigns the dump device, isn't "dumps on wd0b" redundant? Or have I misunderstood you? Do you think an explicit assignment would change this behavior > > 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... There is no -D in current. Is there an uncommitted swapctl.c in development? > > 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... I can swap on a RAID set just fine, but only if I leave the config line in GENERIC untouched. But if I do that, I have no dump device. I seem to be able to swap and dump to non-raid thru altering the config line, as I described. But if I do that, I cannot then add a RAID set to the swap list.