I hope It'll help:

try setting the -B option for the dump command. from dump's man page:
-------------
-B records
             The number of 1 KB blocks per volume.  This option overrides the
             calculation of tape size based on length and density.
---------------------------

In other words, you tell dump how long your tape is. So if you enter -B 99999999
you tell dump that it has *very* big (obviously not possible) tape media. Then
its up to you to calcualte the backup needs with regard to tape volume needed. 
This causes dump to stop from telling you "The tape media is full - please
replace..."

I use this in my work. ( I think this is what is quoted below)

Boaz.

avishaya wrote:
> 
> Hi,
> I have tried to backup with dump to a tape drive model
> HP-C1537A(dds2,dds3)
> on  (symbios scsi  - ncr53c8xx) on linux box(version 6 - kernel
> 2.2.12-20).
> Yes, the OS recognize the tape and load the "st" module(scsi id 2).
> 
> when i type : mt -f /dev/nst0 stat (ofcourse when i put DDS3 media)
> 
> SCSI 2 tape drive:
> File number=1, block number=0, partition=0.
> Tape block size 0 bytes. Density code 0x25 (DDS-3).
> Soft error count since last status=0
> General status bits on (81010000):
> EOF ONLINE IM_REP_EN
> 
> when i want to "dump" even the smallest partition( /boot - 20MB)
> 
> dumping /dev/sda5
>   DUMP: Date of this level 0 dump: Sun Sep 17 15:21:57 2000
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /dev/sda5 (/home) to /dev/nst0
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 5897597 tape blocks on 1.44 tape(s).
>   DUMP: Volume 1 started at: Sun Sep 17 15:22:06 2000
>   DUMP: End of tape detected
>   DUMP: Closing /dev/nst0
>   DUMP: Volume 1 completed at: Sun Sep 17 15:22:29 2000
>   DUMP: Volume 1 took 0:00:23
>   DUMP: Volume 1 transfer rate: 2 KB/s
>   DUMP: Change Volumes: Mount volume #2
>   DUMP: Is the new volume mounted and ready to go?: ("yes" or "no")
> DUMP: "Yes" or "No"?
> 
> Don`t be mistake of the size of  the partition above.it occures on every
> single partition i want to dump
> this is only the log of my backup script which begins to dump firstly
> the most important data(/home)
> but even , if i try manually to dump the /boot partition (or /opt), i
> can`t.
> 
> When i "tail" the /var/log/messages , this is what i get:
> 
> Sep 17 13:28:48 localhost kernel: st0: Error with sense data: [valid=0]
> Info fld=0x0, Current st09:00: sense key Aborted Command
> Sep 17 13:28:48 localhost kernel: Additional sense indicates Data phase
> error
> 
> Now, i know that it`s not an hardware prbolem(to be sure, i configured
> it on ULTRA SPARC station -
>    solaris 2.6 + windows nt workstation and it workes without any
> problem.
> I also use new media.
> sure , i used an old Dynatek tape before and it worked fine , untill it
> died.
> And yes i tried to play with dump arguments( dump 0usf 410 .........)
> and yes i "played" with mt options. but without any luck
> 
> Any ideas
> 
> Thanks
> Avishay
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to