From: <Erw...@sy...> - 2005-06-07 16:15:10
|
RE Niall After erasing, i'll give you all infos about each questions you asked to m= e. What output do you get from: " mt status " ? [root@annuaire31 local]# mt -f /dev/st0 status SCSI 2 tape drive: File number=3D0, block number=3D0, partition=3D0. Tape block size 4096 bytes. Density code 0x47 (TR-5). Soft error count since last status=3D0 General status bits on (41010000): BOT ONLINE IM_REP_EN Are you using version 1.2.1 of flexbackup? Yes =20 OK - take compression and the tape out of your next test. Make a directory /tmp/FlexTest, =20 set these options and run flexbackup again. $compress =3D 'false'; $device =3D '/tmp/FlexTest/'; Now " flexbackup -test-tape-drive " will say, 'No use trying tape drive tes= ts on directories!', but it will tell you if the rest of your syntax is correc= t. Say nothing so syntax ok If you get no errors, run it again without compression but with the tape: $compress =3D 'false'; $device =3D '/dev/nst0'; [root@annuaire31 flextest]# flexbackup -test-tape-drive -compress=3Dfalse -device=3Dst0 flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Testing will *erase* the tape currently in the drive! | Hit CTRL-C to abort within 10 seconds... |------------------------------------------------------------ | If for some reason this program does not exit within a few minutes, | Hit CTRL-C, and try adjusting $blksize, $pad_blocks, or $mt_blksize. |------------------------------------------------------------ | Rewinding & erasing tape... | Creating index key 200506071610 |------------------------------------------------------------ At block 0. Writing test file #1 Kilobytes Out 160 At block 0. Writing test file #2 Kilobytes Out 10 At block 0. Writing test file #3 Kilobytes Out 160 At block 0. Rewinding... Skipping index label... At block 0. Reading test file #1 Kilobytes Out 160 At block 0. Reading test file #2 Kilobytes Out 160 At block 0. Reading test file #3 Kilobytes Out 160 At block 0. Comparing... Les fichiers /etc/flexbackup.conf et /tmp/test2.3734 sont diff=C3=A9rents. FAILURE! Problem with tape driver or parameters. Please see the FAQ or try changing the $blksize, $pad_blocks, or $mt_blksize settings. =20 [root@annuaire31 flextest]# flexbackup -test-tape-drive -compress=3Dfalse -device=3Dnst0 flexbackup version 1.2.1 /etc/flexbackup.conf syntax OK Errors: $device must be set to a directory, a local device, or a remote device =20 Please answer the list rather than me personally, so that others may benefit and offer further advice. Good luck, Niall On Mon, 6 Jun 2005 Erw...@sy... wrote: > Hi Niall. > Yes, I've already tried all this feature. > For the compression to I've already tried bzip, gzip, hardware and so on. > My impression is the next one. > After each > flexbackup-test-tape-drive > It send me >=20 > Comparing... > directory /etc/flexbackup.conf and /tmp/test2.10734 are diff=C3=A9rents >=20 > FAILURE! Problem with tape driver or parameters. Please see the FAQ=20 > or try changing the $blksize, $pad_blocks, or $mt_blksize settings. >=20 > SO I've tried to see what is talking about this /tmp/test. > I modified the script and I copy them into a directory and when i=20 > open it it was just the /usr/bin/flexbackup. > SO no idea but I continue. > Thanks a lot for your help >=20 > -----Message d'origine----- > De : Niall Brosnan [mailto:ni...@la... <mailto:ni...@la...> ] Envoy=E9 : lundi 6=20 > juin 2005 11:46 =C0 : CHEVALIER, Erwan -Syntegra FR Objet : Re:=20 > [flexbackup-help] blksize parameters (fwd) >=20 > Hi Erwan, > here is the message as sent to the list on Thursday. > Do you usually receive list mail? >=20 > Hope it helps, > Niall >=20 > ---------- Forwarded message ---------- > Date: Thu, 2 Jun 2005 11:29:06 +0100 (IST) > From: Niall Brosnan <ni...@cs...> > To: fle...@li... > Subject: Re: [flexbackup-help] blksize parameters >=20 > Dear Erwan, >=20 > > From: Erw...@sy... > > Dear Flexbackup users, > > I've tried all blksize between 0 and 512 which my max, and none of=20 > > this values is correct, so anyone can explain to me, where i'm wrong. > > Here is my Flexbackup.conf >=20 > I assume you are using linux, and you should first change this setting: > > $device =3D '/dev/st0'; > to > $device =3D '/dev/nst0'; > This is very important! >=20 > > Dell Powervault 100T DAT 72 with magnetic tape of 36-72 GB. > If your tape drive has compression turned on, you should not use=20 > software compression. > I would recommend using software compression where possible as you=20 > will get better predictions on size, and you will get better=20 > portability of your backups. > It's far easier to recompile bzip2 for a new platform than it is to=20 > reverse engineer a compression algorithm on a chip when your Dell tape drive dies. >=20 > What errors are you seeing in /var/log/flexbackup ? > Why do you feel that the blksize is your problem? >=20 > Niall >=20 >=20 >=20 >=20 >=20 > ******************************************************************** >=20 > This email may contain information which is privileged or=20 > confidential. If you are not the intended recipient of this email,=20 > please notify the sender immediately and delete it without reading,=20 > copying, storing, forwarding or disclosing its contents to any other=20 > person Thank you >=20 > Check us out at http://www.bt.com/consulting <http://www.bt.com/consultin= g> >=20 > ******************************************************************** >=20 --=20 # The information transmitted in this Notice is intended only for # # the person or entity to which it is addressed and may contain # # confidential and/or privileged material. # # Any review, reproduction, retransmission, dissemination or other use # # of, or taking of any action in reliance upon, this information by # # persons or entities other than the intended recipient is prohibited. # # Niall Brosnan # Tel: +353-87-2337386 # # Communication Systems Consultants # Fax: +353-1-4926806 # # Athronan, Dunsany, Co. Meath, Ireland # mail: ni...@cs... # # GPG key fingerprint =3D 597C 0514 95B9 48DD 216F B892 5B51 D257 0D44 5B01= # Un*x: Because cat is faster than a mouse. =20 ******************************************************************** This email may contain information which is privileged or confidential. If = you are not the intended recipient of this email, please notify the sender = immediately and delete it without reading, copying, storing, forwarding or = disclosing its contents to any other person Thank you Check us out at http://www.bt.com/consulting ******************************************************************** |