Re: multiple dumps to single tape
On Tue, 16 Dec 2003 09:55 am, David Bear wrote: > if I am writing multiple dumps to a single tape, is it wise to have mt > write a setmark after dumping each file system? There is no real need to do this. If you want to write dump after dump onto a tape in the one session use the /dev/nsa0 device. This device is the same as /dev/sa0 but doesnt rewind between sessions. So the tape will be ready for the next dump automatically. If you are using the tape to archive data and want to write multiple dumps to tape over different sessions then you can position the tape drive to the end of the tape by using the mt eom command. Make sure that you note what sessions are on the tape so that you can use the mt fsf command to get the data off later. Remember that mt fsf x goes forward x files, it doesnt go to x file. As with everything important try it out first. Nothing is worse than being bitten on the glaven by your own laziness with the hurting and the embarassment and the oy. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multiple dumps to single tape
On Tue, 16 Dec 2003 10:25, David Bear wrote: > if I am writing multiple dumps to a single tape, is it wise to have mt > write a setmark after dumping each file system? When a process closes the tape device, if any data has been written, the driver causes a FileMark to be written. If you opened the device as /dev/nsa0 then mt would write a second FileMark so on reading back you would find a zero length file between consecutive dumps. (if you use /dev/sa0 then the second FileMark will be written at the beginning of the tape effectively discarding previously written dump) Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multiple dumps to single tape
> > if I am writing multiple dumps to a single tape, is it wise to have mt > write a setmark after dumping each file system? We write multiple dumps to tapes and never write extra marks. Dump writes a file mark and that is plenty as far as I know. It has been plenty for us. Many restores have worked fine on many different machines. jerry > > -- > David Bear > phone:480-965-8257 > fax: 480-965-9189 > College of Public Programs/ASU > Wilson Hall 232 > Tempe, AZ 85287-0803 > "Beware the IP portfolio, everyone will be suspect of trespassing" > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"