Hi, On 9/28/2006 3:17 PM, Hristo Benev wrote: > Arno Lehmann wrote: ... >>Try modprobe sg. If this doesn't work either you don't have sg as a >>module, you don't run linux :-), or there's some problem which should >>show up in the system log. >> >> > This one worked ;-) ... > > Now I'm trying to decrypt the output... > > Most of it is OK > > but where I can find decryption of compression type 0x20, > and what is "decomp"? DEcompression???
Take a look at this output from a DDS drive here: goblin:~ # tapeinfo -f /dev/sg4 Product Type: Tape Drive Vendor ID: 'HP ' Product ID: 'C1553A ' Revision: '9503' Attached Changer: No MinBlock:1 MaxBlock:16777215 SCSI ID: 5 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: Not Loaded Density Code: 0x24 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x20 DeCompType: 0x0 Block Position: 65075 DataCompEnabled is the key here, I think. CompType - Compression Type - is probably not important. I assume it'S some sort of an indicator to what algorithm is used, but as long as I can't change that I don't worry about it. DeComp means, as you guessed, decompression. So, in my example, you see a drive which currently uses compressed mode and will decompressed compressed data when it encounters some. I never had to worry about these details, though - once I learned that I could rely on the drive working correctly no intercation was necessary. Arno >> >> >>If there's no sg you should check how your kernel is configured. IMO, sg >>is a very valuable interface for all sorts of stuff. Like getting >>information about devices :-) >> >>Arno >> >> >> >> >>>Thank you anyway. >>> >>>-- >>>Hristo Benev >>>IT Manager >>> >>>WAVEROAD >>>Partners in Telecommunications >>> >>>514-935-2020 x225 T >>>514-935-1001 F >>>www.waveroad.ca <http://www.waveroad.ca> <http://www.waveroad.ca> >>>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> >>> >>> >>> >> >> > > > -- > Hristo Benev > IT Manager > > WAVEROAD > Partners in Telecommunications > > 514-935-2020 x225 T > 514-935-1001 F > www.waveroad.ca <http://www.waveroad.ca> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users