Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dump issues after upgrading from Redhat 8 to CentOS 5.3

Posted on 2009-06-30
3
Medium Priority
?
639 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 Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

618 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