As I'm sure you've already discovered, you can't create a hard link to a file in a snapshot. The reason is that snapshots are read-only, but it is necessary to increment the number of links in the linked-to inode. You can use a symbolic link, of course, but it would point to whatever was at that location. To prevent the snapshot from being recycled, you could do a "snap rename" of hourly.0 or whatever to something else.
Mark
-----Original Message----- From: Jim Harm harm1@llnl.gov To: toasters@mathworks.com toasters@mathworks.com Date: Thursday, November 05, 1998 8:56 AM Subject: hard link .snapshot files
We have the need to occasionally recover a LARGE file and we would like to recover it quickly without making the massive increase in space usage that would result if we merely copied the file from .snapshot to the old
directory.
Can we build a hard link from the old directory to the .snapshot/hourly.#/Large.file and how will that be protected with the next snapshot?
I don't want to screw anything up. Our users ARE rocket scientists.
}}}===============>> LLNL James E. Harm (Jim); jharm@llnl.gov (925) 422-4018 Page: 423-7705x57152