Zpool corrupted Permanent error have been detected

Hello guys! ive been running truenas for about 3 months and today i realized that my server was down. it was giving me a Kernel panic not sycing (wo_vap) implies (wo_vap->va_mode == S_IFCHR)

after some trobbleshoot i made a USB with truenas and got in the shell. i could not use zpool import -f only zpool import -o readonly=on -f and zpool status -v gave me this:

the file in question is a nextcloud client monthly report php

since in still pretty new im stuck from what to do here, thanks for the help!

You have a non-redundant pool, so data loss is expected eventually. That has occurred.

If you have backups, you could try and restore the file. Otherwise, remove the file and rebuild your Docker configuration.


Not sure why you have a SLOG / "logs", nor why it is Mirrored on a non-redundant pool.

Further, a SLOG is only useful for NFS or iSCSI, generally not SMB or other uses. SLOG is not a write cache.

2 Likes

Thanks for the help, is there another way to delete the file instead of using zpool import -f? this command gives me a panic kernel and using zpool import -o readonly=on -f does not let me delete the file.

the reason for the SLOGS a mirrors on a non-redundant pool is inexperience. i would apreciate a better way to setup. i have 3 drives and i thought i could use the mirror for avoiding situations like this

You didn’t use a mirror on the actual storage.

Why did you even create a SLOG vdev? A mirror’s redundancy makes sense for your storage, not a secondary LOG. You can lose a SLOG, since it doesn’t contain irreplaceable data. You can’t afford to lose your actual storage pool.

Are you willing to start all over with a new pool? Does your current pool contain important data that you cannot lose?

1 Like

inexperience, i really didn’t understood how to setup properly.

there is some data that i would like to keep, but i gonna try to use a Linux USB drive to move some data out of the NAS. but after that i don’t have any problem in starting over again.

to be honest its a good move to start over since the first time i was kind of stumbling to make it work, now i have some kind of experience and would like to set things properly

You can import the pool readonly, which you know how to do, and then copy over irreplaceable files to another storage location.

This can be done in TrueNAS or any Linux live session.

1 Like

Just a update post and asking for help a new setup. after all is done i got a USB stick with Ubuntu live session and a external HDD imported my truenas data backup to the HDD and made a fresh install of the truenas OS.

Now i ask how to make a good zpool setup to avoid situation like this again. i have 2 HDD (4TB and 1TB )and 1 SSD( 250gb). how do i setup these drives?

There’s no recommended vdev configuration that you can do with those drives.

If you don’t want to wait, you could create a 2-way mirror with the 4TB and 1TB drives. This will give you a redundant pool with a capacity near 1TB. In the future you can purchase a new 4TB drive to replace the 1TB in the mirror, which will bring your capacity up to near 4TB.

I don’t see much use for your single 250GB SSD. You can create a single drive pool with it to use for temporary downloads or extra temporary space when doing migrations.

thank you for helping along the way, i think i’ll do a mirror then and read up more on snapshots for it. the posible ill buy another 4TB in the future