Tool
This is a simple script that checks the mounted NSS volumes and purges all deleted files.
There is no need to change the script when a new volume is created or and old one is deleted.
Even in a clustered environment when a cluster-server has not always the same volumes mounted.
#!/bin/bash Dirlist=$(dir /media/nss) for direc in $Dirlist ; do ncpcon purge volume $direc done
| Attachment | Size |
|---|---|
| purge.zip | 207 bytes |
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 4290 reads



0