45Drives / cockpit-zfs-manager

Cockpit ZFS Manager is an interactive ZFS on Linux admin package for Cockpit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to create mirror pool with two drives of different sizes

GCTWorks opened this issue · comments

Bug Info
Summary: when creating a mirror pool with two drives of different sizes with the force option, the Storage Pool could not created error notification presents, and the pool is not created. However, if the zpool create -f mirror /dev/sda /dev/sdb command is executed from the terminal, it works just fine with the pool being manageable from the ZFS tab.

Steps to reproduce the behavior

  1. Go to the ZFS tab
  2. Click Create Storage Pool
  3. Give Name, select Mirror for Virtual Device, select the two disks of different sizes, check option to Forcefully create storage pool
  4. Click Create

Expected behavior
Pool should be created just like with the zpool command from terminal

Additional Information

  • System: Raspberry Pi 4B
  • OS: Ubuntu 22.04
  • cockpit: 264-1ubuntu0.22.04.1
  • cockpit-bridge: 264-1ubuntu0.22.04.1
  • cockpit-networkmanager: 264-1ubuntu0.22.04.1
  • cockpit-packagekit: 264-1ubuntu0.22.04.1
  • cockpit-storaged: 264-1ubuntu0.22.04.1
  • cockpit-system: 264-1ubuntu0.22.04.1
  • cockpit-ws: 264-1ubuntu0.22.04.1
  • cockpit-zfs-manager: 1.3.0-3focal