Comments (3)
Specifically, the error means "the offset we are trying to free is not a valid offset on this vdev" - e.g. if you had an ashift 12 (4k) vdev, and tried to free something that was 512b into it, you'd trip this.
You might be able to import the pool read-only (since it's not going to evaluate trying to free anything or free space or anything) and yank your data off that way.
from zfs.
I did try a read-only import but it threw the same error message and hung again. I just have the one vdev and it is 4k ashift. Would this be pointing at a single block's offset or is this something about the metadata of the entire vdev?
Edit: I've also tried
echo 1 >> /sys/module/zfs/parameters/zfs_recover
Followed by a read-only import with no luck. Same panic error.
from zfs.
Might be able to use git's zdb feature to emit send streams from things too damaged to import normally and get datasets off that way.
I believe it's referring to thinking it has an element to free from a metaslab and finding out the metaslab is e.g. 4k aligned and it's trying to remove 512b into it, or something like that. So it's a specific object, but it's already pending removal in its head.
You could try a readonly import at an older txg for the older txgs listed in the uberblock still, that might or might not fly. You could also use zdb to try "simulating" if that's going to panic rather than letting your kernel do it.
from zfs.
Related Issues (20)
- PANIC at vdev_raidz.c:4579:spa_raidz_expand_thread()
- L2ARC metadata refresh by zpool scrub HOT 5
- Allow special_small_blocks to exceed 128K (recommend 1M) HOT 5
- zfs 2.2.4 and 2000% write degradation performance HOT 4
- ZTS: raidz_expand_001_pos data errors on slow systems HOT 2
- No way to access snapshots within the `.zfs/snapshot` virtual folder from Samba share mounted via MacOS 14.6.1 HOT 6
- Linux 6.10 compatibility and new promptly release HOT 4
- zfs-2.2.5 is looking for kernel-devel when Asahi Linux 40 (Server Edition) uses kernel-16k-devel leading to failed installation HOT 4
- el8 "zfs-testing" repositories still tracking 2.2.4-2 HOT 3
- kernel linux 6.10.3 build error HOT 27
- Many copy_file_range() calls finally hang with kernel oops HOT 2
- L2ARC marked as DEGRADED, reboot needed to clear the error HOT 1
- Bad page state in process errors in 2.2.X on opensuse 15.5 (Memory corruption) HOT 1
- Fedora 40: 'make rpm-kmod' broken HOT 2
- Implement FSMAP ioctl feature on Linux HOT 1
- ZFS replace of 512 byte sector drive with 4096 byte drive should adjust disk format instead of failing
- `zpool add -n POOL draid...` doesn't show future spares in config
- 7ddc1f737 breaks kstat HOT 2
- Pool import failed
- Frequent Checksum Errors During Scrub on ZFS Pool HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zfs.