Browse Source

update zfs-tools

Votre Nom 3 years ago
parent
commit
95bfe98b21
1 changed files with 8 additions and 2 deletions
  1. 8 2
      build_cube.sh

+ 8 - 2
build_cube.sh

@@ -1,7 +1,8 @@
 #!/bin/bash
 set -e
-Version=3.8
+Version=4.0
 Cuda=YES
+ZFS=YES
 Drivers=82
 
 if (( $EUID != 0 )); then
@@ -59,6 +60,11 @@ echo -e ""
 sudo apt-get install ctorrent libcurl4-openssl-dev bison byacc screen libudev-dev libjansson-dev libncurses5-dev libmicrohttpd-dev curl -y
 echo -e ""
 sudo apt-get install htop vlc locate -y
+if [ $ZFS ="YES"]
+then
+sudo apt-get install zfsutils-linux -y
+sudo zpool import Raid
+fi
 if [ $Cuda = "YES" ]
 then
 echo -e "$(tput setaf 10)\nInstall Cuda packages:$(tput sgr0)"
@@ -343,7 +349,7 @@ then
 cp /etc/fstab /tmp/fstab
 cat <<"EOF">> /tmp/fstab
 
-UUID=73b1f9c9-b735-4bae-baf0-7ab5c542dfeb /media/Raid ext4
+#UUID=73b1f9c9-b735-4bae-baf0-7ab5c542dfeb /media/Raid ext4
 UUID=1df72b63-fca0-45c6-992c-3e2532d5591a /media/Store ext4
 UUID=27821afb-02ed-4b13-8b61-5980787b4ad1 /media/Partage ext4
 #sample for btrfs