- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- StoreEver Tape Storage
- >
- Re: ioctl Error on Tape Drive
StoreEver Tape Storage
1756747
Members
3164
Online
108852
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-21-2005 02:39 AM
тАО03-21-2005 02:39 AM
ioctl Error on Tape Drive
This question is in regards to a Sun box running Solaris 8.
Last week, I was able to perform a backup of one of the filesystem on our Sun box. I used the tar command for this and it worked just fine. Today, I was trying to do this again today but this time (using the same device, /dev/rmt/2) the tape drive is not accessed and it appears that my files are simply being written out to a file called /dev/rmt/2. Running an mt command on this device reveals:
mt: inappropriate ioctl for device
What happened to my tape drive?
Last week, I was able to perform a backup of one of the filesystem on our Sun box. I used the tar command for this and it worked just fine. Today, I was trying to do this again today but this time (using the same device, /dev/rmt/2) the tape drive is not accessed and it appears that my files are simply being written out to a file called /dev/rmt/2. Running an mt command on this device reveals:
mt: inappropriate ioctl for device
What happened to my tape drive?
Long time dabbler, first time Admin / DBA
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2005 10:25 PM
тАО03-21-2005 10:25 PM
Re: ioctl Error on Tape Drive
Scott,
You might want to try a forum that suppports Sun systems. ITRC is for HP systems, and I don't see any mentioned in your question which appears to be related to an ioctl call on Solaris 8.
Andrew
You might want to try a forum that suppports Sun systems. ITRC is for HP systems, and I don't see any mentioned in your question which appears to be related to an ioctl call on Solaris 8.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 02:38 AM
тАО03-22-2005 02:38 AM
Re: ioctl Error on Tape Drive
Hi,
This is a common problem. Just check wheather the SCSI ID has not got changed since last backup. If the SCSI ID of drive got changed then it might require different device file rather than /dev/rmt/2.Just check
#ls -l /dev/rmt/*
& try to check how many drives you have and how many device files. Try to access device through some other device files or follow procedure to create new device files ( On SUN I do not know).
The file being created with this file name means that the device was not accessible through this device file when backup was fired.
HTH,
Devender
This is a common problem. Just check wheather the SCSI ID has not got changed since last backup. If the SCSI ID of drive got changed then it might require different device file rather than /dev/rmt/2.Just check
#ls -l /dev/rmt/*
& try to check how many drives you have and how many device files. Try to access device through some other device files or follow procedure to create new device files ( On SUN I do not know).
The file being created with this file name means that the device was not accessible through this device file when backup was fired.
HTH,
Devender
Impossible itself mentions "I m possible"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2005 02:44 AM
тАО03-22-2005 02:44 AM
Re: ioctl Error on Tape Drive
I found a solution to my problem. Using devfsadm -c tape -v on our Solaris box rebuilds the device to what it is. It seems that using ufsdump (Solaris' backup command) when not in single-user mode corrupts the device somehow.
Thanks for your replies.
Thanks for your replies.
Long time dabbler, first time Admin / DBA
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP