dmsetup remove_all wipefs -a --force /dev/sdd1 mkfs -t btrfs /dev/sdd1 mkdir -p /fs/sdd1 mount -t btrfs /dev/sdd1 /fs/sdd1 mkdir /export mount -t tmpfs nfsv4_root_export /export mkdir -p /export//fs/sdd1 mount --bind /fs/sdd1 /export//fs/sdd1 echo '/export//fs/sdd1 *(rw,no_subtree_check,no_root_squash)' >> /etc/exports systemctl restart rpcbind systemctl restart rpc-statd systemctl restart nfs-idmapd systemctl restart nfs-server mkdir -p /nfs/sdd1 timeout 5m mount -t nfs -o vers=4 localhost:/fs/sdd1 /nfs/sdd1 touch /nfs/sdd1/wait_for_nfs_grace_period for cpu_dir in /sys/devices/system/cpu/cpu[0-9]* do online_file="$cpu_dir"/online [ -f "$online_file" ] && [ "$(cat "$online_file")" -eq 0 ] && continue file="$cpu_dir"/cpufreq/scaling_governor [ -f "$file" ] && echo "performance" > "$file" done fs_mark -d /nfs/sdd1/1 -D 10240 -N 1 -n 10240 -L 1 -S 1 -s 4096