Public bug reported:

When creating a pool with the -t option on Ubuntu 18.04 LTS, it will
report an error and return a non-zero exit code, but the pool appears to
be successfully created.

For example:

# zpool create -O canmount=off -O mountpoint=none -R /mnt/rpool-25582 -t 
rpool-25582 rpool /dev/mapper/loop2p1
cannot create 'rpool': no such pool or dataset
# zpool list
NAME          SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
rpool-25582  69.5G  92.5K  69.5G         -     0%     0%  1.00x  ONLINE  
/mnt/rpool-25582
# zpool export rpool-25582
# zpool import rpool
# zpool list
NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
rpool  69.5G   134K  69.5G         -     0%     0%  1.00x  ONLINE  -

I opened an upstream bug against ZFS on Linux, here:
https://github.com/zfsonlinux/zfs/issues/7502

And it has been recently fixed, here:
https://github.com/zfsonlinux/zfs/pull/7509

Can this upstream fix be pulled into the Ubuntu 18.04 LTS packages?

Thanks,
Prakash

** Affects: zfs-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769937

Title:
  Error reported when creating ZFS pool with "-t" option, despite
  successful pool creation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1769937/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to