Please suggest me how I can create a process in D (uninterruptable sleep) stat on mirror disk. Actually there is some bug in other code, that process some times create a process with D stat on MD and our unmount script fails and whole system goes in halt condition. Any how we have to avoid shutdown/reboot condition. For testing purpose we want to reproduce such scenario "Process with D stat". The MD has ext2/ext3 filesystem.
Will fuser command can terminate with SIGCHLD signal. I think it may kill init daemon. Kill with SIGCHLD may also have same effect. There are several process which access MD.
Please suggest which will be the best approach to over come from such situation.
sed 's/D stat/D state/'. – quanta Aug 14 '12 at 7:19