?
Solved

Dump issues after upgrading from Redhat 8 to CentOS 5.3

Posted on 2009-06-30
3
Medium Priority
?
622 Views
Last Modified: 2013-12-06
I recently upgraded one of our critical servers from Redhat Linux 8 to CentOS 5.2.  After I did that the backup script started having problems.  The tape drive is a Dell PowerVault 100T DDS-4 (using 150 meters, 20/40GB tapes)

Here is a portion of that backup script:

/sbin/dump 0uf /dev/st0n /home
/sbin/dump 0uf /dev/st0 /data

Here is the log from that backup after the upgrade:

 DUMP: Date of this level 0 dump: Mon Jun 29 23:05:01 2009
  DUMP: Dumping /dev/sda9 (/home) to /dev/st0n
  DUMP: Label: /home
  DUMP: Writing 10 Kilobyte records
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 685189 blocks.
  DUMP: Volume 1 started with block 1 at: Mon Jun 29 23:05:02 2009
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: End of tape detected
  DUMP: Closing /dev/st0n
  DUMP: Volume 1 completed at: Mon Jun 29 23:06:50 2009
  DUMP: Volume 1 516990 blocks (504.87MB)
  DUMP: Volume 1 took 0:01:48
  DUMP: Volume 1 transfer rate: 4786 kB/s
  DUMP: Change Volumes: Mount volume #2
  DUMP: fopen on /dev/tty fails: No such device or address
  DUMP: The ENTIRE dump is aborted.
  DUMP: Date of this level 0 dump: Mon Jun 29 23:06:50 2009
  DUMP: Dumping /dev/sda10 (/data) to /dev/st0n
  DUMP: Label: /data
  DUMP: Writing 10 Kilobyte records
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 12736235 blocks.
  DUMP: Volume 1 started with block 1 at: Mon Jun 29 23:07:11 2009
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 4.05% done at 1718 kB/s, finished in 1:58
  DUMP: End of tape detected
  DUMP: Closing /dev/st0n
  DUMP: Volume 1 completed at: Mon Jun 29 23:12:11 2009
  DUMP: Volume 1 516990 blocks (504.87MB)
  DUMP: Volume 1 took 0:05:00
  DUMP: Volume 1 transfer rate: 1723 kB/s
  DUMP: Change Volumes: Mount volume #2
  DUMP: fopen on /dev/tty fails: No such device or address
  DUMP: The ENTIRE dump is aborted.
  DUMP: Date of this level 0 dump: Mon Jun 29 23:12:11 2009


Any ideas?
0
Comment
Question by:mtkaiser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
unSpawn earned 1500 total points
ID: 24757462
>DUMP: fopen on /dev/tty fails: No such device or address
Try running the actual dump command manually from your terminal. Trying to open /dev/tty could mean it requires user interaction. Once you figure out what it is asking you can adjust your scripts dump switches.
0
 

Author Closing Comment

by:mtkaiser
ID: 31601270
I changed the dump device from /dev/st0n and /dev/st0 to /dev/nst0 and /dev/st0.  In my original script I had the "n" for no-rewind after the "st0" instead of before.  That seems to make all of the difference.

Thanks,
Matt
0
 
LVL 7

Expert Comment

by:unSpawn
ID: 24807782
Thanks for the feedback Matt!
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question