Able to access a snapshot removed using hammer cleanup using an old snapshot softlink on unmounted slave pfs

Siju George sgeorge.ml at gmail.com
Fri Apr 23 04:06:14 PDT 2010


Hi,

I am able to access a snapshot removed

dfly-bkpsrv# date
Fri Apr 23 16:14:31 IST 2010
dfly-bkpsrv# ls -l /Backup2/www-5mbak/www-hot
lrwxr-xr-x  1 root  wheel  31 Apr 23 14:28 /Backup2/www-5mbak/www-hot
-> /Backup2/pfs/www-5mbak/www-hot/
dfly-bkpsrv# hammer snapls /Backup2/www-5mbak/www-hot/
Snapshots on (null)     PFS #4
Transaction ID          Timestamp               Note
dfly-bkpsrv# ls -l /Backup2/www-5mbak/snap-20100423-1600
lrwxr-xr-x  1 root  wheel  48 Apr 23 16:00
/Backup2/www-5mbak/snap-20100423-1600 ->
/Backup2/www-5mbak/www-hot//@@0x00000001d1b81290
dfly-bkpsrv# cd /Backup2/www-5mbak/snap-20100423-1600
dfly-bkpsrv# ls
2.0
dfly-bkpsrv# pwd
/Backup2/pfs/www-5mbak/@@0x00000001d3b63b50:00004/@@0x00000001d1b81290
dfly-bkpsrv# cd 2.0
dfly-bkpsrv# pwd
/Backup2/pfs/www-5mbak/@@0x00000001d3b63b50:00004/@@0x00000001d1b81290/2.0
dfly-bkpsrv# date
Fri Apr 23 16:16:37 IST 2010
dfly-bkpsrv#

Why is this possible?

thanks

-Siju





More information about the Users mailing list