storage/mount-devices¶
Attached Storage Devices to Mount
Mount Attached Storage¶
Ordered list of of devices to attempt mounting from the OS.
storage/mount-devices task will attempt to mount all the drives
in the list in in order. If the desired mount point is already
in use then the code will skip attempting to assign it.
This design allows operators to specific multiple mount points or have a single point with multiple potential configurations.
- rebuilt will wide and rebuild the mount
- reset will
rm -rfall files if UUID changes
Example:
[
{
disk: "/dev/mmcblk0",
partition: "/dev/mmcblkp1",
mount: "/mnt/storage",
type: "xfs",
rebuild: true,
reset: true,
comment: "example"
}
{
disk: "/dev/sda",
partition: "/dev/sda1",
mount: "/mnt/storage",
type: "xfs",
rebuild: true,
reset: true,
comment: "put something here"
}
]
Objects that Reference storage/mount-devices¶
- tasks storage-mount-devices in Core Task Library v4.15.12-root.2+gba7b0365f30b7a9b6d48ef22fbbd24bba9d27f42 as part of Templates.[0].Contents (used)
Objects used by storage/mount-devices¶
Not used in current content packs