Solved

Dump issues after upgrading from Redhat 8 to CentOS 5.3

Posted on 2009-06-30
3
585 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
Comment Utility
>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
Comment Utility
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
Comment Utility
Thanks for the feedback Matt!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video discusses moving either the default database or any database to a new volume.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now