Todd H. Poole wrote: > Howdy 404, thanks for the response. > > But I dunno man... I think I disagree... I'm kinda of the opinion that > regardless of what happens to hardware, an OS should be able to work around > it, if it's possible. If a sysadmin wants to yank a hard drive out of a > motherboard (despite the risk of damage to the drive and board), then no OS > in the world is going to stop him, so instead of the sysadmin trying to work > around the OS, shouldn't the OS instead try to work around the sysadmin? >
The behavior of ZFS to an error reported by an underlying device driver is tunable by the zpool failmode property. By default, it is set to "wait." For root pools, the installer may change this to "continue." The key here is that you can argue with the choice of default behavior, but don't argue with the option to change. > I mean, as great of an OS as it is, Solaris can't possibly hope to stop me > from doing anything I want to do... so when it assumes that something's gone > seriously wrong (which yanking a disk drive would hopefully cause it to > assume), instead of just freezing up and becoming totally useless, why not do > something useful like eject the disk from it's memory, degrade the array, > send out an e-mail to a designated sysadmin, and then keep on chugging along? > If this does not occur, then please file a bug against the appropriate device driver (you're not operating in ZFS code here). > Or, for a greater level of control, why not just read from some configuration > set by the sysadmin, and then decide to either do the above or shut down > entirely, as per the wishes of the sysadmin? Anything would be better than > just going into a catatonic state in less than five seconds. > qv. zpool failmode property, at least when you are operating in the zfs code. I think the concerns here are that hangs can, and do, occur at other places in the software stack. Please report these in the appropriate forums and bug categories. -- richard _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss