Solved

Dump issues after upgrading from Redhat 8 to CentOS 5.3

Posted on 2009-06-30
3
597 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux backup strategies/tools 5 56
Linux :how to provide sudo access to the user 13 97
iptables ubuntu BLOCK all 2 84
Ubuntu 16.04 Canonical Software Missing 5 87
Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

832 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