RE: Bugzilla bug 6084 AI fails due to solaris.zlib becoming corrupt during install http://defect.opensolaris.org/bz/show_bug.cgi?id=6804
6817316 data corruption seen with swapping to a zvol http://monaco.sfbay/detail.jsf?cr=6817316 The problem occurs when a ZFS volume is used for swap in the Automated Installer. There is an alternative swap solution - to use a slice for swap instead of a ZFS volume. Currently, AI follows the logic of creating swap on a ZFS volume if there is enough space. If not, the target partition (x86) or disk (SPARC) slice 1 will be used for swap if there is enough space. What I propose here to add a feature: a new AI manifest element <target_device_swap_slice_number>, which would force the creation of swap on an indicated slice instead of on a ZFS volume. An advantage of this approach is that, since we are as yet uncertain of which configurations will exhibit bug 6084, there is a simple manual configuration change to work around it. It would also serve as an AI feature (although perhaps not a terribly interesting one). I would estimate a day of work to code this and do unit testing. The additional risk would be small. I will mention here that the swapping to a zvol bug needs to be fixed, and that perhaps we shouldn't be thinking in terms of a workaround, but a high priority fix. Any feedback would be appreciated, William
