- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tape and special file
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
Forums
Discussions
Discussions
Discussions
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
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
07-25-2006 07:47 PM
07-25-2006 07:47 PM
tape and special file
I did some test connecting, disconnecting and changind target SCSI of my tape.
Every time operating system realized that it had a new tape it incremented the number of the special file /dev/rmt/0m creating 1m 2m 3m and so on.
How can I tell operating system to restart to number special file from 0?
Thank You
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 07:52 PM
07-25-2006 07:52 PM
Re: tape and special file
man insf, rmsf for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 07:58 PM
07-25-2006 07:58 PM
Re: tape and special file
So if I have /dev/rmt/2m it recreate /dev/rmt/2m and not /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 08:08 PM
07-25-2006 08:08 PM
Re: tape and special file
I remember you can change it using ionit isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 08:10 PM
07-25-2006 08:10 PM
Re: tape and special file
I 'an not sure that it depend of card instance
I thinks that it's function of discover by ionitrc it's seems...
regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 08:11 PM
07-25-2006 08:11 PM
Re: tape and special file
A suggest, have you ry:
rmsf /dev/rmt/* and recreate it by insf -H "hardware path"
regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 08:13 PM
07-25-2006 08:13 PM
Re: tape and special file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 08:44 PM
07-25-2006 08:44 PM
Re: tape and special file
it's possible to reboot the server or it's a production server ?
if yes, retry rmsf /dev/rmt/* and reboot to see if it depend of io discover
regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 08:51 PM
07-25-2006 08:51 PM
Re: tape and special file
I tried to modify it using ioinit -f myfile where myfile contents:
MYHPATH tape 0
and ionit told me:
ioinit: Instance number 0 already exists for class tape.
Now i'm trying to rmsf /dev/rmt/* and reboot.
How can i tell to kernel that there is no longer a 0 instance number valid?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 09:35 PM
07-25-2006 09:35 PM
Re: tape and special file
# ioinit -f myfile -r
where myfile contains...
path_to_tape 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2006 09:40 PM
07-25-2006 09:40 PM
Re: tape and special file
Because the number of "m" special file depends on card instance and because an old card instance was alredy recorded in kernel io table I had to move away /stand/ioconfig e /etc/ioconfig then I created initfile to give to ioinit.
Then I rebooted and in ionitrc prompt I did
ioinit -c
ioinit -f initfile -r
the sistem rebooted and when it was up again all things were well