Subject: backup with dump
To: None <netbsd-users@netbsd.org>
From: Maurizio Caloro <mauric@gmx.ch>
List: netbsd-users
Date: 07/02/2003 17:45:51
Dear netbsd group

after i have configured a lot on my little sparc classic i want
now a little backup of my file system but its not working 
where fine i become a lot of errors, i have proved to read the
man pages mt dump but without success

>tape station = HP Surestore 6000 DDS2 90m

>netsun# mt -f /dev/st0 status
SCSI tape drive, residual=0
ds=3<Mounted>
er=6<>
blocksize: 0 (0, 0, 0, 0)
density: 36 (0, 0, 0, 0)
current file number: 0
current block number: 0
#
>netsun# mt -f /dev/sd0 erase < it takes 1 h :-(


>netsun# df /sd0a
/dev/sd0a 69555 37344 28733 56% /

>netsun# dump 0dsf 61000 10240 /dev/rst01 /dev/sd0a
>option f	filename
>option d 	density 	61000
>option s                feet		10240

DUMP: Found /dev/rsd0a on / in /etc/fstab
DUMP: Date of this level 0 dump: Tue Jul 1 14:29:40 2003
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rsd0a (/) to /dev/rst01
DUMP: Label: none
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 37961 tape blocks on 0.01 tape(s).
DUMP: Volume 1 started at: Tue Jul 1 14:29:42 2003
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: End of tape detected
DUMP: Closing /dev/rst01
DUMP: Volume 1 completed at: Tue Jul 1 14:30:27 2003
DUMP: Volume 1 took 0:00:45
DUMP: Volume 1 transfer rate: 716 KB/s
DUMP: Change Volumes: Mount volume #2
>> DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") n
<< one min its take to finish my 90 m tape ??

>or a second a second attemp 

>netsun# mt -f /dev/st0 rewind
>netsun# dump -0f /dev/sd0a /dev/st0

st0(esp0:0:6:0):  Check Condition on CDB: 0x08 00 00 08 00 00
    SENSE KEY:  Blank Check
   INFO FIELD:  2048
     ASC/ASCQ:  End-Of-Data Detected

  DUMP: SIGSEGV: ABORTING!
Jul  2 17:18:11 netsun /netbsd: st0(esp0:0:6:0):  Check Condition on CDB: 0x08 00 00 08 00 00
Jul  2 17:18:11 netsun /netbsd:     SENSE KEY:  Blank Check
Jul  2 17:18:11 netsun /netbsd:    INFO FIELD:  2048
Segmentation fault
netsun# Jul  2 17:18:11 netsun /netbsd:      ASC/ASCQ:  End-Of-Data Detected
Jul  2 17:18:12 netsun /netbsd: 

netbsd 1.6.1 sparc classic

best regards 
Mauriztio

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>Thanks for your help <>Manuel Bouyer <> ipnat :-)>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

---------------------------------------------------------------
------> > >                Maurizio Caloro
------> > >                <mauric@gmx.ch>
---------------------------------------------------------------