Skip to content

Commit 329274a

Browse files
authored
M #-: LVM thin: sync between pool & LV creation (#3638)
1 parent e71ea3c commit 329274a

File tree

1 file changed

+1
-0
lines changed
  • src/tm_mad/fs_lvm_ssh

1 file changed

+1
-0
lines changed

src/tm_mad/fs_lvm_ssh/clone

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ CREATE_CMD=$(cat <<EOF
137137
# -Zy is for auto-zeroing thin volumes. It already defaults to 'y' but just in case...
138138
$SUDO $LVCREATE -Zy -L ${SIZE}M --type thin-pool --thinpool $POOL_NAME $VG_NAME
139139
$SUDO $LVCHANGE -an $VG_NAME/$POOL_NAME
140+
$SYNC
140141
fi
141142
$SUDO $LVCREATE -T $VG_NAME/$POOL_NAME -V ${SIZE}M -n $LV_NAME
142143
else

0 commit comments

Comments
 (0)