Skip to content

Commit

Permalink
Issue openmediavault#1763: Allow creating logical volumes even if a f…
Browse files Browse the repository at this point in the history
…ile system signature is detected

Fixes: openmediavault#1763
Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed May 13, 2024
1 parent f872fd2 commit c440092
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deb/openmediavault/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
openmediavault (7.1.1-1) stable; urgency=low

* Issue #1763: Allow creating logical volumes even if a file
system signature is detected.

-- Volker Theile <volker.theile@openmediavault.org> Mon, 13 May 2024 19:09:22 +0200

openmediavault (7.1.0-2) stable; urgency=low

* Update locale files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ class StorageDeviceLvm extends StorageDeviceDM {
*/
public static function create($name, $size, $vgName) {
$cmdArgs = [];
$cmdArgs[] = "--yes";
$cmdArgs[] = sprintf("--name %s", escapeshellarg($name));
$cmdArgs[] = sprintf("--extents %d%%VG", $size);
$cmdArgs[] = escapeshellarg($vgName);
Expand Down

0 comments on commit c440092

Please sign in to comment.