dmsetup remove_all wipefs -a --force /dev/nvme0n1p1 mkfs -t ext4 -q -F /dev/nvme0n1p1 mkdir -p /fs/nvme0n1p1 mount -t ext4 /dev/nvme0n1p1 /fs/nvme0n1p1 mkdir /export mount -t tmpfs nfsv4_root_export /export mkdir -p /export//fs/nvme0n1p1 mount --bind /fs/nvme0n1p1 /export//fs/nvme0n1p1 echo '/export//fs/nvme0n1p1 *(rw,no_subtree_check,no_root_squash)' >> /etc/exports /etc/init.d/rpcbind start /etc/init.d/nfs-common start systemctl restart nfs-server mkdir -p /nfs/nvme0n1p1 mount -t nfs -o vers=4 localhost:/fs/nvme0n1p1 /nfs/nvme0n1p1 touch /nfs/nvme0n1p1/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/nvme0n1p1/1" "-d" "/nfs/nvme0n1p1/2" "-d" "/nfs/nvme0n1p1/3" "-d" "/nfs/nvme0n1p1/4" "-D" "16" "-N" "256" "-n" "163840" "-L" "4" "-S" "1" "-s" "9"