Skip to content

Commit

Permalink
Use the volume group name instead of the device file to create a logi…
Browse files Browse the repository at this point in the history
…cal volume.

Note, the vg device file only exists after the lv has been created.

Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed Jun 14, 2017
1 parent d17acb2 commit 0b32030
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions deb/openmediavault-lvm2/debian/changelog
@@ -1,3 +1,9 @@
openmediavault-lvm2 (3.2.2) stable; urgency=low

* Mantis 0001761: Can not create a lv.

-- Volker Theile <volker.theile@openmediavault.org> Wed, 14 Jun 2017 08:05:25 +0200

openmediavault-lvm2 (3.2.1) stable; urgency=low

* Update locales.
Expand Down
2 changes: 1 addition & 1 deletion deb/openmediavault-lvm2/debian/control
Expand Up @@ -9,7 +9,7 @@ Homepage: http://www.openmediavault.org

Package: openmediavault-lvm2
Architecture: all
Depends: openmediavault (>= 3.0.72), lvm2
Depends: openmediavault (>= 3.0.80), lvm2
Priority: optional
Description: OpenMediaVault Logical Volume Manager (LVM2) plugin
LVM supports enterprise level volume management of disk and disk subsystems
Expand Down
Expand Up @@ -76,7 +76,7 @@ Ext.define("OMV.module.admin.storage.lvm.lv.Create", {
model: OMV.data.Model.createImplicit({
idProperty: "devicefile",
fields: [
{ name: "devicefile", type: "string" },
{ name: "name", type: "string" },
{ name: "description", type: "string" },
{ name: "free", type: "string" }
]
Expand All @@ -91,11 +91,11 @@ Ext.define("OMV.module.admin.storage.lvm.lv.Create", {
},
sorters: [{
direction: "ASC",
property: "devicefile"
property: "name"
}]
}),
displayField: "description",
valueField: "devicefile",
valueField: "name",
allowBlank: false,
editable: false,
triggerAction: "all",
Expand Down

0 comments on commit 0b32030

Please sign in to comment.