Displaying 20 results from an estimated 22 matches for "znode".
Did you mean:
inode
2006 Nov 02
11
ZFS and memory usage.
.... I can register my function so it
will be called when there are memory problems, which I do. I using it
for ARC layer.
Even with this in place under heavy load the kernel panics, 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_al...
2008 Nov 26
2
zfs znode changes getting lost
In place of padding in zfs znode i added a new field. stored an integer value and am able to see saved information.
but after reboot it is not there. If i was able to access before reboot so it must be in memory. I think i need to save it to disk.
how does one force zfs znode to disk.
right now i dont do anything special for i...
2008 Jun 18
4
getting inodeno for zfs from vnode in vfs kernel layer
i need to get inodeno on ZFS and i am not able to find how to find it in
kernel at vfs layer.
i have vnode pointer and i am doing VTOZ to get znode but printing z_id
from znode pointer
gives me deadbeef(unitialized) , can somebody point me how to get that?
i looked at zfs_getattr code and it does similar thing which i am doing
but its able to get me
inode no in getattribute structure(node id), that makes me thinking
there is something mor...
2007 May 09
5
Refactor zfs_zget()
Hi,
Since almost all operations in the FUSE low-level API identify files by inode
number, I''ve been using zfs_zget() to get the corresponding znode/vnode in
order to call the corresponding VFS function in zfs_vnops.c.
However, there are some cases when zfs_zget() behaves slightly different than
I need:
1) If zp->z_unlinked != 0 then zfs_zget() returns ENOENT. I need it to return
the znode anyway, otherwise an open() followed by an unli...
2010 Sep 17
3
ZFS Dataset lost structure
...the same behavior 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...
2008 Jun 18
0
getting inode for zfs from vnode/vfs layer in kernel
i need to get inodeno on ZFS and i am not able to find how to find it in
kernel at vfs layer.
i have vnode pointer and i am doing VTOZ to get znode but printing z_id
from znode pointer
gives me deadbeef(unitialized) , can somebody point me how to get that?
i looked at zfs_getattr code and it does similar thing which i am doing
but its able to get me
inode no in getattribute structure(node id), that makes me thinking
there is something mor...
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
2007 Aug 09
5
Unremovable file in ZFS filesystem.
I managed to create a link in a ZFS directory that I can''t remove. Session as follows:
# ls
bayes.lock.router.3981 bayes_journal user_prefs
# ls -li bayes.lock.router.3981
bayes.lock.router.3981: No such file or directory
# ls
bayes.lock.router.3981 bayes_journal user_prefs
# /usr/sbin/unlink bayes.lock.router.3981
unlink: No such file or directory
# find . -print
2008 Nov 08
9
How does zfs COW deal with ''..'' in brother directory?
Hi matt,
I have some problems about understanding zfs COW implemention. Suppose
b and c are both children dir of a, if c changes, there will be new
versions of both a and c, namely c'' and a''.
a a''
b c c''
Because ''..'' in b points to a before this change, shall we modify b
to let ''..'' point to a''? If yes,
2006 Jul 20
1
tracking an error back to a file
...=<1:209bb8a00:200> fletcher4 lzjb LE contiguous birth=569229
fill=47341 cksum=bfbec0b7e:4cabe29d1ca:f8ffe68a911f:22341ff0761b57
Object lvl iblk dblk lsize asize type
31018 2 16K 128K 7.50M 7.51M ZFS plain file
264 bonus ZFS znode
path /Mos Def/Black on Both Sides/03 Love.mp3
atime Tue Jul 4 01:26:27 2006
mtime Sat Apr 15 20:17:19 2006
ctime Tue Jul 4 01:26:27 2006
crtime Tue Jul 4 01:26:26 2006
gen 328624
mode 100755
size 7762952...
2007 Feb 11
0
unable to mount legacy vol - panic in zfs:space_map_remove - zdb crashes
...DVA[0]=<0:7208e9000:13000> zilog uncompressed BE contiguous birth=2154403 fill=0 cksum=5f8aab176130501f:6d23a2551b6eb2cf:14:121ac8
...
Object lvl iblk dblk lsize asize type
292 3 16K 128K 25.1M 25.1M ZFS plain file
264 bonus ZFS znode
path /db/data/EMM_DATA.db
atime Sat Feb 10 08:44:07 2007
mtime Sat Feb 10 09:40:19 2007
ctime Sat Feb 10 09:40:19 2007
crtime Sun Oct 8 16:15:31 2006
gen 150
mode 100600
size 26226688
parent 288
li...
2007 Jul 26
8
Read-only (forensic) mounts of ZFS
Hi
I''m looking into forensic aspects of ZFS, in particular ways to use ZFS tools
to investigate ZFS file systems without writing to the pools. I''m working on
a test suite of file system images within VTOC partitions. At the moment,
these only have 1 file system per pool per VTOC partition for simplicity''s
sake, and I''m using Solaris 10 6/06, which may not
2006 Mar 23
17
Poor performance on NFS-exported ZFS volumes
I''m seeing some pretty pitiful performance using ZFS on a NFS server, with a ZFS volume exported (only with rw=host.foo.com,root=host.foo.com opts) and mounted on a Linux host running kernel 2.4.31. This linux kernel I''m working with is limited in that I can only do NFSv2 mounts... irregardless of that aspect, I''m sure something''s amiss.
I mounted the zfs-based
2007 Mar 28
20
Gzip compression for ZFS
Adam,
With the blog entry[1] you''ve made about gzip for ZFS, it raises
a couple of questions...
1) It would appear that a ZFS filesystem can support files of
varying compression algorithm. If a file is compressed using
method A but method B is now active, if I truncate the file
and rewrite it, is A or B used?
2) The question of whether or not to use bzip2 was raised in
the
2007 Sep 14
5
ZFS Space Map optimalization
I have a huge problem with space maps on thumper. Space maps takes over 3GB
and write operations generates massive read operations.
Before every spa sync phase zfs reads space maps from disk.
I decided to turn on compression for pool ( only for pool, not filesystems ) and it helps.
Now space maps, intent log, spa history are compressed.
Not I''m thinking about disabling checksums. All
2006 Oct 13
24
Self-tuning recordsize
Would it be worthwhile to implement heuristics to auto-tune
''recordsize'', or would that not be worth the effort?
--
Regards,
Jeremy
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
2011 Nov 25
1
Recovering from kernel panic / reboot cycle importing pool.
....00 DSL directory child map
10 5.50K 5.00K 45.0K 4.50K 1.10 0.00 DSL dataset snap map
75 1.13M 129K 824K 11.0K 8.98 0.05 DSL props
- - - - - - - DSL dataset
- - - - - - - ZFS znode
- - - - - - - ZFS V0 ACL
- - - - - - - ZFS plain file
- - - - - - - ZFS directory
- - - - - - - ZFS master node
- -...
2008 Dec 17
10
Cannot remove a file on a GOOD ZFS filesystem
...:
------- cut here --------
# ls
dir1 dir2
# ls dir2/
file1
# ls -i
5147 dir1 1924 dir2
# zdb -dddd mypool/myfs 1924
...
Object lvl iblk dblk lsize asize type
1924 1 16K 1K 1K 1K ZFS directory
264 bonus ZFS znode
path /myfs/dir2
uid 0
gid 12
atime Tue Dec 9 16:07:03 2008
mtime Wed Dec 17 14:50:09 2008
ctime Wed Dec 17 14:50:09 2008
crtime Wed Nov 26 16:19:31 2008
gen 207918
mode 42770
size 3...
2006 Feb 24
17
Re: [nfs-discuss] bug 6344186
Joseph Little wrote:
> I''d love to "vote" to have this addressed, but apparently votes for
> bugs are no available to outsiders.
>
> What''s limiting Stanford EE''s move to using ZFS entirely for our
> snapshoting filesystems and multi-tier storage is the inability to
> access .zfs directories and snapshots in particular on NFSv3 clients.