You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a pool named pool01 with a dataset named testa/bb. This dataset is teaching dataset, it is small. In this dataset I have the following snapshots:
And a ls in /testa/bb (the mountpoint), I receive:
# ls -al /testa/bb/.zfs/snapshot/
total 0
dr-xr-xr-x 2 root root 2 Nov 24 10:43 .
dr-xr-xr-x 1 root root 0 Nov 24 10:43 ..
dr-xr-xr-x 1 root root 0 Nov 24 10:43 b
dr-xr-xr-x 1 root root 0 Nov 24 10:43 c
dr-xr-xr-x 1 root root 0 Nov 24 10:43 d
dr-xr-xr-x 1 root root 0 Nov 24 10:43 f
dr-xr-xr-x 1 root root 0 Nov 24 10:43 g
Where is the directoy "e", corresponding to snapshot "e"?
This directory is showed with a ls -dla:
# ls -dla /testa/bb/.zfs/snapshot/e
dr-xr-xr-x 1 root root 0 Nov 24 11:45 /testa/bb/.zfs/snapshot/e
I can access the directory "e" and list files:
# cd /testa/bb/.zfs/snapshot/e
# pwd
/testa/bb/.zfs/snapshot/e
# ls -al
total 4
drwxr-xr-x 2 root root 7 Nov 24 10:35 .
dr-xr-xr-x 3 root root 3 Nov 24 10:43 ..
-rw-r--r-- 1 root root 0 Nov 24 10:25 a
-rw-r--r-- 1 root root 0 Nov 24 10:25 b
-rw-r--r-- 1 root root 0 Nov 24 10:25 c
-rw-r--r-- 1 root root 0 Nov 24 10:25 d
-rw-r--r-- 1 root root 0 Nov 24 10:35 e
# dmesg | grep SPL
[ 5.738688] SPL: Loaded module v0.6.3-1_gf6a8696
[ 6.876229] SPL: using hostid 0x007f0101
# dmesg | grep ZFS
[ 6.065538] ZFS: Loaded module v0.6.3-14_g1e8db77, ZFS pool version 5000, ZFS filesystem version 5
I send the dataset to a file, but I dont know how attach here. It's a small file, 110kb.
Whats happening. How can I relate this?
Thanks,
The text was updated successfully, but these errors were encountered:
dmu_snapshot_list_next stores the index of the next snapshot entry to the offp
argument, which zpl_snapdir_iterate then uses for the dir_emit. This
result in an off-by-one error. Therefore a temporary variable should be
used.
This was a regression introduced in commit openzfs/zfs@0f37d0c.
Signed-off-by: Andrey Vesnovaty <andrey.vesnovaty@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closesopenzfs#2930
DeHackEd
pushed a commit
to DeHackEd/zfs
that referenced
this issue
Apr 5, 2015
dmu_snapshot_list_next stores the index of the next snapshot entry to the offp
argument, which zpl_snapdir_iterate then uses for the dir_emit. This
result in an off-by-one error. Therefore a temporary variable should be
used.
This was a regression introduced in commit openzfs/zfs@0f37d0c.
Signed-off-by: Andrey Vesnovaty <andrey.vesnovaty@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closesopenzfs#2930
Hello, sorry my english, I am brazilian
I have a pool named pool01 with a dataset named testa/bb. This dataset is teaching dataset, it is small. In this dataset I have the following snapshots:
And a ls in /testa/bb (the mountpoint), I receive:
Where is the directoy "e", corresponding to snapshot "e"?
This directory is showed with a ls -dla:
I can access the directory "e" and list files:
I send the dataset to a file, but I dont know how attach here. It's a small file, 110kb.
Whats happening. How can I relate this?
Thanks,
The text was updated successfully, but these errors were encountered: