Commit c0bf58e1 by Thom Cherryhomes

Refs #2773 - quote name of pool for zpool create.

1 parent a2ca13f9
Pipeline #666 passed
in 31 seconds
......@@ -55,7 +55,7 @@ if [[ "$3" != "demonized" ]] ;then
for d in $ActiveDrives; do parted -a optimal -s $d mklabel gpt; done
Log "Using zpool to actually create the pool"
zpool create $name mirror $ActiveDrives
zpool create "$name" mirror $ActiveDrives
zpool_err="$?"
Log "Process 'zpool create $name $ActiveDrives' exited with error $zpool_err"
......
......@@ -56,7 +56,7 @@ if [[ "$3" != "demonized" ]] ;then
for d in $ActiveDrives; do parted -a optimal -s $d mklabel gpt; done
Log "Using zpool to actually create the pool"
zpool create $name $ActiveDrives
zpool create "$name" $ActiveDrives
zpool_err="$?"
Log "Process 'zpool create $name $ActiveDrives' exited with error $zpool_err"
......
......@@ -55,7 +55,7 @@ if [[ "$3" != "demonized" ]] ;then
for d in $ActiveDrives; do parted -a optimal -s $d mklabel gpt; done
Log "Using zpool to actually create the pool"
zpool create $name raidz1 $ActiveDrives
zpool create "$name" raidz1 $ActiveDrives
zpool_err="$?"
Log "Process 'zpool create $name $ActiveDrives' exited with error $zpool_err"
......
......@@ -55,7 +55,7 @@ if [[ "$3" != "demonized" ]] ;then
for d in $ActiveDrives; do parted -a optimal -s $d mklabel gpt; done
Log "Using zpool to actually create the pool"
zpool create $name raidz2 $ActiveDrives
zpool create "$name" raidz2 $ActiveDrives
zpool_err="$?"
Log "Process 'zpool create $name $ActiveDrives' exited with error $zpool_err"
......
......@@ -57,7 +57,7 @@ if [[ "$3" != "demonized" ]] ;then
Log "Using zpool to actually create the pool"
zpool create $name raidz3 $ActiveDrives
zpool_err="$?"
Log "Process 'zpool create $name $ActiveDrives' exited with error $zpool_err"
Log "Process 'zpool create "$name" $ActiveDrives' exited with error $zpool_err"
Log "Setting mount point to legacy for PlutoStorageDevices"
zfs set mountpoint=legacy "$name"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!