[ Thursday, January 20, 2000 ] David Holl wrote:
> It could be handy if there was another 'file' in /proc/sys/dev/md that
> could dump an equivalent raidtab of the running arrays. Or perhaps a
> separate raidtab for each array: raidtab.md0 raidtab.md1, etc... Is this
> possible? Should I be the one to get gung-ho about it if I want this bad
> enough? :)
Actually not a bad idea, since after some hackery (like the scsi-for-ide
raid1 drive-swap from before) you could sync your array and raidtab
with a simple cp. I'd probably not bother with sep. ones for each array
simply b/c the "cp /proc/.../raidtab /etc/raidtab" option would go away,
although if you want to do both that'd certainly be helpful.
The necessary information is already in place in the structs, and printing
it back out should be largely just be reversing the scanning process.
Have fun, and let us know when we can help fix/test,
James
--
Miscellaneous Engineer --- IBM Netfinity Performance Development