-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weird bug in creating pool #5075
Comments
--Using a slightly different test environment (vmware workstation 11.1.4 for Linux) and Ubuntu 16.04.1--LTS-64, I do not get an error when doing virtually the same command: $ zpool create -m "/media/test" "test" raidz1 $ df --Package version: --Kernel: --I pre-labeled the disks with a GPT label (even re-using disks from a previous test pool after running 'zpool labelclear' on them) and it worked fine... vSCSI Disk size is 1200MB, I have 2GB RAM and 2 vCPUs allocated to the VM. (example commandline GPT label) --In fact, I replicated your exact command to the best of my ability and even threw in some debugging, and it is working fine for me: zpool create -m "/media/test" "test" raidz1 pci-0000:02:05.0-scsi-0:0:0:0 pci-0000:02:05.0-scsi-0:0:1:0 pci-0000:02:05.0-scsi-0:0:2:0 pci-0000:02:05.0-scsi-0:0:3:0 && echo '1' && zpool export test && echo '2' && zpool import test && echo '3'1 --The only thing I can think of to recommend is that you try: |
After trying Ubuntu 16.04 with same hypervisor (qemu) (only os change) |
Likey caused by a non-empty mountpoint, closing. |
zpool create -m "/media/test" "test" raidz1 ata-QEMU_HARDDISK_QM00004 ata-QEMU_HARDDISK_QM00003 ata-QEMU_HARDDISK_QM00002 ata-QEMU_HARDDISK_QM00001 && zpool export test && zpool import test
not workszpool create "test" raidz1 ata-QEMU_HARDDISK_QM00004 ata-QEMU_HARDDISK_QM00003 ata-QEMU_HARDDISK_QM00002 ata-QEMU_HARDDISK_QM00001 && zpool export test && zpool import test
worksonly difference is changing mountpoint
If you curious why I export and import after create
It is because there is issue, when create new pool, blkid dosen't show properly. so I have to fix that with export and import
version info
ii debian-zfs 7~jessie amd64 Native ZFS filesystem metapackage for Debian.
ii libzfs2 0.6.5.7-8-jessie amd64 Native ZFS filesystem library for Linux
ii openmediavault-zfs 3.0.3 amd64 OpenMediaVault plugin for ZFS
ii zfs-dkms 0.6.5.7-8-jessie all Native ZFS filesystem kernel modules for Linux
ii zfsonlinux 8 all archive.zfsonlinux.org trust package
ii zfsutils 0.6.5.7-8-jessie amd64 command-line tools to manage ZFS filesystems
The text was updated successfully, but these errors were encountered: