Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Gryf on June 09, 2001, 04:33:55 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
(tihs post was posted in general discussion first, but I is told that I try here :))
-
check /var/log/dmesg to check if your scsi device is being detected by the kernal. You should find a reference to both the host adaptor and the device. If it says scsi hosts 0 and no reference to your sony then check your cabling/termination and try again.
-
Graeme Robinson wrote:
>
> check /var/log/dmesg to check if your scsi device is being
> detected by the kernal. You should find a reference to both
> the host adaptor and the device. If it says scsi hosts 0 and
> no reference to your sony then check your cabling/termination
> and try again.
here whats dmesg says.
--- START CUT---
Configuring Adaptec (SCSI-ID 7) at IO:334, IRQ 9, DMA priority 7
aha1542.c: Using extended bios translation
scsi0 : Adaptec 1542
scsi : 1 host.
Vendor: CONNER Model: CFP1080S Rev: 4143
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Vendor: OPTICS_S Model: 8622 SCSI Rev: V1.3
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
Vendor: SONY Model: SDT-5000 Rev: 3.30
Type: Sequential-Access ANSI SCSI revision: 02
Uniform CD-ROM driver Revision: 3.10
SCSI device sda: hdwr sector= 512 bytes. Sectors= 2110812 [1030 MB] [1.0 GB]
sda: sda1 sda2 < sda5 sda6 >
autodetecting RAID arrays
autorun ...
... autorun DONE.
Detected scsi tape st0 at scsi0, channel 0, id 5, lun 0
--- END CUT---
so seen from that it should work right?
/gryf
-
Try to modify your backup script to use the /dev/st0 device. The last line of dmesg specifies thie device over the standard one configured by default.
-
just do
/sbin/e-smith/db configuration setprop backup Device /dev/st0
/sbin/e-smith/signal-event conf-backup
greetz,
Rogier