1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[SOLVED] Failed To Import Pool 'rpool'

Discussion in 'Proxmox VE: Installation and configuration' started by mhayhurst, Oct 23, 2016.

Tags:
  1. fabian

    fabian Proxmox Staff Member
    Staff Member

    Joined:
    Jan 7, 2016
    Messages:
    2,113
    Likes Received:
    241
    what does "/sbin/zpool import" show? is it any different than "/sbin/zpool/import -d /dev/disk/by-id" ? (both only scan for pools that can be imported, but don't import anything)
     
  2. dlasher

    dlasher Member

    Joined:
    Mar 23, 2011
    Messages:
    101
    Likes Received:
    3
  3. dlasher

    dlasher Member

    Joined:
    Mar 23, 2011
    Messages:
    101
    Likes Received:
    3
    updated everything to latest versions, still failing. :(


    Code:
    root@pmx1:~# pveversion -v
    proxmox-ve: 4.3-71 (running kernel: 4.4.21-1-pve)
    pve-manager: 4.3-10 (running version: 4.3-10/7230e60f)
    pve-kernel-4.4.21-1-pve: 4.4.21-71
    pve-kernel-4.4.19-1-pve: 4.4.19-66
    lvm2: 2.02.116-pve3
    corosync-pve: 2.4.0-1
    libqb0: 1.0-1
    pve-cluster: 4.0-47
    qemu-server: 4.0-94
    pve-firmware: 1.1-10
    libpve-common-perl: 4.0-80
    libpve-access-control: 4.0-19
    libpve-storage-perl: 4.0-68
    pve-libspice-server1: 0.12.8-1
    vncterm: 1.2-1
    pve-docs: 4.3-14
    pve-qemu-kvm: 2.7.0-6
    pve-container: 1.0-81
    pve-firewall: 2.0-31
    pve-ha-manager: 1.0-35
    ksm-control-daemon: 1.2-1
    glusterfs-client: 3.5.2-2+deb8u2
    lxc-pve: 2.0.5-1
    lxcfs: 2.0.4-pve2
    criu: 1.6.0-1
    novnc-pve: 0.5-8
    smartmontools: 6.5+svn4324-1~pve80
    zfsutils: 0.6.5.8-pve13~bpo80
    
     
  4. fabian

    fabian Proxmox Staff Member
    Staff Member

    Joined:
    Jan 7, 2016
    Messages:
    2,113
    Likes Received:
    241
    okay, that seems rather strange.. usually it's the opposite way (disk-by-id not working because of missing links). could you post the output of
    "ls -l /dev/disk/by-id" and "ls -l /dev/" when dropped to the initramfs shell? note that since you are able to import the pool and boot afterwards, you should be able to save the output by redirecting it to a file in /run/... which will stay around until rebooting (so no need for screenshots or photos ;)).

    another thing that I'd like to check is whether a cachefile exists in the initramfs and/or the host (check for "/etc/zfs/zpool.cache" in the initramfs shell and when booted).

    finally, did you already try regenerating the initramfs with "update-intiramfs -u" ?
     
  5. dlasher

    dlasher Member

    Joined:
    Mar 23, 2011
    Messages:
    101
    Likes Received:
    3
    As requested:

    Code:
    root@pmx1:/run# more by.id.txt
    
    total 0
    
    lrwxrwxrwx  1 0  0  9 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX -> ../../sdd
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part1 -> ../../sdd1
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part2 -> ../../sdd2
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part9 -> ../../sdd9
    
    lrwxrwxrwx  1 0  0  9 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX -> ../../sdc
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part1 -> ../../sdc1
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part2 -> ../../sdc2
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part9 -> ../../sdc9
    
    lrwxrwxrwx  1 0  0  9 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX -> ../../sdb
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part1 -> ../../sdb1
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part2 -> ../../sdb2
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part9 -> ../../sdb9
    
    lrwxrwxrwx  1 0  0  9 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX -> ../../sda
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part1 -> ../../sda1
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part2 -> ../../sda2
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 ata-ST3500418AS_XXXXXXXX-part9 -> ../../sda9
    
    lrwxrwxrwx  1 0  0  9 Nov 28 15:55 wwn-0x5000c5002022c6ae -> ../../sdc
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c5002022c6ae-part1 -> ../../sdc1
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c5002022c6ae-part2 -> ../../sdc2
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c5002022c6ae-part9 -> ../../sdc9
    
    lrwxrwxrwx  1 0  0  9 Nov 28 15:55 wwn-0x5000c50022379f0c -> ../../sdd
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c50022379f0c-part1 -> ../../sdd1
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c50022379f0c-part2 -> ../../sdd2
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c50022379f0c-part9 -> ../../sdd9
    
    lrwxrwxrwx  1 0  0  9 Nov 28 15:55 wwn-0x5000c50026c72baf -> ../../sdb
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c50026c72baf-part1 -> ../../sdb1
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c50026c72baf-part2 -> ../../sdb2
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c50026c72baf-part9 -> ../../sdb9
    
    lrwxrwxrwx  1 0  0  9 Nov 28 15:55 wwn-0x5000c5003fa3b51f -> ../../sda
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c5003fa3b51f-part1 -> ../../sda1
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c5003fa3b51f-part2 -> ../../sda2
    
    lrwxrwxrwx  1 0  0  10 Nov 28 15:55 wwn-0x5000c5003fa3b51f-part9 -> ../../sda9
    
     
    #25 dlasher, Nov 28, 2016
    Last edited: Nov 28, 2016
  6. dlasher

    dlasher Member

    Joined:
    Mar 23, 2011
    Messages:
    101
    Likes Received:
    3
    and..

    Code:
    root@pmx1:/run# more dev.txt
    total 0
    drwxr-xr-x  2 0  0  840 Nov 28 15:55 block
    drwxr-xr-x  2 0  0  120 Nov 28 15:55 bsg
    crw-------  1 0  0  10, 234 Nov 28 15:55 btrfs-control
    drwxr-xr-x  3 0  0  60 Nov 28 15:54 bus
    drwxr-xr-x  2 0  0  3200 Nov 28 15:55 char
    crw-------  1 0  0  5,  1 Nov 28 15:54 console
    lrwxrwxrwx  1 0  0  11 Nov 28 15:54 core -> /proc/kcore
    drwxr-xr-x  2 0  0  60 Nov 28 15:54 cpu
    crw-------  1 0  0  10,  59 Nov 28 15:54 cpu_dma_latency
    drwxr-xr-x  5 0  0  100 Nov 28 15:55 disk
    crw-------  1 0  0  10,  61 Nov 28 15:54 ecryptfs
    lrwxrwxrwx  1 0  0  13 Nov 28 15:54 fd -> /proc/self/fd
    crw-rw-rw-  1 0  0  1,  7 Nov 28 15:54 full
    crw-rw-rw-  1 0  0  10, 229 Nov 28 15:54 fuse
    crw-------  1 0  0  247,  0 Nov 28 15:54 hidraw0
    crw-------  1 0  0  247,  1 Nov 28 15:54 hidraw1
    crw-------  1 0  0  10, 228 Nov 28 15:54 hpet
    crw-------  1 0  0  10, 183 Nov 28 15:54 hwrng
    drwxr-xr-x  2 0  0  160 Nov 28 15:54 input
    crw-r--r--  1 0  0  1,  11 Nov 28 15:54 kmsg
    drwxr-xr-x  2 0  0  60 Nov 28 15:54 lightnvm
    crw-------  1 0  0  10, 237 Nov 28 15:54 loop-control
    brw-------  1 0  0  7,  0 Nov 28 15:54 loop0
    brw-------  1 0  0  7,  1 Nov 28 15:54 loop1
    brw-------  1 0  0  7,  2 Nov 28 15:54 loop2
    brw-------  1 0  0  7,  3 Nov 28 15:54 loop3
    brw-------  1 0  0  7,  4 Nov 28 15:54 loop4
    brw-------  1 0  0  7,  5 Nov 28 15:54 loop5
    brw-------  1 0  0  7,  6 Nov 28 15:54 loop6
    brw-------  1 0  0  7,  7 Nov 28 15:54 loop7
    drwxr-xr-x  2 0  0  60 Nov 28 15:54 mapper
    crw-------  1 0  0  10, 227 Nov 28 15:54 mcelog
    crw-r-----  1 0  0  1,  1 Nov 28 15:54 mem
    crw-------  1 0  0  10,  56 Nov 28 15:54 memory_bandwidth
    drwxr-xr-x  2 0  0  60 Nov 28 15:54 net
    crw-------  1 0  0  10,  58 Nov 28 15:54 network_latency
    crw-------  1 0  0  10,  57 Nov 28 15:54 network_throughput
    crw-rw-rw-  1 0  0  1,  3 Nov 28 15:54 null
    crw-r-----  1 0  0  1,  4 Nov 28 15:54 port
    crw-------  1 0  0  108,  0 Nov 28 15:54 ppp
    crw-------  1 0  0  10,  1 Nov 28 15:54 psaux
    crw-rw-rw-  1 0  0  5,  2 Nov 28 15:54 ptmx
    drwxr-xr-x  2 0  0  0 Nov 28 15:54 pts
    brw-------  1 0  0  1,  0 Nov 28 15:54 ram0
    brw-------  1 0  0  1,  1 Nov 28 15:54 ram1
    brw-------  1 0  0  1,  10 Nov 28 15:54 ram10
    brw-------  1 0  0  1,  11 Nov 28 15:54 ram11
    brw-------  1 0  0  1,  12 Nov 28 15:54 ram12
    brw-------  1 0  0  1,  13 Nov 28 15:54 ram13
    brw-------  1 0  0  1,  14 Nov 28 15:54 ram14
    brw-------  1 0  0  1,  15 Nov 28 15:54 ram15
    brw-------  1 0  0  1,  2 Nov 28 15:54 ram2
    brw-------  1 0  0  1,  3 Nov 28 15:54 ram3
    brw-------  1 0  0  1,  4 Nov 28 15:54 ram4
    brw-------  1 0  0  1,  5 Nov 28 15:54 ram5
    brw-------  1 0  0  1,  6 Nov 28 15:54 ram6
    brw-------  1 0  0  1,  7 Nov 28 15:54 ram7
    brw-------  1 0  0  1,  8 Nov 28 15:54 ram8
    brw-------  1 0  0  1,  9 Nov 28 15:54 ram9
    crw-rw-rw-  1 0  0  1,  8 Nov 28 15:54 random
    crw-rw-r--  1 0  0  10,  62 Nov 28 15:54 rfkill
    lrwxrwxrwx  1 0  0  4 Nov 28 15:54 rtc -> rtc0
    crw-------  1 0  0  251,  0 Nov 28 15:54 rtc0
    brw-------  1 0  0  8,  0 Nov 28 15:55 sda
    brw-------  1 0  0  8,  1 Nov 28 15:55 sda1
    brw-------  1 0  0  8,  2 Nov 28 15:55 sda2
    brw-------  1 0  0  8,  9 Nov 28 15:55 sda9
    brw-------  1 0  0  8,  16 Nov 28 15:55 sdb
    brw-------  1 0  0  8,  17 Nov 28 15:55 sdb1
    brw-------  1 0  0  8,  18 Nov 28 15:55 sdb2
    brw-------  1 0  0  8,  25 Nov 28 15:55 sdb9
    brw-------  1 0  0  8,  32 Nov 28 15:55 sdc
    brw-------  1 0  0  8,  33 Nov 28 15:55 sdc1
    brw-------  1 0  0  8,  34 Nov 28 15:55 sdc2
    brw-------  1 0  0  8,  41 Nov 28 15:55 sdc9
    brw-------  1 0  0  8,  48 Nov 28 15:55 sdd
    brw-------  1 0  0  8,  49 Nov 28 15:55 sdd1
    brw-------  1 0  0  8,  50 Nov 28 15:55 sdd2
    brw-------  1 0  0  8,  57 Nov 28 15:55 sdd9
    crw-------  1 0  0  21,  0 Nov 28 15:55 sg0
    crw-------  1 0  0  21,  1 Nov 28 15:55 sg1
    crw-------  1 0  0  21,  2 Nov 28 15:54 sg2
    crw-------  1 0  0  21,  3 Nov 28 15:55 sg3
    crw-------  1 0  0  10, 231 Nov 28 15:54 snapshot
    lrwxrwxrwx  1 0  0  15 Nov 28 15:54 stderr -> /proc/self/fd/2
    lrwxrwxrwx  1 0  0  15 Nov 28 15:54 stdin -> /proc/self/fd/0
    lrwxrwxrwx  1 0  0  15 Nov 28 15:54 stdout -> /proc/self/fd/1
    crw-rw-rw-  1 0  0  5,  0 Nov 28 15:54 tty
    crw--w----  1 0  0  4,  0 Nov 28 15:54 tty0
    crw--w----  1 0  0  4,  1 Nov 28 15:54 tty1
    crw--w----  1 0  0  4,  10 Nov 28 15:54 tty10
    crw--w----  1 0  0  4,  11 Nov 28 15:54 tty11
    crw--w----  1 0  0  4,  12 Nov 28 15:54 tty12
    crw--w----  1 0  0  4,  13 Nov 28 15:54 tty13
    crw--w----  1 0  0  4,  14 Nov 28 15:54 tty14
    crw--w----  1 0  0  4,  15 Nov 28 15:54 tty15
    crw--w----  1 0  0  4,  16 Nov 28 15:54 tty16
    crw--w----  1 0  0  4,  17 Nov 28 15:54 tty17
    crw--w----  1 0  0  4,  18 Nov 28 15:54 tty18
    crw--w----  1 0  0  4,  19 Nov 28 15:54 tty19
    crw--w----  1 0  0  4,  2 Nov 28 15:54 tty2
    crw--w----  1 0  0  4,  20 Nov 28 15:54 tty20
    crw--w----  1 0  0  4,  21 Nov 28 15:54 tty21
    crw--w----  1 0  0  4,  22 Nov 28 15:54 tty22
    crw--w----  1 0  0  4,  23 Nov 28 15:54 tty23
    crw--w----  1 0  0  4,  24 Nov 28 15:54 tty24
    crw--w----  1 0  0  4,  25 Nov 28 15:54 tty25
    crw--w----  1 0  0  4,  26 Nov 28 15:54 tty26
    crw--w----  1 0  0  4,  27 Nov 28 15:54 tty27
    crw--w----  1 0  0  4,  28 Nov 28 15:54 tty28
    crw--w----  1 0  0  4,  29 Nov 28 15:54 tty29
    crw--w----  1 0  0  4,  3 Nov 28 15:54 tty3
    crw--w----  1 0  0  4,  30 Nov 28 15:54 tty30
    crw--w----  1 0  0  4,  31 Nov 28 15:54 tty31
    crw--w----  1 0  0  4,  32 Nov 28 15:54 tty32
    crw--w----  1 0  0  4,  33 Nov 28 15:54 tty33
    crw--w----  1 0  0  4,  34 Nov 28 15:54 tty34
    crw--w----  1 0  0  4,  35 Nov 28 15:54 tty35
    crw--w----  1 0  0  4,  36 Nov 28 15:54 tty36
    crw--w----  1 0  0  4,  37 Nov 28 15:54 tty37
    crw--w----  1 0  0  4,  38 Nov 28 15:54 tty38
    crw--w----  1 0  0  4,  39 Nov 28 15:54 tty39
    crw--w----  1 0  0  4,  4 Nov 28 15:54 tty4
    crw--w----  1 0  0  4,  40 Nov 28 15:54 tty40
    crw--w----  1 0  0  4,  41 Nov 28 15:54 tty41
    crw--w----  1 0  0  4,  42 Nov 28 15:54 tty42
    crw--w----  1 0  0  4,  43 Nov 28 15:54 tty43
    crw--w----  1 0  0  4,  44 Nov 28 15:54 tty44
    crw--w----  1 0  0  4,  45 Nov 28 15:54 tty45
    crw--w----  1 0  0  4,  46 Nov 28 15:54 tty46
    crw--w----  1 0  0  4,  47 Nov 28 15:54 tty47
    crw--w----  1 0  0  4,  48 Nov 28 15:54 tty48
    crw--w----  1 0  0  4,  49 Nov 28 15:54 tty49
    crw--w----  1 0  0  4,  5 Nov 28 15:54 tty5
    crw--w----  1 0  0  4,  50 Nov 28 15:54 tty50
    crw--w----  1 0  0  4,  51 Nov 28 15:54 tty51
    crw--w----  1 0  0  4,  52 Nov 28 15:54 tty52
    crw--w----  1 0  0  4,  53 Nov 28 15:54 tty53
    crw--w----  1 0  0  4,  54 Nov 28 15:54 tty54
    crw--w----  1 0  0  4,  55 Nov 28 15:54 tty55
    crw--w----  1 0  0  4,  56 Nov 28 15:54 tty56
    crw--w----  1 0  0  4,  57 Nov 28 15:54 tty57
    crw--w----  1 0  0  4,  58 Nov 28 15:54 tty58
    crw--w----  1 0  0  4,  59 Nov 28 15:54 tty59
    crw--w----  1 0  0  4,  6 Nov 28 15:54 tty6
    crw--w----  1 0  0  4,  60 Nov 28 15:54 tty60
    crw--w----  1 0  0  4,  61 Nov 28 15:54 tty61
    crw--w----  1 0  0  4,  62 Nov 28 15:54 tty62
    crw--w----  1 0  0  4,  63 Nov 28 15:54 tty63
    crw--w----  1 0  0  4,  7 Nov 28 15:54 tty7
    crw--w----  1 0  0  4,  8 Nov 28 15:54 tty8
    crw--w----  1 0  0  4,  9 Nov 28 15:54 tty9
    crw-------  1 0  0  4,  64 Nov 28 15:54 ttyS0
    crw-------  1 0  0  4,  65 Nov 28 15:54 ttyS1
    crw-------  1 0  0  4,  74 Nov 28 15:54 ttyS10
    crw-------  1 0  0  4,  75 Nov 28 15:54 ttyS11
    crw-------  1 0  0  4,  76 Nov 28 15:54 ttyS12
    crw-------  1 0  0  4,  77 Nov 28 15:54 ttyS13
    crw-------  1 0  0  4,  78 Nov 28 15:54 ttyS14
    crw-------  1 0  0  4,  79 Nov 28 15:54 ttyS15
    crw-------  1 0  0  4,  80 Nov 28 15:54 ttyS16
    crw-------  1 0  0  4,  81 Nov 28 15:54 ttyS17
    crw-------  1 0  0  4,  82 Nov 28 15:54 ttyS18
    crw-------  1 0  0  4,  83 Nov 28 15:54 ttyS19
    crw-------  1 0  0  4,  66 Nov 28 15:54 ttyS2
    crw-------  1 0  0  4,  84 Nov 28 15:54 ttyS20
    crw-------  1 0  0  4,  85 Nov 28 15:54 ttyS21
    crw-------  1 0  0  4,  86 Nov 28 15:54 ttyS22
    crw-------  1 0  0  4,  87 Nov 28 15:54 ttyS23
    crw-------  1 0  0  4,  88 Nov 28 15:54 ttyS24
    crw-------  1 0  0  4,  89 Nov 28 15:54 ttyS25
    crw-------  1 0  0  4,  90 Nov 28 15:54 ttyS26
    crw-------  1 0  0  4,  91 Nov 28 15:54 ttyS27
    crw-------  1 0  0  4,  92 Nov 28 15:54 ttyS28
    crw-------  1 0  0  4,  93 Nov 28 15:54 ttyS29
    crw-------  1 0  0  4,  67 Nov 28 15:54 ttyS3
    crw-------  1 0  0  4,  94 Nov 28 15:54 ttyS30
    crw-------  1 0  0  4,  95 Nov 28 15:54 ttyS31
    crw-------  1 0  0  4,  68 Nov 28 15:54 ttyS4
    crw-------  1 0  0  4,  69 Nov 28 15:54 ttyS5
    crw-------  1 0  0  4,  70 Nov 28 15:54 ttyS6
    crw-------  1 0  0  4,  71 Nov 28 15:54 ttyS7
    crw-------  1 0  0  4,  72 Nov 28 15:54 ttyS8
    crw-------  1 0  0  4,  73 Nov 28 15:54 ttyS9
    crw-------  1 0  0  5,  3 Nov 28 15:54 ttyprintk
    crw-------  1 0  0  10, 223 Nov 28 15:54 uinput
    crw-rw-rw-  1 0  0  1,  9 Nov 28 15:54 urandom
    crw-------  1 0  0  7,  0 Nov 28 15:54 vcs
    crw-------  1 0  0  7,  1 Nov 28 15:54 vcs1
    crw-------  1 0  0  7, 128 Nov 28 15:54 vcsa
    crw-------  1 0  0  7, 129 Nov 28 15:54 vcsa1
    crw-------  1 0  0  10,  63 Nov 28 15:54 vga_arbiter
    crw-rw-rw-  1 0  0  1,  5 Nov 28 15:54 zero
    crw-------  1 0  0  10,  55 Nov 28 15:55 zfs
    
     
  7. dlasher

    dlasher Member

    Joined:
    Mar 23, 2011
    Messages:
    101
    Likes Received:
    3
    and..

    Code:
    root@pmx1:/run# more zfs.txt
    /etc/zfs
    total 12
    drwxr-xr-x  3 0  0  0 Nov  2 16:19 .
    drwxr-xr-x  8 0  0  0 Nov  2 16:32 ..
    drwxr-xr-x  2 0  0  0 Nov  2 16:19 zed.d
    -rw-r--r--  1 0  0  9510 Oct 27 09:27 zfs-functions
    
     
  8. dlasher

    dlasher Member

    Joined:
    Mar 23, 2011
    Messages:
    101
    Likes Received:
    3
    Updated initramfs -- same results both in failure, and in directory contents.
     
  9. fabian

    fabian Proxmox Staff Member
    Staff Member

    Joined:
    Jan 7, 2016
    Messages:
    2,113
    Likes Received:
    241
    if you are willing to try some more stuff, although now it's more or less stabbing in the dark, you could try to scan for the pool using "zpool import -d /dev"? and could you post the kernel commandline ("cat /proc/cmdline")

    two more things that might be interesting:
    • booting with the kernel parameter "zfsdebug=1" (e.g., by editing the boot entry in the grub menu and adding the parameter to the line starting with "linux" and pressing the key combination shown on the bottom in order to boot it)
    • setting "ZPOOL_IMPORT_PATH" in /etc/default/zfs to "/dev/disk/by-vdev:/dev/disk/by-id" and regenerating the initramfs with "update-initramfs -u" to force mounting with IDs
     
  10. boneless

    boneless New Member

    Joined:
    Jan 24, 2017
    Messages:
    1
    Likes Received:
    0
    I was getting the same error.
    Clean install Proxmox VE 4.4 ZFS RAID0 with 1 disk (made this so I can upgrade to RAID1 later by adding another disk)

    Was fixed by:
    setting "ZPOOL_IMPORT_PATH" in /etc/default/zfs to "/dev/disk/by-vdev:/dev/disk/by-id" and regenerating the initramfs with "update-initramfs -u" to force mounting with IDs
     
  11. Baptiste M

    Baptiste M New Member

    Joined:
    Jan 4, 2017
    Messages:
    11
    Likes Received:
    0
    I put this here to be found by a guy that might have the problem I faced (server have 3 disks - dedibox PRO 2016.

    I faced the same issue with one server : busybox / rpool cannot be imported, zpool import shows nothing, zpool detect nothing even with a live CD etc.

    Solution :
    My server was previously configured with Linux RAID (mdadm etc.) ! I thought that the installer was reseting the disk but that was not the case !
    Linux was detecting the raid, using it, and blocking zfs operation.

    "mdadm --zero-superblock " all the disk, and everything run smooth.
     
  12. Iván Janeiro

    Iván Janeiro New Member

    Joined:
    Mar 14, 2017
    Messages:
    1
    Likes Received:
    0
    I tried this but dont work.
    I mean, when i boot in emergency the zpool import -aN /dev.... works, but when I boot again without emergency mode, it dont work.
    I´ve tried the rootdelay option too, but still failing.
    The zfsutils version is the 0.6.5.9-pve15 bpo80

    ¿What is going wrong?
     
  13. cy8cafe

    cy8cafe New Member

    Joined:
    Aug 24, 2017
    Messages:
    1
    Likes Received:
    0
    hi
    I got 'kernel panic' after reboot and i have regenerated the initramfs ("update-initramfs -u")
    "[ end Kernel panic - not syncing: VFS: Unable to mount root fs
    on unknown-block(0,0)"
    need help
    thanks
     

Share This Page