45Drives / cockpit-zfs-manager

Cockpit ZFS Manager is an interactive ZFS on Linux admin package for Cockpit.
GNU Lesser General Public License v3.0
314 stars 26 forks source link

Pool replication marked with "Error" even though no error is reported #17

Open LuisCor opened 1 year ago

LuisCor commented 1 year ago

Bug Info Summary: Newly created mirrored pool reports as "Replication: Error" even though no errors are reported by zpool status.

Steps to reproduce the behavior:

  1. Created a new mirrored pool with command: sudo zpool create sharedDirectory mirror _deviceA_ _deviceB_
  2. Retrieved pool data with command: sudo zpool status With results:

    
    pool: sharedDirectory
    state: ONLINE
    config:
    
        NAME                                 STATE     READ WRITE CKSUM
        sharedDirectory                      ONLINE       0     0     0
          mirror-0                           ONLINE       0     0     0
            ata-deviceA  ONLINE       0     0     0
            ata-deviceB  ONLINE       0     0     0

errors: No known data errors



3. At the same time cockpit-zfs-manager reports the following:
![img1](https://user-images.githubusercontent.com/10038354/211210561-e493054e-b362-470c-8491-c80672e959bc.png)

**Additional Information**
OS: Ubuntu 22.04.1 LTS
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

(sorry if I'm missing something here and there is another place from where to get replication information from,  but I couldn't find any and believe me I researched. If zfs-manager gets replication status from another place please let me know and I'll confirm if the error is there to close this issue)
adlynch commented 1 year ago

(sorry if I'm missing something here and there is another place from where to get replication information from, but I couldn't find any and believe me I researched. If zfs-manager gets replication status from another place please let me know and I'll confirm if the error is there to close this issue)

In CHANGELOG.md, it references the use of znapzend. Install that via apt, and you should be off to the races.