Network and Storage Protocols

WORM retention period

igor
6,582 Views

Hello, all!

I've a question regarding Snaplock (Enterprise) volumes. I've discovered how to set retention dates by setting a default period on a volume level, and there's also a description on how to do it thru UNIX shell - but the CIFS protocol is not covered. It simply says "Set the retention date using the command or program available for the file access protocol"...

Does anyone have experince in working with SnapLock'd volumes or setting retention period for individual files?

Thanx in advance,

Igor

1 ACCEPTED SOLUTION

patrikgross
6,582 Views

Hello,



you have to set the ACCESS-Time of the File to a Date in the Future which is greater/equal as far as the "snaplock_minimum_period". Then make it read_only.

That should be all

//Patrik

View solution in original post

7 REPLIES 7

patrikgross
6,583 Views

Hello,



you have to set the ACCESS-Time of the File to a Date in the Future which is greater/equal as far as the "snaplock_minimum_period". Then make it read_only.

That should be all

//Patrik

igor
6,582 Views

Hello, Patrik!

How do I set Access Time in a Windows environement?

patrikgross
6,582 Views

I use touch from cygwin

//Patrik

igor
6,582 Views

Thanx a bunch, Patrik!

I also found this Windows touch utility useful: http://tp.lc.ehu.es/jma/win32/touch.html

As well as this CMD prompt command: http://sourceforge.net/projects/touchforwindows/

They both work fine.

Igor

igor
6,582 Views

Hmm... I've set a 2 day retention period for several files using Cygwin, Touch and WinTouch. So by now, the retention date had well and truly passed but I still can't modify or delete them.

I've tried changing it's Read-Only status but I'm getting "Access is denied", also, when trying to delete one of the files I'm getting "Please remove write protection".

Any thoughts?

P.S. Also, none of the touch utilities can extend the retention period, once the file has been set in Read-Only mode. According to NOW manuals, they should be able to do it.

igor
6,582 Views

I'm still having retention date issues. I forgot about this topic so I opened up another...

http://communities.netapp.com/message/26487#26487

Any help would be greatly aappreciated!

Thanx!

igor
6,582 Views

Never mind! 🙂 It's working fine... it was a Compliance Clock skew issue. Cheers!

Public