Permalink
Browse files

- make sure resizeLVMVolumes unsets FSTYPE before fsresize

  • Loading branch information...
1 parent 045f3c6 commit 17869ab3f958c9f176b200243d4d5933cf3219e8 @schaefi schaefi committed May 25, 2012
@@ -764,6 +764,7 @@ function resizeLVMVolumes {
lvextend -L +${size}M /dev/$VGROUP/$volume
fi
if [ $? = 0 ];then
+ unset FSTYPE
resizeFilesystem /dev/$VGROUP/$volume
else
Echo "Warning: requested size cannot be reached !"
@@ -764,6 +764,7 @@ function resizeLVMVolumes {
lvextend -L +${size}M /dev/$VGROUP/$volume
fi
if [ $? = 0 ];then
+ unset FSTYPE
resizeFilesystem /dev/$VGROUP/$volume
else
Echo "Warning: requested size cannot be reached !"
@@ -764,6 +764,7 @@ function resizeLVMVolumes {
lvextend -L +${size}M /dev/$VGROUP/$volume
fi
if [ $? = 0 ];then
+ unset FSTYPE
resizeFilesystem /dev/$VGROUP/$volume
else
Echo "Warning: requested size cannot be reached !"
@@ -791,6 +791,7 @@ function resizeLVMVolumes {
lvextend -L +${size}M /dev/$VGROUP/$volume
fi
if [ $? = 0 ];then
+ unset FSTYPE
resizeFilesystem /dev/$VGROUP/$volume
else
Echo "Warning: requested size cannot be reached !"

0 comments on commit 17869ab

Please sign in to comment.