sdstatemap
enum sdstates sdstatemap(struct plex *plex);
sdstatemap(&PLEX[sd->plexno]); /* count up subdisks */
statemap = sdstatemap(plex); /* get a map of the subdisk states */