1. search for "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 7a 0c b1 7a da 10 02"
2. in data we found, search for "name $ZPOOL_NAME".
3. "11 7a 0c b1 7a da 10 02" should start at 16344 offset (decimal)
4. Offset we need: LOOP_OFFSET = $OFFSET_OF_THE_11 — 16344 (decimal)
5.
Code: Select all
losetup -o $LOOP_OFFSET -f /dev/$YOUR_DEVICE
Code: Select all
zpool import
pool: u
id: 12365036168641488822
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: http://zfsonlinux.org/msg/ZFS-8000-EY
config:
u ONLINE
loop11 ONLINE