search for: dnode

Displaying 20 results from an estimated 43 matches for "dnode".

Did you mean: inode
2007 Feb 06
4
The ZFS MOS and how DNODES are stored
...to the pool?s currently active uberblock. That is to say, that if we take a snapshot of a file system in a pool, and then make any changes to that file system, the copy on write behavior induced by the changes will stop at some synchronization point below the uberblock (presumably at or below the DNODE that is the DSL directory for that file system). In-place updates to a DNODE that has been allocated in a single sector sized ZFS block can be considered atomic, since the sector write will either succeed or fail totally, leaving either the old version or the new version, but not a combination of...
2007 Jul 23
12
GRUB, zfs-root + Xen: Error 16: Inconsistent filesystem structure
...i86xpv/kernel/$ISADIR/uni x -B $ZFS-BOOTFS -vk module$ /platform/i86pc/$ISADIR/boot_archive # ------------------------------------------------------------ grub boot for xen crashes with the error message: Error 16: Inconsistent filesystem structure GRUB uses fixed memory locations for MOS, DNODE, ZFS_SCRATCH... MOS is at memory location 0x100000. DNODE is at memory location 0x140000. ZFS_SCRATCH is at memory location 0x180000. Standard Solaris kernel /platform/i86pc/kernel/amd64/unix loads at 0x400000, 0x800000 and 0xC00000, and /platform/i86pc/amd64/boot_archive is loaded at 0xd5d000 -...
2010 Sep 17
3
ZFS Dataset lost structure
...vior occurs. If i do zdb -dddd dataset at the end of the output i can se the references to my file: Object lvl iblk dblk dsize lsize %full type 7 5 16K 128K 149G 256G 58.26 ZFS plain file 264 bonus ZFS znode dnode flags: USED_BYTES USERUSED_ACCOUNTED dnode maxblkid: 2097152 path /vdisk.raw uid 777 gid 60001 atime Sun Oct 18 00:49:05 2009 mtime Thu Sep 9 16:22:14 2010 ctime Thu Sep 9 16:22:14 2010 crtime Sun Oct 18 00:49:05 2...
2006 Jan 03
4
zfs object sets and datasets
Hi All, I am looking at trying to understand the conceptual model of how data is grouped and partitioned within a storge pool. In looking at the on disk document that Tabriz sent out a few weeks ago I see that object sets are the grouping which ZFS uses to group objects that are related. Specifially to aid in format and layout of like objects in to a set. So, for example 1 potential object
2004 Jun 17
2
using "= matrix (...)" in .C calls
...which = integer(nobs), cptable = matrix(double(numcp*cpcol), nrow=cpcol), dsplit = matrix(double(1), nsplit,3), isplit = matrix(integer(1), nsplit,3), csplit = catmat, dnode = matrix(double(1), nodes, 3+numresp), inode = matrix(integer(1), nodes, 6), PACKAGE = "rpart") Which in communicates with the C code in "s_to_rp.c" void s_to_rp2(Sint *n, Sint *nsplit, Sint *nnode, Sint *ncat...
2006 Nov 02
11
ZFS and memory usage.
...ics, because memory with KM_SLEEP cannot be allocated. Here are some statistics of memory usage when the panic occurs: zfs_znode_cache: 356 * 11547 = 4110732 bytes zil_lwb_cache: 176 * 43 = 7568 bytes arc_buf_t: 20 * 7060 = 141200 bytes arc_buf_hdr_t: 188 * 7060 = 1327280 bytes dnode_t: 756 * 162311 = 122707116 bytes !! dmu_buf_impl_t: 332 * 18649 = 6191468 other: 14432256 bytes (regular kmem_alloc()) There is 1GB of RAM, 320MB is for the kernel. 1/3 if kernel memory is configured as ARC''s maximum. When it panics, debugger statistics show that there is arou...
2012 Feb 26
3
zfs diff performance
I had high hopes of significant performance gains using zfs diff in Solaris 11 compared to my home-brew stat based version in Solaris 10. However the results I have seen so far have been disappointing. Testing on a reasonably sized filesystem (4TB), a diff that listed 41k changes took 77 minutes. I haven''t tried my old tool, but I would expect the same diff to take a couple of
2006 Aug 31
3
Find the difference between two snapshots
Hi everyone, Is there an easy way to find out which files has changed between two snapshots? Currently I''m doing a # rsync -arvn <snapshot1> <snapshot2> and it creates a list. But rsync needs to go through the whole filesystem and compare files. It would be nice if zfs would have this option builtin. Regards, Nickus
2002 Apr 25
1
understanding and resolving seg faults
...39;t have structure of rpart drilled into their brain: deltaI is declared in "rpmatrix.c": void rpmatrix(struct node *me, Sint *nodecount, Sint *splitcount, Sint *catcount, Sint *numcat, double **dsplit, Sint **isplit, Sint **csplit, double **dnode, Sint **inode, double **deltaI, int id) rpmatrix is called by "s_to_rp.c" where ddeltaI is a pointer from an ALLOC call: void s_to_rp2(Sint *n, Sint *nsplit, Sint *nnode, Sint *ncat, Sint *numcat, Sint *maxcat, Sint *xvals,...
2012 Jan 17
0
ZDB returning strange values
...ksum=a3688c0fe5542424:fd7669a381e1e00f:517ddd86c742e1d9:e0ec04feaef1b341 Object lvl iblk dblk dsize lsize %full type 291793 3 16K 128K 58.0M 46.4M 100.00 ZFS plain file (K=inherit) (Z=inherit) 176 bonus System attributes dnode flags: USED_BYTES USERUSED_ACCOUNTED dnode maxblkid: 370 path /dir/myfile.zip uid 1029 gid 10 atime Fri Jul 22 18:54:01 2011 mtime Fri Nov 16 08:25:04 2007 ctime Fri Jul 22 18:54:01 2011 crtime Fri Jul 22 18:53:36 2011 gen 324766191 mode 100700 size 48509480 parent 291760 links...
2002 Jan 25
0
rpart subsets
...ete but will have many NaN's in the rpart$frame for yval's. This is because of an oversight in rpart.s when calculating the probabilities for each node. The change to the function rpart in rpart.s is: if (method.int ==3 ) { numclass <- init$numresp -1 temp <- rp$dnode[,-(1:4)] %*% diag(init$parms$prior* sum(init$counts)/init$counts) # Bob's clumsy attempt to remove the NaN's that result when # calculating the probabilities tempx <- matrix(0, nrow=nrow(temp), ncol=ncol(temp)) tempx[which(is.finite(temp))] <- temp[which(is.finite(temp))]...
2008 Feb 19
32
storing SOM epoch in EA
Good day, some time ago we discussed that it would be very helpful to store epoch in inode on mds. the perfect solution could be to store epoch in old inode body, but there is no much space for this in the body and with DMU we''ll have this problem again. given the minimal inode size we use on MDS is 512 bytes, we can store upto 13 stripes in the body. larger EAs go to a dedicated block.
2002 Jan 28
0
rpart subset fix
...ete but will have many NaN's in the rpart$frame for yval's. This is because of an oversight in rpart.s when calculating the probabilities for each node. The change to the function rpart in rpart.s is: if (method.int ==3 ) { numclass <- init$numresp -1 temp <- rp$dnode[,-(1:4)] %*% diag(init$parms$prior* sum(init$counts)/init$counts) # Bob's clumsy attempt to remove the NaN's that result when # calculating the probabilities tempx <- matrix(0, nrow=nrow(temp), ncol=ncol(temp)) tempx[which(is.finite(temp))] <- temp[which(is.finite(temp))]...
2008 Mar 20
7
ZFS panics solaris while switching a volume to read-only
...l: Fatal Requested Block: 19062 Error Block: 19062 Vendor: EMC Serial Number: 900D5008U Sense Key: panic[cpu0]/thread=2a10103bcc0: Write Protected ZFS: I/O failure (write on <unknown> off 0: zio 6001f3f2340 [L0 DMU dnode] 4000L/a00P DVA[0]=<0:54e000:a00> DVA[1]=<0:d000ab800:a00> fletcher4 lzjb BE contiguous birth=597 fill=31 cksum=97d1c4f896:dd5b900a7ec8:b89066e037beda:7021cc17c66f4713): error 6 000002a10103b880 zfs:zio_done+29c (0, 10, 6000e361400, 600202bfb80, 6001f3f2340, 0) %l0-3: 0000060003233b4...
2006 Mar 03
5
flag day: ZFS on-disk format change
...xport/home/ahrens/zapbs) > User: ahrens > > Comment: > 6389368 fat zap should use 16k blocks (with backwards compatability) > > Files: > update: usr/src/uts/common/fs/zfs/dbuf.c > update: usr/src/uts/common/fs/zfs/dmu_tx.c > update: usr/src/uts/common/fs/zfs/dnode.c > update: usr/src/uts/common/fs/zfs/sys/zap_impl.h > update: usr/src/uts/common/fs/zfs/sys/zap_leaf.h > update: usr/src/uts/common/fs/zfs/zap.c > update: usr/src/uts/common/fs/zfs/zap_leaf.c > update: usr/src/uts/common/fs/zfs/zap_micro.c > > Examined files: 8 > > Con...
2007 Nov 09
3
Major problem with a new ZFS setup
...d it''s now behaving very badly. Here''s what diagnostic data I''ve been able to collect so far: In the messages file: Nov 4 13:24:11 mondo4 savecore: [ID 570001 auth.error] reboot after panic: ZFS: I/O failure (write on <unknown> off 0: zio ffffffff97c86a00 [L0 DMU dnode] 4000L/1000P DVA[0]=<0 :d08cf11b800:1800> DVA[1]=<0:1020a711c800:1800> fletcher4 lzjb LE contiguous birth=731555 fill=32 Nov 4 13:24:11 mondo4 savecore: [ID 570001 auth.error] reboot after panic: ZFS: I/O failure (write on <unknown> off 0: zio ffffffff97c86a00 [L0 DMU dnode] 4000...
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...mp_func(buf, retbuf, psize, lsize); + if (comp != ZIO_COMPRESS_OFF) { + if (decomp_table[comp].decomp_func(buf, retbuf, psize, + lsize) != 0) { + grub_printf("zio_read decompression failed\n"); + return (ERR_FSYS_CORRUPT); + } + } return (0); } @@ -446,7 +466,7 @@ dmu_read(dnode_phys_t *dn, uint64_t blki grub_memset(buf, 0, dn->dn_datablkszsec << SPA_MINBLOCKSHIFT); break; - } else if ((errnum = zio_read(bp, tmpbuf, stack))) { + } else if (errnum = zio_read(bp, tmpbuf, stack)) { return (errnum); } @@ -465,13 +485,13 @@ dmu_read(dnode_phy...
2017 Dec 20
0
[PATCH v4 3/4] virtio_vop: don't kfree device on register failure
...ontainer_of(_d, struct virtio_device, dev); + struct _vop_vdev *vop_vdev = + container_of(vdev, struct _vop_vdev, vdev); + + kfree(vop_vdev); } /* @@ -466,7 +468,7 @@ static int _vop_add_device(struct mic_device_desc __iomem *d, unsigned int offset, struct vop_device *vpdev, int dnode) { - struct _vop_vdev *vdev; + struct _vop_vdev *vdev, *reg_dev = NULL; int ret; u8 type = ioread8(&d->type); @@ -497,6 +499,7 @@ static int _vop_add_device(struct mic_device_desc __iomem *d, vdev->c2h_vdev_db = ioread8(&vdev->dc->c2h_vdev_db); ret = register_virtio...
2017 Dec 21
0
[PATCH v5 3/4] virtio_vop: don't kfree device on register failure
...ontainer_of(_d, struct virtio_device, dev); + struct _vop_vdev *vop_vdev = + container_of(vdev, struct _vop_vdev, vdev); + + kfree(vop_vdev); } /* @@ -466,7 +468,7 @@ static int _vop_add_device(struct mic_device_desc __iomem *d, unsigned int offset, struct vop_device *vpdev, int dnode) { - struct _vop_vdev *vdev; + struct _vop_vdev *vdev, *reg_dev = NULL; int ret; u8 type = ioread8(&d->type); @@ -497,6 +499,7 @@ static int _vop_add_device(struct mic_device_desc __iomem *d, vdev->c2h_vdev_db = ioread8(&vdev->dc->c2h_vdev_db); ret = register_virtio...
2006 Oct 31
0
6389368 fat zap should use 16k blocks (with backwards compatability)
...hrens Repository: /hg/zfs-crypto/gate Revision: 0fdac67554fe0f4938120fb4f0cb35cbbcd38c0b Log message: 6389368 fat zap should use 16k blocks (with backwards compatability) Files: update: usr/src/uts/common/fs/zfs/dbuf.c update: usr/src/uts/common/fs/zfs/dmu_tx.c update: usr/src/uts/common/fs/zfs/dnode.c update: usr/src/uts/common/fs/zfs/sys/zap_impl.h update: usr/src/uts/common/fs/zfs/sys/zap_leaf.h update: usr/src/uts/common/fs/zfs/zap.c update: usr/src/uts/common/fs/zfs/zap_leaf.c update: usr/src/uts/common/fs/zfs/zap_micro.c