Public bug reported:

System:

ubuntu: 16.04
zfsutils-linux: 0.6.5.6-0ubuntu8

Create sparse files and create pool:

root@server:/# fallocate -l 100G /web/lxd/100gb.01
root@server:/# fallocate -l 100G /web/lxd/100gb.02
root@server:/# zpool create lxd /web/lxd/100gb.01
root@server:/# zpool add lxd /web/lxd/100gb.02

Check:

root@server:/# zpool list
NAME   SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
lxc    199G    77K   199G         -     0%     0%  1.00x  ONLINE  -

After reboot:

root@server:/etc/apt# zpool list
no pools available

Try to create another pool with that files:

root@server:/# zpool create lxc /web/lxd/100gb.01 /web/lxd/100gb.02
invalid vdev specification
use '-f' to override the following errors:
/web/lxd/100gb.01 is part of potentially active pool 'lxd'
/web/lxd/100gb.02 is part of potentially active pool 'lxd'

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: zfsutils-linux 0.6.5.6-0ubuntu8
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl nvidia_uvm 
nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Sun May 15 05:53:51 2016
InstallationDate: Installed on 2016-04-21 (23 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug xenial

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

Title:
  Pools get lots on reboot

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

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

Reply via email to