struct mdt_thread_info *cdt_mti;
ENTRY;
- if (mdt->mdt_opts.mo_coordinator == 0)
- RETURN(0);
-
if (cdt->cdt_state == CDT_STOPPED) {
CERROR("%s: Coordinator already stopped\n",
mdt_obd_name(mdt));
rm -f $file1
fid1=$(make_small $file1)
+ echo $fid1
+ $LFS getstripe $file1
+
trap cleanup_test_24d EXIT
zconf_mount $(facet_host $SINGLEAGT) "$MOUNT3" ||
error "cannot mount '$MOUNT3' on '$SINGLEAGT'"
mount -o remount,ro $MOUNT2
+ do_nodes $(comma_list $(nodes_list)) $LCTL clear
+ start_full_debug_logging
+
fid2=$(path2fid $file2)
[ "$fid1" == "$fid2" ] ||
error "FID mismatch '$fid1' != '$fid2'"
error "archive should fail on read-only mount"
check_hsm_flags $file1 "0x00000000"
- $LFS hsm_archive $file1
+ $LFS hsm_archive $file1 || error "Fail to archive $file1"
wait_request_state $fid1 ARCHIVE SUCCEED
+ stop_full_debug_logging
+
$LFS hsm_release $file1
$LFS hsm_restore $file2
wait_request_state $fid1 RESTORE SUCCEED