Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file devices recycling

Status
Not open for further replies.

mtinode

MIS
Apr 3, 2006
6
0
0
US
I have a file device configured. I'd like to purge the recyclable save sets without staging them to tape or another device. Is there a way to simply delete the old save sets or stage to /dev/null to free up space for new save sets so the disk doesn't fill up?
 
You need to get the list of ssid's you want to delete from the volume and then use the nsrmm command.

If it is a Windows box you can put them in a text file remove.txt, one on each line, than create a batch file to remove them with a line similar to the following;

for /F %%i in (remove.txt) do c:\"program files"\legato\nsr\bin\nsrmm -d -S %%i

{note: All on one line!}

Then run nsrim -X -V {volume name} to recover the space.
 
To be precise:
you can get the list of ssid's with this command:

mminfo -q "volume={diskvolume},ssrecycle" -r ssid >remove.txt

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top