We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c208ac commit a33fce1Copy full SHA for a33fce1
ansible/files/admin_api_scripts/grow_fs.sh
@@ -4,6 +4,11 @@ set -euo pipefail
4
5
VOLUME_TYPE=${1:-data}
6
7
+if pgrep resizefs; then
8
+ echo "resize2fs is already running"
9
+ exit 1
10
+fi
11
+
12
if [ -b /dev/nvme1n1 ] ; then
13
if [[ "${VOLUME_TYPE}" == "data" ]]; then
14
resize2fs /dev/nvme1n1
0 commit comments