removed call to fallocate, should not be necessary
authorPaul Tonelli <paul.tonelli@logilab.fr>
Wed, 13 Mar 2013 17:46:20 +0100
changeset 75 aaa6740c7950
parent 74 442b3b154777
child 76 b8194fea7323
removed call to fallocate, should not be necessary
_states/tmp_state.py
--- a/_states/tmp_state.py	Wed Mar 13 17:44:26 2013 +0100
+++ b/_states/tmp_state.py	Wed Mar 13 17:46:20 2013 +0100
@@ -144,9 +144,6 @@
         ret['comment'] = 'Error while resizing {0}: {1}'.format(name,
                 info['stderr'])
         return ret
-    if str_size: 
-        info = __salt__['cmd.run_all']('fallocate -l ' + str(new_size /
-            block_size) + ' ' + name )
     ret['changes']['resized'] = True
     ret['comment'] = 'Resized filesystem {0} from {1} to {2}'.format(name,
             str(current_size * block_size), str(max(new_size, minimum_size)))