Improve NVMe support

Running with btrfs on el cheapo NVMe SSD: http://ix.io/1mpG
This commit is contained in:
ThomasKaiser
2018-09-10 20:06:46 +02:00
parent 53819a6212
commit be0778b176
3 changed files with 51 additions and 20 deletions

View File

@@ -96,7 +96,7 @@ log_hardware_info() {
which zpool >/dev/null 2>&1 && echo -e "\n### zpools:\n\n$(zpool list)\n\n### zfs datasets:\n\n$(zfs list)" >>${Log}
echo -e "\n### lsblk:\n" >>${Log}
lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,UUID | grep -v "SWAP" >>${Log}
which zramctl && echo -e "\n### zramctl:\n\n$(zramctl)" >>${Log}
which zramctl >/dev/null 2>&1 && echo -e "\n### zramctl:\n\n$(zramctl)" >>${Log}
echo -e "\n### mtab:\n" >>${Log}
egrep '^/dev/|\ zfs\ ' /etc/mtab | egrep -v "log2ram|folder2ram" | sort >>${Log}
[[ -e /boot/script.bin ]] && echo -e "\n### /boot/script.bin --> $(readlink /boot/script.bin)" >>${Log}