CDIST-TYPE__FILESYSTEM(7) | cdist | CDIST-TYPE__FILESYSTEM(7) |
cdist-type__filesystem - Create Filesystems.
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 if you have specified --force option.
For example:
/dev/sdx or /dev/disk/by-xxxx/xxx or /dev/mapper/xxxx
# 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 # Make sure that a multipath san device has a filesystem ... __filesystem dev_sdb --fstype xfs --device /dev/mapper/360060e80432f560050202f22000023ff --label Testdisk3
Daniel Heule <hda--@--sfs.biz>
Copyright (C) 2016 Daniel Heule. Free use of this software is granted under the terms of the GNU General Public License version 3 or any later version (GPLv3+).
ungleich GmbH 2021
January 15, 2023 | 7.0.0 |