Created
August 9, 2019 12:23
-
-
Save knutov/6cd073fb9326d72fe3c02f867c917629 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parted /dev/nvme0n1 unit s p free | |
parted /dev/nvme0n1 print free | |
parted /dev/nvme0n1 mkpart primary zfs $START 100% | |
parted /dev/nvme0n1 print free | |
--- | |
# https://gist.github.com/Miouge1/4ecced3a2dcc825bb4b8efcf84e4b17b | |
apt-get install -y unzip # alien | |
mkdir isdct | |
cd isdct | |
wget https://downloadmirror.intel.com/28639/eng/Intel_SSD_Data_Center_Tool_3.0.19_Linux.zip | |
unzip Intel_SSD_Data_Center_Tool_*_Linux.zip | |
dpkg -i isdct_3.0.19-1_amd64.deb | |
# isdct show -a -intelssd | |
for index in $(isdct show -intelssd|grep Index|cut -d : -f 2) | |
do | |
echo Y | isdct load -intelssd $index | |
done | |
--- | |
START=$( parted /dev/nvme0n1 unit s p free | tail -n2 | head -n2 | awk '{print $1}' ) | |
isdct show -intelssd | |
index 0 | |
isdct set -intelssd 0 physicalsectorsize=4096 | |
Error: The selected drive does not support this feature. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment