Hey there,
i'm tried to create a ext4 fs on a block device which is not partitioned, but this will not work:
here the state:
/dev/sdb:
blockdev.formatted:
- fs_type: ext4
here the output:
vsvdeploy_test03:
----------
ID: /dev/sdb
Function: blockdev.formatted
Result: False
Comment: Failed to format /dev/sdb
Started: 09:48:27.500593
Duration: 30205.33 ms
Changes:
Summary for vsvdeploy_test03
------------
Succeeded: 0
Failed: 1
------------
Total states run: 1
Total run time: 30.205 s
If i'm doing the same on a partition it works:
/dev/sdb1:
blockdev.formatted:
- fs_type: ext4
here the output:
vsvdeploy_test03:
----------
ID: /dev/sdb1
Function: blockdev.formatted
Result: True
Comment: /dev/sdb1 has been formatted with ext4
Started: 09:50:00.947543
Duration: 648.305 ms
Changes:
----------
new:
ext4
old:
ext4
Summary for vsvdeploy_test03
------------
Succeeded: 1 (changed=1)
Failed: 0
------------
Total states run: 1
Total run time: 648.305 ms
Thy
Daniel