- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- One liner to find a device file for DDS
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
тАО08-09-2002 05:51 PM
тАО08-09-2002 05:51 PM
looking for a one/two liner or awk script to find DDS tape drive's device file to use in one of the script for Ignite Backups..
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2002 07:29 PM
тАО08-09-2002 07:29 PM
Re: One liner to find a device file for DDS
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2002 07:44 PM
тАО08-09-2002 07:44 PM
Re: One liner to find a device file for DDS
I have 10 rmts on the systems DLT4000s, DLT7000s etc. I just need a device file for *DDS HP1537 or HP1533* Tape drive.
Basically, I want to do this ->
DDS="command to get DDS dev file"
make_recovery -Av -d {DDS}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2002 07:55 PM
тАО08-09-2002 07:55 PM
Re: One liner to find a device file for DDS
What are you going to do if you have TWO dds tape drives?
This is not something you ONELINE/TWOLINE. Do not leave your SYSTEM BACKUP to "CHANCE", make it absolute!
Of course make_recovery is also obsolete.
OR, what are you going to do if your "single" DDS tape drive is broken? Change your script in production to backup to a DLT?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2002 08:05 PM
тАО08-09-2002 08:05 PM
Re: One liner to find a device file for DDS
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2002 09:14 PM
тАО08-09-2002 09:14 PM
Re: One liner to find a device file for DDS
I totally agree with your approach. I find it very dangerous to script such an IMPORTANT backup with blinders on -> basically hard coding tape drives.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2002 09:14 PM
тАО08-09-2002 09:14 PM
Re: One liner to find a device file for DDS
=====================================================================
tape 1 8/16/5.1.0 stape CLAIMED DEVICE HP C1533A
/dev/rmt/1m /dev/rmt/c1t1d0BESTn
/dev/rmt/1mb /dev/rmt/c1t1d0BESTnb
/dev/rmt/1mn /dev/rmt/c1t1d0DDS
/dev/rmt/1mnb /dev/rmt/c1t1d0DDSb
/dev/rmt/c1t1d0BEST /dev/rmt/c1t1d0DDSn
/dev/rmt/c1t1d0BESTb /dev/rmt/c1t1d0DDSnb
tape 2 8/16/5.4.0 stape CLAIMED DEVICE HP C1533A
/dev/rmt/2m /dev/rmt/c1t4d0BESTn
/dev/rmt/2mb /dev/rmt/c1t4d0BESTnb
/dev/rmt/2mn /dev/rmt/c1t4d0DDS
/dev/rmt/2mnb /dev/rmt/c1t4d0DDSb
/dev/rmt/c1t4d0BEST /dev/rmt/c1t4d0DDSn
/dev/rmt/c1t4d0BESTb /dev/rmt/c1t4d0DDSnb
tape 3 8/16/5.5.0 stape CLAIMED DEVICE Quantum DLT4000
/dev/rmt/3m /dev/rmt/c1t5d0BEST
/dev/rmt/3mb /dev/rmt/c1t5d0BESTb
/dev/rmt/3mn /dev/rmt/c1t5d0BESTn
/dev/rmt/3mnb /dev/rmt/c1t5d0BESTnb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2002 09:19 PM
тАО08-09-2002 09:19 PM
Re: One liner to find a device file for DDS
I wish to use the first DDS that appears in ioscan ( in above example which is at 1m)
Why we do this ?
We have some 50 HP systems which are standardized with DDS(2/3/4) tape drives and all our ignites are done to DDS ( for simplicity and media mgmt)
We just want to put this in crontab and not to worry about customizations.
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2002 09:42 PM
тАО08-09-2002 09:42 PM
Re: One liner to find a device file for DDS
eg-
ln /dev/rmt/1m /dev/tape.ignite
Do this on each of your systems and use /dev/tape.ignite in your scripts.
Hope this helps...
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2002 03:06 AM
тАО08-10-2002 03:06 AM
Re: One liner to find a device file for DDS
We manage over 400 HP 9000's, and now almost 100 sun sick-laris boxes. The HP 9000 boxes have make_tape_recovery's made at least once a week-month, but it doesn't make sense to LOCK down a tape drive to it, especially in case it fails. Our operators are trained to use the next available drive. If you want to automate such an IMPORTANT backup, then why not just create a CONFIGURATION file, and put the tape drive that THAT server would use for make_tape_recovery's. THAT WAY, if the TAPE DRIVE FAILED, you could easily modify the CONFIGURATION file and recreate the make_tape_recovery!
For 50 machines this is TOO EASY.
live free or die
harry