From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5217 invoked from network); 15 Mar 2000 23:23:04 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Mar 2000 23:23:04 -0000 Received: from ac.housing.berkeley.edu (root@ac.Housing.Berkeley.EDU [169.229.70.202]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA09937 for ; Wed, 15 Mar 2000 18:23:03 -0500 Received: from ac.housing.berkeley.edu (sandune.housing.berkeley.edu [169.229.70.205]) by ac.housing.berkeley.edu (8.8.7/8.8.7) with ESMTP id PAA15503 for ; Wed, 15 Mar 2000 15:23:03 -0800 Sender: kraj@ac.housing.berkeley.edu Message-ID: <38D01B50.2A5B6AE5@ac.housing.berkeley.edu> Date: Wed, 15 Mar 2000 15:22:56 -0800 From: Karanraj Guleria X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: AIT Drive Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello All, I'm trying to setup a Sony sdx 300 c AIT tape drive on a Linux box here at work. It's been detected rightly as a SCSI tape drive pointed to by /dev/st0. I'm using the mt command to access the drive and am tarring files into it and 'catting' data out of it to be read. The problem arises from the fact that df is reporting the drive capacity at 4GB instead of 25GB which is the size of the tapes I'm using. In order to fix this I've looked at the SCSI programming howto, but haven't gotten anywhere since none of the devices are being pointed to by the generic scsi pointers (sga, sgb, etc). I basically need to know what density to set the blocks to in order to get the right data capacity returned from the tape. What should I do?