[SOLVED] ZFS rpool beim Boot kann nicht eingehängt werden.

Yakuraku

Active Member
Sep 24, 2016
69
0
26
38
Hallo zusammen,

bei meinem Proxmox mit ZFS als root Filesystem, habe ich gestern Log und Cache partitionen hinzugefügt. Seitdem kann beim Boot der rpool nicht automatisch eingehängt werden, obwohl alle Geräte da sind. Im Detail findet er die Partionen sda2&sdc2 nicht, sda1&sdc1werden aber gefunden! Nach einem Manuellen "zfs import rpool -m" kann der Startvorgang fortgesetzt werden, und alle Disks&Partitionen sind im zpool!

Hier die ausgabe von zpool status:
Code:
  pool: rpool
state: ONLINE
  scan: resilvered 724M in 0h0m with 0 errors on Sun Jan 15 14:26:09 2017
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            sde2    ONLINE       0     0     0
            sdf     ONLINE       0     0     0
        logs
          mirror-1  ONLINE       0     0     0
            sda2    ONLINE       0     0     0
            sdc2    ONLINE       0     0     0
        cache
          sda1      ONLINE       0     0     0
          sdc1      ONLINE       0     0     0

sda&sdc sind SSD Platten
sde&sdf sind normale Platten.

Jemand eine Idee was hier schief geht?
 
bitte "pveversion -v" und genau fehlermeldung angeben.
 
Von den Fehlermeldungen habe ich 'Screenshots' beigefügt.

Ausgabe von pveversion -v
Code:
proxmox-ve: 4.4-76 (running kernel: 4.4.35-1-pve)
pve-manager: 4.4-1 (running version: 4.4-1/eb2d6f1e)
pve-kernel-4.4.35-1-pve: 4.4.35-76
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-48
qemu-server: 4.0-101
pve-firmware: 1.1-10
libpve-common-perl: 4.0-83
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-70
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-docs: 4.4-1
pve-qemu-kvm: 2.7.0-9
pve-container: 1.0-88
pve-firewall: 2.0-33
pve-ha-manager: 1.0-38
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.6-2
lxcfs: 2.0.5-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.8-pve13~bpo80
 

Attachments

  • WP_20170119_17_51_44_Pro.jpg
    WP_20170119_17_51_44_Pro.jpg
    226.1 KB · Views: 4
  • WP_20170119_17_54_13_Pro.jpg
    WP_20170119_17_54_13_Pro.jpg
    148.1 KB · Views: 4
  • WP_20170119_17_52_46_Pro.jpg
    WP_20170119_17_52_46_Pro.jpg
    139 KB · Views: 4
wenn du mit "-m" importierst, was sagt dann "zpool status" nach dem booten?

wie ich sehe versucht dein initramfs mit cachefile zu importieren, eventuell ist das cachefile falsch? du kannst versuchen, es mit "rm /etc/zfs/zpool.cache" zu löschen und anschließend dein initramfs neu generieren ("update-initramfs -u")
 
Dies Ausgabe aus dem Ersten Post ist nach "zpool import -m" und boot.
Habe schoneinmal versucht nach rm /etc/zfs/zpool.cache zu booten: Gleiche Fehlermeldung.

Werde später einmal versuchen ob das rm & update-initramfs zu einer Verbesserung führt.
 
Dies Ausgabe aus dem Ersten Post ist nach "zpool import -m" und boot.
Habe schoneinmal versucht nach rm /etc/zfs/zpool.cache zu booten: Gleiche Fehlermeldung.

Werde später einmal versuchen ob das rm & update-initramfs zu einer Verbesserung führt.

das zpool.cache file wird beim generieren in das initramfs kopiert, dh. ein einfaches löschen am host + reboot kann nichts ändern falls das problem daran liegt ;)

falls es mit neu generiertem initramfs immer noch nicht geht, wäre ein "lsblk" aus der initramfs shell eventuell hilfreich..
 
Ok, das Problem hat sich ohne das updaten des initramfs gelöst.

Hatte vor dem Neustart beide Log-Devices entfernt und wieder hinzugefügt, und ein zfs scrub durchgeführt. Neustart hat dann direkt funktioniert. :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!