-
Don't run mkfs or dd using sudo (#5)
-
Fix mkfs operation (#1)
- Use correct datastore driver variables.
- Set MKFS_COMMAND in mkfs script.
- Add extra datastore options: MKFS_EXT_OPTS and MKFS_XFS_OPTS to configure common command line arguments for mkfs commands.
- Make lvcreate command non-interactive.
- Fix save_as operation.
-
Fix clone operations (#2)
- Use correct volume group source for dd operations.
- Don't attempt clone operation across different hosts.
- Make lvcreate command non-interactive.
-
Disable operations to avoid breaking user storage quotas. (#3)
- Disable cp operation. This operation is broken and fails when creating images in the datastore. When an image fails to initialise then users cannot delete the actual LV that is created.
- Disable clone operation. Any images created using this operation don't count towards user storage quotas.
- Add resize script, which just disables the resize operation. This just adds a message for users so they know they cannot resize their images in an LVM datastore.