summaryrefslogtreecommitdiffstats
path: root/commands/storage/lmi
Commit message (Collapse)AuthorAgeFilesLines
* Fixed 'lmi storage mount delete <target>'Jan Safranek2014-04-081-0/+9
|
* Fixed 'lmi mount create' command.Jan Safranek2014-04-071-8/+0
| | | | It does _not_ accept list of devices.
* Allow 'lmi storage mount list|show|delete <directory>'.Jan Safranek2014-03-171-18/+34
| | | | | This resolves tickets #296 and #281.
* storage: correctly report mounting errorsJan Synacek2014-03-071-3/+2
|
* storage: list thinly provisioned devices in provides/dependsJan Synacek2014-03-071-0/+18
|
* storage: list thinly provisioned devices in storage treeJan Synacek2014-03-072-4/+15
|
* storage: dirty checks for thin provisioning supportJan Synacek2014-02-261-2/+11
| | | | Resolves trac tickets 276 and 277
* Merge pull request #63 from jsynacek/develMichal Minar2014-02-251-1/+1
|\ | | | | storage: fix mount list
| * storage: fix mount listJan Synacek2014-02-251-1/+1
| |
* | Fixed typo in 'lmi storage raid'.Jan Safranek2014-02-241-3/+3
|/
* don't distinguish between options and other optionsJan Synacek2014-02-212-46/+24
| | | | | | | In the CIM model, these two are separated, as options are represented by properties, and other options (file dependent) are specified in a special property. The script should make using all options transparent and not consider them two separate inputs.
* Merge pull request #57 from jsafrane/devel/storage-docMichal Minar2014-02-214-4/+4
|\ | | | | Storage + account doc updates v2
| * Update script documentation with 'storage' multiplexer.Jan Safranek2014-02-194-4/+4
| |
* | add thin provisioning scriptsJan Synacek2014-02-205-0/+384
| |
* | Merge pull request #51 from jsafrane/devel/luksMichal Minar2014-02-203-0/+410
|\| | | | | Add LUKS scripts.
| * Add LUKS scripts.Jan Safranek2014-02-183-0/+410
| |
* | Commands for VGs and LVs should not work for thin versions.Jan Synacek2014-02-181-1/+5
|/
* Do not show DeviceID in lists.Jan Safranek2014-02-177-50/+18
| | | | | | | | DeviceID is internal OpenLMI ID to identify block devices. It's quite long and most admins will use '/dev/sda' (or just 'sda') anyway, so let's remove it from all 'list' commands output. 'show' command will show it, if anybody is interested.
* Introduce 'lmi storage' multiplexer.Jan Safranek2014-02-179-140/+248
| | | All storage commands are now under 'lmi storage'.
* turned logging messages into sentencesMichal Minar2014-02-132-6/+6
| | | | | Which means that all messages have first letter uppercased and are terminated with a dot.
* Added heuristics to translate device names to full device paths.Jan Safranek2014-02-101-3/+23
| | | | | 'mount create <device>' should follow the same rules as other storage commands - <device> can be DeviceID or various /dev/disk/by-id, /dev/disk/by-uuid paths.
* Fixed 'lmi mount delete', there is no '<device>' argument.Jan Safranek2014-02-101-8/+0
|
* Updated copyright yearPeter Schiffer2014-01-2918-18/+18
|
* Show better error message when mount fails.Jan Safranek2014-01-211-2/+4
|
* Add [device] option to 'lmi mount show' and 'list'.Jan Safranek2014-01-211-8/+61
|
* Show file system names in lower case.Jan Safranek2014-01-211-1/+2
|
* Add option descriptions to storage commands.Jan Safranek2014-01-216-4/+121
| | | | | All commands should have description of all arguments in its help, nobody seems to read documentation.
* Unify storage command descriptions.Jan Safranek2014-01-212-2/+2
|
* Remove debug print.Jan Safranek2014-01-211-1/+0
|
* Add partition table type to 'lmi partition-table list'.Jan Safranek2014-01-211-2/+13
|
* Fixed get_largest_partition_size() showing WARNING message.Jan Safranek2014-01-171-0/+5
| | | | | | | | | Do not show warning for NotEnoughFreeSpace return code, it's not any error condition, the disk is just full. Resolves: ticket #218
* Add tests for 'lmi storage' and 'lmi mount'.Jan Safranek2013-11-191-1/+1
| | | Also fix discovered errors.
* Fixed retieval of logical partitions.Jan Safranek2013-11-191-1/+1
|
* Fixed several bugs in lmi partition metacommand.Jan Safranek2013-11-192-1/+5
|
* Fixed "lmi raid create" throwing error on parsing RAID level.Jan Safranek2013-11-191-1/+1
|
* Fixed import of formatter commands.Jan Safranek2013-11-191-1/+1
|
* Fixed str2size returning 'long' instead of 'int'.Jan Safranek2013-11-191-1/+1
|
* Fixed 'lmi lv create' command crashing when reading VG extent size.Jan Safranek2013-11-191-2/+2
|
* Fixed crashing create_vg with nozero extent size.Jan Safranek2013-11-191-0/+1
|
* Fixed filesystem deletion - it's asynchronous operation.Jan Safranek2013-11-181-1/+1
|
* Fixed typosJan Safranek2013-09-301-3/+3
|
* moved formatter commands to their own moduleMichal Minar2013-09-177-14/+17
|
* storage: fix file headerJan Synacek2013-09-131-1/+1
|
* Skip CIM_Memory devices, they don't represent storage.Jan Safranek2013-09-031-0/+5
| | | | | DMTF defines CIM_Memory as subclass of CIM_StorageExtent, but we should not show it as storage device.
* Rename 'lmi devices' to 'lmi storage'Jan Safranek2013-09-031-3/+3
|
* Fixed 'device tree', 'device depends' and 'device provides' with logical ↵Jan Safranek2013-09-024-3/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | partitions. Before: $ device depends /dev/sda5 DeviceID Name ElementName /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-4 /dev/sda4 sda4 $ device tree /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0 /dev/sda sda 1024M MS-DOS partition table ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part1 /dev/sda1 sda1 94M ext4 ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part2 /dev/sda2 sda2 95M Unknown ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part3 /dev/sda3 sda3 94M Unknown └─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part4 /dev/sda4 sda4 1024 Unknown ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part5 /dev/sda5 sda5 93M Unknown ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part6 /dev/sda6 sda6 95M Unknown └─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part7 /dev/sda7 sda7 94M Unknown After: $ device depends /dev/sda5 DeviceID Name ElementName /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0 /dev/sda sda $ device tree /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0 /dev/sda sda 1024M MS-DOS partition table ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part1 /dev/sda1 sda1 94M ext4 ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part2 /dev/sda2 sda2 95M Unknown ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part3 /dev/sda3 sda3 94M Unknown ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part4 /dev/sda4 sda4 1024 Unknown ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part5 /dev/sda5 sda5 93M Unknown ├─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part6 /dev/sda6 sda6 95M Unknown └─/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-part7 /dev/sda7 sda7 94M Unknown
* storage: fix 'device list'Jan Synacek2013-09-021-1/+4
|
* storage: mounting scripts fixesJan Synacek2013-09-022-116/+133
|
* storage: add mounting scriptsJan Synacek2013-09-022-0/+358
|
* formatting options moved to ConfigurationMichal Minar2013-08-306-17/+21
| | | | | | | | | Also --csv parameter made into --lister-format. Made help more synoptical - arguments grouped by context. Correctly handle boolean values when overriding configuration options with regard to None parameter.