Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I tried the DSPTAP command but it only shows the size of the objects saved, there is no indication on how much space is still available.

share|improve this question
4  
Wow. Whoever answers this deserves to be revered as a community elder. –  Ryan Ries Jan 6 '13 at 4:00
    
Why would you look on a tape to try to see how much space is available on disk ?? –  WarrenT Jan 6 '13 at 5:20
    
os400 tag is missing –  Eric DANNIELOU Jan 6 '13 at 12:04
1  
I wouldn't say I miss OS/400 at all. And I think the current name is something like 'IBM i'. I think its included in the midrange tag, to be fair. –  RobM Jan 6 '13 at 19:12
add comment

1 Answer 1

There's no way to know how much space is left on a tape mostly because this is abstracted away from the system (hardware compression, etc make it difficult to predict how much capacity is available on a tape in the first place). This isn't so much an AS/400 limitation as it is a limit in how tape devices are visible on any platform.

All you can do is issue DSPTAP DEV(TAPXX) DATA(*SAVRST) OUTPUT(*PRINT) to review what is on the tape, and compare that to the stated capacity figures for the type of tape you're using, but this won't give you a hard figure as to how much space is left.

share|improve this answer
1  
Many people try to save money by putting multiple backups on a single tape. For instance, Monday the 7th, Monday the 21st, Monday the 4th... It can be helpful to know whether 2 or 3 'Monday backups' will fit on a tape. In the old days we used to look at how full the reel was to get a rough idea. As @RobM says, there was never a way to get a hard number of bytes remaining, but sometimes an approximation is all that is needed. –  Buck Calabro Jan 9 '13 at 18:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.