Skip to contentSkip to conversation

Dynamic file 'swapping'

DISCUSSION Jan Kesten 1 participant 1 message Apr 8, 2004

lore
Share & tools
lore

Jan Kesten

author
#0 lore raw

Hi all!

Don't know if it's a topic for the lkml, but I try ;-)

I was wondering if for linux or better for a linux filesystem there is something like dynamic swapping of files possible. For explanation: I habe access to an Infinstor via NFS and linux is runnig there. This server has a nice funtion I'd like to have: if there are files that are not used for a specified time (i.e. 30 days) they are moved to another storage (disk and after that to an streamer tape) and are replaced by some kind of 'link'. So if you look at your directory you can see everything that was there, but if you try to open it, you have to wait a moment (some seconds if the file was swapped to another disk) oder just another moment (some minutes if the file is on a tape) and then it restored at it's old place.

So is there anything which provides such a feature? By now I have a little script that moves such files out of the way and replaces them by links. But restoring is somewhat harder and it's not automatic.

Any ideas?

Jan