trinxie
Dabbler
- Joined
- Feb 7, 2013
- Messages
- 28
I have a problem when running "zfs diff", it returns an error "unable to determine path or stats for object 14 in...". See below. Anyone that have any idea what can be wrong?
I planned to use zfs diff to list all deleted files between today and last week.
I have tried to google this but I cannot get any clear answer.
[root@nas] ~# zfs diff MyVolume/BackupDS@auto-20130923.2000-3m MyVolume/BackupDS@auto-20131001.2100-3m
M /mnt/MyVolume/BackupDS/
Unable to determine path or stats for object 14 in MyVolume/BackupDS@auto-20130923.2000-3m: Invalid argument
>zfs list -r -t snapshot -o name,creation,used MyVolume/BackupDS
MyVolume/BackupDS@auto-20130923.2000-3m Mon Sep 23 20:00 2013 1.77M
MyVolume/BackupDS@auto-20130923.2100-3m Mon Sep 23 21:00 2013 96K
MyVolume/BackupDS@auto-20130924.1900-3m Tue Sep 24 19:00 2013 2.03M
....
MyVolume/BackupDS@auto-20130930.2000-3m Mon Sep 30 20:00 2013 0
MyVolume/BackupDS@auto-20130930.2100-3m Mon Sep 30 21:00 2013 0
MyVolume/BackupDS@auto-20131001.1900-3m Tue Oct 1 19:00 2013 3.90M
MyVolume/BackupDS@auto-20131001.2000-3m Tue Oct 1 20:00 2013 112K
MyVolume/BackupDS@auto-20131001.2100-3m Tue Oct 1 21:00 2013 256K
zfs status returns ok:
[root@nas] ~# zpool status
pool: MyVolume
state: ONLINE
scan: scrub repaired 0 in 2h55m with 0 errors on Mon Sep 23 05:55:58 2013
config:
NAME STATE READ WRITE CKSUM
MyVolume ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/9739b299-53ac-11e2-90ca-bc5ff4746c08 ONLINE 0 0 0
gptid/97ac85c3-53ac-11e2-90ca-bc5ff4746c08 ONLINE 0 0 0
errors: No known data errors
I planned to use zfs diff to list all deleted files between today and last week.
I have tried to google this but I cannot get any clear answer.
[root@nas] ~# zfs diff MyVolume/BackupDS@auto-20130923.2000-3m MyVolume/BackupDS@auto-20131001.2100-3m
M /mnt/MyVolume/BackupDS/
Unable to determine path or stats for object 14 in MyVolume/BackupDS@auto-20130923.2000-3m: Invalid argument
>zfs list -r -t snapshot -o name,creation,used MyVolume/BackupDS
MyVolume/BackupDS@auto-20130923.2000-3m Mon Sep 23 20:00 2013 1.77M
MyVolume/BackupDS@auto-20130923.2100-3m Mon Sep 23 21:00 2013 96K
MyVolume/BackupDS@auto-20130924.1900-3m Tue Sep 24 19:00 2013 2.03M
....
MyVolume/BackupDS@auto-20130930.2000-3m Mon Sep 30 20:00 2013 0
MyVolume/BackupDS@auto-20130930.2100-3m Mon Sep 30 21:00 2013 0
MyVolume/BackupDS@auto-20131001.1900-3m Tue Oct 1 19:00 2013 3.90M
MyVolume/BackupDS@auto-20131001.2000-3m Tue Oct 1 20:00 2013 112K
MyVolume/BackupDS@auto-20131001.2100-3m Tue Oct 1 21:00 2013 256K
zfs status returns ok:
[root@nas] ~# zpool status
pool: MyVolume
state: ONLINE
scan: scrub repaired 0 in 2h55m with 0 errors on Mon Sep 23 05:55:58 2013
config:
NAME STATE READ WRITE CKSUM
MyVolume ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/9739b299-53ac-11e2-90ca-bc5ff4746c08 ONLINE 0 0 0
gptid/97ac85c3-53ac-11e2-90ca-bc5ff4746c08 ONLINE 0 0 0
errors: No known data errors