Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the
following link:
https://bugzilla.lustre.org/show_bug.cgi?id=12181
This work-around to the defect is submitted by Nick Cardo of NERSC. In summary,
before shutdown, you just do a sync if Lustre reports dirty pages in the
cache...
#!/bin/ksh
cd /proc/fs/lustre/osc
for i in `find . -name dirty_cache_pages -print`
do
cnt=`cat $i`
if [ $cnt -ne 0 ]
then
echo "node has $cnt dirty_cache_pages, sync them"
fi
done
_______________________________________________
Lustre-devel mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-devel