Solved

Dump issues after upgrading from Redhat 8 to CentOS 5.3

Posted on 2009-06-30
3
603 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
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
unSpawn earned 500 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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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