cli->cl_max_mds_cookiesize = sizeof(struct llog_cookie);
cli->cl_sandev = to_kdev_t(0);
+
+ obddev->obd_logops = &llogd_client_ops;
+
/* Register with management client if we need to. */
if (lcfg->lcfg_inllen3 > 0) {
char *mgmt_name = lcfg->lcfg_inlbuf3;
cleanup() {
[ "$DAEMONFILE" ] && lctl debug_daemon stop
- umount $MOUNT
+ umount $MOUNT || true
rmmod llite
- stop mds ${FORCE} $MDSLCONFARGS --dump cleanup.log
- stop ost ${FORCE}
+ stop mds ${FORCE} $MDSLCONFARGS
+ stop ost ${FORCE} --dump cleanup.log
}
if [ "$ONLY" == "cleanup" ]; then
start ost --reformat $OSTLCONFARGS
start mds --write_conf --reformat $MDSLCONFARGS
-# start client --gdb $CLIENTLCONFARGS
+
+# 0-conf client
insmod ../llite/llite.o || true
+[ -d /r ] && lctl modules > /r/tmp/ogdb-`hostname`
[ -d $MOUNT ] || mkdir $MOUNT
-
mount -t lustre_lite -o mds_uuid=mds1_UUID,profile=client_facet replay-single $MOUNT
[ "$DAEMONFILE" ] && lctl debug_daemon start $DAEMONFILE $DAEMONSIZE