Koozali.org: home of the SME Server

Problem getting Tape backup to work

Gryf

Problem getting Tape backup to work
« on: June 08, 2001, 07:30:53 PM »
Hi!

I cannot get the tape backup to work. My Tape streamer is a Sony SDT-5000 scsi tape streamer.

For me it looks like the /dev/nst0 dont exits!

Here's what e-smith email'ed me:

----START CUT----
flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Doing level 0 backup of all using dump
| Retensioning tape...
| Rewinding & erasing tape...
| Creating index key 200106072359.09
| Tape #0
| Filesystems = / /boot
|------------------------------------------------
/dev/nst0: No such device or address
|------------------------------------------------
| File number 1, index key 200106072359.09
| Backup of: /
| Date of this level 0 backup: Thu Jun 07 23:59:09 2001
| Date of last level 0 backup: the epoch
|------------------------------------------------
| (dump -0 -b 10 -a -f - / | gzip -4) | buffer -m 3m -s 10k -u 100 -t -p 75 -B \
|  -o /dev/nst0
|------------------------------------------------
buffer: cannot open output file: No such device or address
filename: /dev/nst0
  DUMP: Date of this level 0 dump: Thu Jun  7 23:59:09 2001
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/sda6 (/) to standard output
  DUMP: Label: none
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 314341 tape blocks.
  DUMP: Volume 1 started at: Thu Jun  7 23:59:17 2001
  DUMP: dumping (Pass III) [directories]
  DUMP: Broken pipe
  DUMP: The ENTIRE dump is aborted.
|------------------------------------------------
| Backup start: Thu Jun 07 23:59:09 2001
| Backup end:   Thu Jun 07 23:59:18 2001
|------------------------------------------------
/dev/nst0: No such device or address
|------------------------------------------------
| File number 2, index key 200106072359.09
| Backup of: /boot
| Date of this level 0 backup: Thu Jun 07 23:59:28 2001
| Date of last level 0 backup: the epoch
|------------------------------------------------
| (dump -0 -b 10 -a -f - /boot | gzip -4) | buffer -m 3m -s 10k -u 100 -t -p \
|  75 -B -o /dev/nst0
|------------------------------------------------
buffer: cannot open output file: No such device or address
filename: /dev/nst0
  DUMP: Date of this level 0 dump: Thu Jun  7 23:59:28 2001
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/sda1 (/boot) to standard output
  DUMP: Label: none
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 3016 tape blocks.
  DUMP: Volume 1 started at: Thu Jun  7 23:59:29 2001
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: Broken pipe
  DUMP: The ENTIRE dump is aborted.
|------------------------------------------------
| Backup start: Thu Jun 07 23:59:28 2001
| Backup end:   Thu Jun 07 23:59:29 2001
|------------------------------------------------
/dev/nst0: No such device or address
|------------------------------------------------
| Rewinding...
/dev/nst0: No such device or address
| Compressing log (all.0.20010607.gz)
| Linking all.latest.gz -> all.0.20010607.gz
|------------------------------------------------

File  Contents    (tape index 200106072359.09)
-----------------------------------------------
0  
1   level 0 / Thu Jun 07 23:59:09 2001 dump+gzip from e-smith
2   level 0 /boot Thu Jun 07 23:59:28 2001 dump+gzip from e-smith

/dev/nst0: No such device or address
----END CUT----

/Gryf

Lloyd Keen

Re: Problem getting Tape backup to work
« Reply #1 on: June 10, 2001, 05:34:22 PM »
What sort of scsi host adapter do you have? Do you have the correct module loaded via the modules.conf for it? Check for a line similar to "alias scsi_hostadapter ncr53c8xx". If you have that line try a #modprobe ncr53c8xx. I also have a module loaded called st which I think relates to the tape streamer. Try doing #insmod st.