|
|
|
@ -13,7 +13,7 @@ This cdist type allows you to create filesystems on devices. |
|
|
|
|
If the device is mounted on target, it refuses to do anything. |
|
|
|
|
|
|
|
|
|
If the device has a filesystem other then the specified and/or |
|
|
|
|
the label is not correct, it only makes a new filesystem |
|
|
|
|
the label is not correct, it only makes a new filesystem |
|
|
|
|
if you have specified --force option. |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -30,9 +30,9 @@ device |
|
|
|
|
Blockdevice for filesystem, Defaults to object_id. |
|
|
|
|
On linux, it can be any lsblk accepted device notation. |
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| For example: |
|
|
|
|
| /dev/sdx |
|
|
|
|
| /dev/sdx |
|
|
|
|
| or /dev/disk/by-xxxx/xxx |
|
|
|
|
| or /dev/mapper/xxxx |
|
|
|
|
|
|
|
|
@ -46,15 +46,15 @@ mkfsoptions |
|
|
|
|
BOOLEAN PARAMETERS |
|
|
|
|
------------------ |
|
|
|
|
force |
|
|
|
|
Normaly, this type does nothing if a filesystem is found |
|
|
|
|
on the target device. If you specify force, it's formated |
|
|
|
|
Normally, this type does nothing if a filesystem is found |
|
|
|
|
on the target device. If you specify force, it's formatted |
|
|
|
|
if the filesystem type or label differs from parameters. |
|
|
|
|
Warning: This option can easily lead into data loss! |
|
|
|
|
|
|
|
|
|
MESSAGES |
|
|
|
|
-------- |
|
|
|
|
filesystem <fstype> on <device> \: <discoverd device> created |
|
|
|
|
Filesytem was created on <discoverd device> |
|
|
|
|
Filesystem was created on <discoverd device> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES |
|
|
|
@ -62,7 +62,7 @@ EXAMPLES |
|
|
|
|
|
|
|
|
|
.. code-block:: sh |
|
|
|
|
|
|
|
|
|
# Ensures that device /dev/sdb is formated with xfs |
|
|
|
|
# Ensures that device /dev/sdb is formatted with xfs |
|
|
|
|
__filesystem /dev/sdb --fstype xfs --label Testdisk1 |
|
|
|
|
# The same thing with btrfs and disk spezified by pci path to disk 1:0 on vmware |
|
|
|
|
__filesystem dev_sdb --fstype btrfs --device /dev/disk/by-path/pci-0000:0b:00.0-scsi-0:0:0:0 --label Testdisk2 |
|
|
|
|