Hi again

The proble was my error , i forget the file: before the vtape path

/usr/sbin/ammt -f file:/backup/vtapes/ydra/slots status
file:/backup/vtapes/ydra/slots status: ONLINE

On Nov 30, 2007 9:48 PM, pepone. onrez <[EMAIL PROTECTED]> wrote:

>
> I get this error when check the status of my virtual tape.
>
> [EMAIL PROTECTED] ~ $ /usr/sbin/ammt -f /backup/vtapes/ydra/slots status
> /backup/vtapes/ydra/slots status failed: Inappropriate ioctl for device
>
> My vtape partition is in is own partition as rerpoted by mount
> /dev/sdc1 on /backup/vtapes/ydra type jfs (rw)
>
>
> And here is dmesg relative ouput for the usb diks and usb-storage
>
> Initializing USB Mass Storage driver...
> scsi4 : SCSI emulation for USB Mass Storage devices
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> usb-storage: device found at 2
> usb-storage: waiting for device to settle before scanning
>
> scsi 4:0:0:0: Direct-Access     ST350063 0A               3.AA PQ: 0 ANSI:
> 0
> sd 4:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB)
> sd 4:0:0:0: [sdc] Write Protect is off
> sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
> sd 4:0:0:0: [sdc] Assuming drive cache: write through
> sd 4:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB)
> sd 4:0:0:0: [sdc] Write Protect is off
> sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
> sd 4:0:0:0: [sdc] Assuming drive cache: write through
>  sdc: sdc1 sdc2 sdc3
> sd 4:0:0:0: [sdc] Attached SCSI disk
> sd 4:0:0:0: Attached scsi generic sg2 type 0
> usb-storage: device scan complete
>
>
> I read about a similar error in this post
> http://forums.zmanda.com/showthread.php?t=462&highlight=ioctl
>
> A guy solve a similar problem on debian passing this option to configure
> "--with-maxtapeblocksize=64"
>
> I go to test this on gentoo an report if this works on gentoo .
>
>
>

Reply via email to