raidframe, autoconfigure, and spares

2010-02-28 Thread Robert Elz
Is there any way to (more simply than running commands after each boot) have a raidframe (raid1 or raid5) set be bother uatoconfiguring, and have hot spares? I can add the spare easily ... raidctl -a /dev/wdxP raidN (and the partition used is of type RAID in the disklabel of wdx) but after a

Exposing internal sysmon_envsys(8) structures to userland

2010-02-28 Thread Paul Goyette
It has always bothered me that src/sys/sys/envsys.h exposes several internal data structures to userland. It seems to me that the only items from this header file that should really be exported are * the definitions for the various IOCTLs * the definitions for the sensor units * the

Re: raidframe, autoconfigure, and spares

2010-02-28 Thread Christos Zoulas
In article 11102.1267360...@jade.coe.psu.ac.th, Robert Elz k...@munnari.oz.au wrote: Is there any way to (more simply than running commands after each boot) have a raidframe (raid1 or raid5) set be bother uatoconfiguring, and have hot spares? I can add the spare easily ... raidctl -a /dev/wdxP

Re: solved ? [Re: need help with kern/35704 (UBC-related)]

2010-02-28 Thread David Holland
On Tue, Feb 02, 2010 at 10:53:58PM +0100, Manuel Bouyer wrote: I found the cause of for this one: [...] To fix this I propose to have ffs_trucate() (and derivatives) always set v_writesize, even if the real size of the inode didn't change. The attached patch completely fixes the test