Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Support more than 16 disks per fileserver
Browse files Browse the repository at this point in the history
  • Loading branch information
alfpark committed Nov 17, 2017
1 parent f9765c9 commit a731ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/shipyard_remotefs_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ fi

# get all data disks
declare -a data_disks
all_disks=($(lsblk -l -d -n -p -I 8 -o NAME))
all_disks=($(lsblk -l -d -n -p -I 8,65,66,67,68 -o NAME))
for disk in "${all_disks[@]}"; do
# ignore os and ephemeral disks
if [ $disk != "/dev/sda" ] && [ $disk != "/dev/sdb" ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/shipyard_remotefs_stat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ shift $((OPTIND-1))

# get all data disks
declare -a data_disks
all_disks=($(lsblk -l -d -n -p -I 8 -o NAME))
all_disks=($(lsblk -l -d -n -p -I 8,65,66,67,68 -o NAME))
for disk in "${all_disks[@]}"; do
# ignore os and ephemeral disks
if [ $disk != "/dev/sda" ] && [ $disk != "/dev/sdb" ]; then
Expand Down

0 comments on commit a731ecc

Please sign in to comment.