search for: zdb

Displaying 20 results from an estimated 129 matches for "zdb".

Did you mean: db
2012 Jan 17
0
ZDB returning strange values
Hello all, I have a question about what output "ZDB -dddddd" should produce in L0 DVA fields. I expected there to be one or more same-sized references to data blocks stored in top-level vdevs (one vdev #0 in my 6-disk raidz2 pool), as confirmed by the source: http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/zdb/zdb.c#sprintf_blkptr_...
2010 Sep 10
3
zpool upgrade and zfs upgrade behavior on b145
...ZFS pool version 27. Pool ''rpool'' is already formatted using the current version. chris at bob:~# zfs upgrade rpool 7 file systems upgraded The file systems have been upgraded according to "zfs get version rpool" Looks ok to me. However, I now get an error when I run zdb -D. I can''t remember exactly when I turned dedup on, but I moved some data on rpool, and "zpool list" shows 1.74x ratio. chris at bob:~# zdb -D rpool zdb: can''t open ''rpool'': No such file or directory Also, running zdb by itself, returns expected out...
2010 Sep 10
3
zpool upgrade and zfs upgrade behavior on b145
...ZFS pool version 27. Pool ''rpool'' is already formatted using the current version. chris at bob:~# zfs upgrade rpool 7 file systems upgraded The file systems have been upgraded according to "zfs get version rpool" Looks ok to me. However, I now get an error when I run zdb -D. I can''t remember exactly when I turned dedup on, but I moved some data on rpool, and "zpool list" shows 1.74x ratio. chris at bob:~# zdb -D rpool zdb: can''t open ''rpool'': No such file or directory Also, running zdb by itself, returns expected out...
2008 May 04
2
Inconcistancies with scrub and zdb
...istake was to assume the counters were in error on the second mirror, and so I zeroed out the counters with zpool clear. OK, so now I scrub the pool, and no checksum errors were found on either side of the mirror. Huh?!? What about those two checksum errors on the first mirror. OK, so I run zdb on the pool, and if finds scads of errors: Traversing all blocks to verify checksums and verify nothing leaked ... zdb_blkptr_cb: Got error 50 reading <33, 727252, 0, 4a> -- skipping-- ... and then tons of: Error counts: errno count 50 123 leaked space: vdev 0, offset 0x4deaed800, size 20...
2007 Sep 13
2
zpool versioning
Hi, I was wondering if anyone would know if this is just an accounting-type error with the recorded "version=" stored on disk, or if there are/could-be any deeper issues with an "upgraded" zpool? I created a pool under a Sol10_x86_u3 install (11/06?), and zdb correctly reported the pool as a "version=3" pool. I reinstalled the OS with a u4 (08/07), ran zpool grade, was told I successfully upgraded from version 3 to version 4, but zdb reported "version=3". I unmounted the zfs, remounted, and zdb still reported "version=3&qu...
2009 Aug 02
2
zdb assertion failure/zpool recovery
...i, I have a corrupt pool, which lives on a .vdi file of a VirtualBox. IIRC the corruption (i.e. pool being not importable) was caused when I killed virtual box, because it was hung. This pool consists of a single vdev and I would really like to get some files out of that thing. So I tried running zdb, but this fails with an assertion failure: Assertion failed: object_count == usedobjs (0xce == 0xcd), file ../zdb.c, line 1215 Abort (core dumped) The core file consists of 107 threads. The thread with the assertion failure has the following stack trace: - ----------------- lwp# 1 / thread# 1 -...
2012 Jan 31
0
(gang?)block layout question, and how to decipher ZDB output?
Hello, all I''m "playing" with ZDB again on another test system, the rpool being uncompressed with 512-byte sectors. Here''s some output that puzzles me (questions follow): # zdb -dddddddd -bbbbbb rpool/ROOT/nightly-2012-01-31 260050 ... 1e80000 L0 DVA[0]=<0:200972e00:20200> DVA[1]=<0:391820a00:200>...
2006 May 19
11
tracking error to file
In my testing, I''ve found the following error: zpool status -v pool: local state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: none requested
2010 Jun 02
11
ZFS recovery tools
...antagonizing time this took, I was surprised to learn how undocumented the tools and options for ZFS recovery we''re. I managed to recover thanks to some great forum posts from Victor Latushkin, however without his posts I would still be crying at night... I think the worst example is the zdb man page, which all it does is to ask you to "contact a Sun Engineer", as this command is for experts only. What the hell? I don''t have a support contract for my home machines... I don''t feel like this is the right way to go for an open source project... A penny for any...
2009 Mar 01
8
invalid vdev configuration after power failure
What does it mean for a vdev to have an invalid configuration and how can it be fixed or reset? As you can see, the following pool can no longer be imported: (Note that the "last accessed by another system" warning is because I moved these drives to my test workstation.) ~$ zpool import -f pool0 cannot import ''pool0'': invalid vdev configuration ~$ zpool import pool:
2008 Aug 05
0
mdb & zdb should print info about crypt in blkptr
Author: Darren Moffat <Darren.Moffat at Sun.COM> Repository: /hg/zfs-crypto/gate Latest revision: 7a6ad1928ffa250a595fe19b5eef1923cf2a4c67 Total changesets: 1 Log message: mdb & zdb should print info about crypt in blkptr Files: update: usr/src/cmd/mdb/common/modules/zfs/zfs.c update: usr/src/cmd/zdb/zdb.c
2006 Oct 31
0
6366222 zdb(1M) needs to use largefile primitives when reading label
Author: eschrock Repository: /hg/zfs-crypto/gate Revision: e5f70a6fc5010aa205f244a25a9cdb950e0dae89 Log message: 6366222 zdb(1M) needs to use largefile primitives when reading label 6366267 zfs broke non-BUILD64 compilation of libsec Files: update: usr/src/cmd/zdb/zdb.c update: usr/src/lib/libsec/Makefile
2009 Jul 21
1
zpool import is trying to tell me something...
...Somebody is trying to tell me something, but I''m not receiving. All four disks (there were only ever four in the array, since creation until the present) appear present, are readable (via dd if=...), have sane looking uberblock arrays, and give more or less sane looking answers to "zdb -l /dev/dsk/..."; the whole output of the latter is a bit much to paste here but I can if somebody thinks it would be useful. zdb with no arguments also enumerates the pool in the list and looks saneish. Other zdb commands apparently do not work, hopefully due to the same root cause. hydra#...
2010 Aug 18
1
Kernel panic on import / interrupted zfs destroy
...tion, which then became another panic / reboot loop. I was able to get in with milestone=none and delete the zfs cache, but now I have a new problem: Any attempt to import the pool results in a panic. I have tried from my snv_134 install, from the live cd, and from nexenta. I have tried various zdb incantations (with aok=1 and zfs:zfs_recover=1), to no avail - these error out after a few minutes. I have even tried another controller. I have zdb -e -bcsvL running now from 134 (without aok=1) which has been running for several hours. Can zdb recover from this kind of situation (with a half-d...
2007 Feb 11
0
unable to mount legacy vol - panic in zfs:space_map_remove - zdb crashes
...1c ONLINE 0 0 0 errors: The following persistent errors have been detected: DATASET OBJECT RANGE zfspool01/nb60openv 292 1835008-1966080 zfspool01/nb60openv 292 2752512-2883584 I can get the info about the object: sjcbackup01# zdb -vvv zfspool01/nb60openv 292 Dataset zfspool01/nb60openv [ZPL], ID 20, cr_txg 23, last_txg 2158772, 92.3G, 59005 objects, rootbp [L0 DMU objset] 400L/200P DVA[0]=<0:18c0349600:200> DVA[1]=<0:6c0329600:200> DVA[2]=<0:102040a200:200> fletcher4 lzjb BE contiguous birth=2158772 fill=5...
2010 Jul 06
3
Help with Faulted Zpool Call for Help(Cross post)
...I have done quite a bit of searching, and I found that import -fFX Network should work however after ~ 20 hours this hard locks Open Solaris (however it does return a ping) here is a list of commands that I have run on Open Solaris http://www.puffybsd.com/zfsv14.txt if anyone could help me use zdb or mdb to recover my pool I would very much appreciate it. I believe the metadata is corrupt on my zpool -- Sam Fourman Jr. Fourman Networks http://www.fourmannetworks.com
2011 Nov 08
1
Single-disk rpool with inconsistent checksums, import fails
Hello all, I have an oi_148a PC with a single root disk, and since recently it fails to boot - hangs after the copyright message whenever I use any of my GRUB menu options. Booting with an oi_148a LiveUSB I had around since installation, I ran some zdb traversals over the rpool and zpool import attempts. The imports fail by running the kernel out of RAM (as recently discussed in the list with Paul Kraus''s problems). However, in my current case, the rpool has just 11.2Gb allocated with 8.7Gb "available". So almost all of it cou...
2007 Sep 14
5
ZFS Space Map optimalization
...thinking about disabling checksums. All metadata are written in 2 copies, so when I have compression=on do I need checksums ? Does zfs will try to read second block when zio_decompress_data will return error ? Is there other way to check space map compression ratio ? Now I''m using "#zdb -bb pool" but it takes hours. This message posted from opensolaris.org
2009 Oct 31
1
Kernel panic on zfs import
...39;t care about rpool. :-( If I boot from hard disk, the system begins importing zfs pools; once it''s imported everything I usually have enough time to log in before it panics. If I boot from CD and ''zfs import -f tank'', it panics. I''ve just started a ''zdb -e tank'' which I found on the intertubes here: http://opensolaris.org/jive/thread.jspa?threadID=49020. Zdb seems to be ... doing something. Not sure _what_ it''s doing, but it can''t be making things worse for me right? I''m going to try adding the following to /et...
2010 Feb 24
3
How to know the recordsize of a file
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I would like to know the blocksize of a particular file. I know the blocksize for a particular file is decided at creation time, in fuction of the write size done and the recordsize property of the dataset. How can I access that information?. Some zdb magic?. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea at jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/...