- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /dev/rmt/0mn & /dev/rmt/1mn
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-23-2004 02:39 PM
07-23-2004 02:39 PM
when I used "make_tape_recovery -Av" to backup the OS,the os reported :"can't find the /dev/rmt/0mn".
the output after "ioscan -fnCtape " is:
tape 1 0/2/1/0.2.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/1m /dev/rmt/c4t2d0BESTn
/dev/rmt/1mb /dev/rmt/c4t2d0BESTnb
/dev/rmt/1mn /dev/rmt/c4t2d0DDS
/dev/rmt/1mnb /dev/rmt/c4t2d0DDSb
/dev/rmt/c4t2d0BEST /dev/rmt/c4t2d0DDSn
/dev/rmt/c4t2d0BESTb /dev/rmt/c4t2d0DDSnb
I found a "/dev/rmt/0mn" under /dev/rmt/ directory, I mean that there are two tape device file under /dev/rmt directory.one is /dev/rmt/0mn ,another is /dev/rmt/1mn.
How to change the "1mn" to default "0mn"
BR
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2004 03:12 PM
07-23-2004 03:12 PM
Re: /dev/rmt/0mn & /dev/rmt/1mn
Device files point to devices. Your ioscan does not report /dev/rmt/0.. because there is no such device. Perhaps at one time there was a 0mn device but not anymore. The reason the device files are still there could be due to a variety of reasons. While there is a way to rmeove all the device files and kernel mappings, then recreate your existing tape with 0.. device file names, that is way too complicated. Just add the following option: -a /dev/rmt/1mn as in:
make_tape_recovery -AvI -a /dev/rmt/0mn
Note that I added the -I option so when you restore, you'll be able to select any changes before actually restoring the disk. If you just have a vg00, this is all you need. If you have other volume groups, add the -x inc_entire=vg00 option.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2004 10:47 PM
07-25-2004 10:47 PM
Re: /dev/rmt/0mn & /dev/rmt/1mn
make_tape_recovery uses /dev/rmt/0mn as default destination. but yout tape drive has to be accessed using /dev/rmt/1mn.
therefore, use make_tape_recovery with -d option to specify /dev/rmt/1mn as the destination.
eg.
#make_tape_recovery -Av -d /dev/rmt/1mn
venu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2004 11:54 PM
07-25-2004 11:54 PM
Solutionmake_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
or for 2nd my DLT drive
make_tape_recovery -a /dev/rmt/1mn -x inc_entire=vg00 -I -v
1st option : you have to learn to specify 1mn.
2nd option: you can make a symbolic link
# ln -s /dev/rmt/1m /dev/rmt/0m
# ln -s /dev/rmt/1mn /dev/rmt/0mn
By this you can simulate that you are having tape in 0mn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 12:44 AM
07-26-2004 12:44 AM
Re: /dev/rmt/0mn & /dev/rmt/1mn
1. make_tape_recovery -AvI -a /dev/rmt/0mn
2. Create link files. But in this case take care while adding any new tape device in future. It should not be 0m or else it clash with the existing one.
# ln -s /dev/rmt/0m /dev/rmt/1m
# ln -s /dev/rmt/0mn /dev/rmt/1mn
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 06:55 PM
07-26-2004 06:55 PM
Re: /dev/rmt/0mn & /dev/rmt/1mn
"make_tape_recovery -AvI -a /dev/rmt/0mn & make_tape_recovery -AvI -a /dev/rmt/1mn" didn't work . removed all the device files and kernel mappings, recreate the tape but the device file names still was /dev/rmt/1mn .
I "mv " the 1mn to 0mn , the make_tape_recovery -Av was OK !
I wonder if I should re-mv 0mn to 1mn and then use "# ln -s /dev/rmt/1m /dev/rmt/0m" to make it in effect ? what different between "mv" and "ln " ?
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 07:12 PM
07-26-2004 07:12 PM
Re: /dev/rmt/0mn & /dev/rmt/1mn
1. MV: Rename the files. Original Name gets lost.
2. LN: Creates Link to the file keeping the existing files untouched. File is accessible thr' two names. Even though they have two names they share same Inode.
Use LN instead of MV atleast for Special files.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2004 04:37 AM
07-27-2004 04:37 AM
Re: /dev/rmt/0mn & /dev/rmt/1mn
Bill Hassell, sysadmin