- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- StoreEver Tape Storage
- >
- Re: how can detect the end of tape
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 08:57 PM
тАО03-07-2005 08:57 PM
how can detect the end of tape
I use !EOT in my shell script to detect the end of tape, but it does'nt give a correct result.
if you have an other proposition, thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 10:56 PM
тАО03-07-2005 10:56 PM
Re: how can detect the end of tape
Which command are you using in the script, does it "understand" EOT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 07:53 PM
тАО03-08-2005 07:53 PM
Re: how can detect the end of tape
I think you have already asked the question in:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=830915
Can you please update with:
1. Are you writing or reading the tape?
2. What command (cpio/backup/tar...) are you using
3. What makes you think your script is not detecting EOT?
Please also note Borislav's final remark in the thread mentioned above.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2005 07:17 PM
тАО03-13-2005 07:17 PM
Re: how can detect the end of tape
can we assume that this is no longer a problem, as you haven't updated your threads.
If the problem is resolved please assign points to the most useful answer and close the thread identifying the solution.
Many Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2005 01:42 AM
тАО03-15-2005 01:42 AM
Re: how can detect the end of tape
excuse me for my lateness, i didn't know that i must close the thread.
For my question,i used the cpio command for
reading from the tape, in my shell script i
want to test end of tape when i was reading from the tape then i wrote
while [ ! EOT ]
do
cat /dev/nst0 | cpio -icvt
done
the shell didn't accept this form
then i used mt -f /dev/nst0 fsf
and i test $?
thank you for your help
cpio