- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- backup problems
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
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
02-27-2006 12:24 AM
02-27-2006 12:24 AM
backup problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 12:54 AM
02-27-2006 12:54 AM
Re: backup problems
the Sony tapes are 25Gb native/65Gb compressed, so should be ok if you are only backing up 17Gb.
You could try a -tvf on the failed tapes and check what is attempted to be backed up when it runs out of tape.
Somebody may be mounting additional disks without your knowledge, check your cron schedule.
What does the tar -cvf command log show when you run your tar? Your /dev/rmt/2m is a no-rewind device file, correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 05:46 AM
02-27-2006 05:46 AM
Re: backup problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 06:00 AM
02-27-2006 06:00 AM
Re: backup problems
Of course, when you pop the tape out, and then put it back in, it's already rewound before you start.
The command to rewind a tape is "mt -t /dev/rmt/0m rew". Of course, the /dev/rmt/0m is just an example, and you'd substitute the device name for your tape drive there.
In other words let's go over the following:
put in a tape
*position = beginning
"tar cvf /dev/rmt/0m /somefilesystem "
*position = beginning
"mt -t /dev/rmt/0m rew"
*position = beginning
"mt -t /dev/rmt/0m rew"
*position = beginning
let's do another one:
put in a tape
*position = beginning
"tar cvf /dev/rmt/0mn /somefilesystem"
*position = after tar file from last command
"tar cvf "/dev/rmt/0mn /anotherfilesystem"
*position = after tar file from last command
"mt -t /dev/rmt/0m rew"
*position = beginning"
Hopefully, you can see from above the difference. HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 12:46 AM
02-28-2006 12:46 AM
Re: backup problems
I have the same problem with hp DDS3 tape units on old boxes(G-class)and tar gives exactly the same error(tar:can't open /dev/tty ....etc ).
but i could not find a way around it,so i dicided to use the hp-ux command fbackup instead starting on 1/3 and see what comes up.maybe the tar command or the system need some patching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 01:50 AM
02-28-2006 01:50 AM
Re: backup problems
You mentioned that when you take the backup, the database is shutdown. My query is whether you are using Raw edvice for your database ?
If the answer is YES, this is where your problem lies because Raw Devices aren't a part of filesystem and your actual total usage would then be more than 17 GB.
rgds...Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 02:04 AM
02-28-2006 02:04 AM
Re: backup problems
I would first look what is being written to tape by use of tar -tvf /dev/rmt/2m.
Have you tried adding up the total backup spec with du -sk /dir-to-be-backed-up.
I do like radi idea of using fbackup, but is this switch of backup available to you.
Ashish idea with raw devices would suprise be, as if the raw device is not visible to the file system, how would tar know it is there to be backed up?