Hi, I am using ZFS under Solaris 10u3. After the defect of a 3510 Raid controller, I have several storage pools with defect objects. "zpool status -xv" prints a long list: DATASET OBJECT RANGE 4c0c 5dd lvl=0 blkid=2 28 b346 lvl=0 blkid=9 3b31 15d lvl=0 blkid=1 3b31 15d lvl=0 blkid=2 3b31 15d lvl=0 blkid=2727 3b31 190 lvl=0 blkid=0 ... I know that the number in the column "OBJECT" identifies the inode number of the affected file. However, I have more than 1000 filesystems in each of the affected storage pools. So how do I identify the correct filesystem? According to http://blogs.sun.com/erickustarz/entry/damaged_files_and_zpool_status I have to use zdb. But I can''t figure out how to use it. Can you help? Hans Schnitzer This message posted from opensolaris.org
Hans-Juergen Schnitzer
2007-Mar-15 12:10 UTC
[zfs-discuss] Checksum errors in storage pool
In the meantime, the SUN supporter did figure out that zdb does not work because zdb uses the information from /etc/zfs/zpool.cache. However, I did use "zpool -R" to import the pool, which did not update /etc/zfs/zpool.cache. Is there another method to map a dataset number to a filesystem? Hans Schnitzer H.-J. Schnitzer wrote:> Hi, > > I am using ZFS under Solaris 10u3. > > After the defect of a 3510 Raid controller, I have several storage pools > with defect objects. "zpool status -xv" prints a long list: > > DATASET OBJECT RANGE > 4c0c 5dd lvl=0 blkid=2 > 28 b346 lvl=0 blkid=9 > 3b31 15d lvl=0 blkid=1 > 3b31 15d lvl=0 blkid=2 > 3b31 15d lvl=0 blkid=2727 > 3b31 190 lvl=0 blkid=0 > ... > > I know that the number in the column "OBJECT" identifies the inode number > of the affected file. > However, I have more than 1000 filesystems in each of the > affected storage pools. So how do I identify the correct filesystem? > According to http://blogs.sun.com/erickustarz/entry/damaged_files_and_zpool_status > I have to use zdb. But I can''t figure out how to use it. Can you help? > > Hans Schnitzer > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >