diff --git a/container-storage-setup.sh b/container-storage-setup.sh index 2f3e140..bc64615 100755 --- a/container-storage-setup.sh +++ b/container-storage-setup.sh @@ -730,6 +730,10 @@ is_block_dev_partition() { return 0 fi + if [[ "$disktype" = "raid"* ]];then + return 1 + fi + # For loop device partitions, lsblk reports type as "loop" and not "part". # So check if device has a parent in the tree and if it does, there are high # chances it is partition (except the case of lvm volumes)