1 |
I get this error when check the status of my virtual tape. |
2 |
|
3 |
amanda@zeus ~ $ /usr/sbin/ammt -f /backup/vtapes/ydra/slots status |
4 |
/backup/vtapes/ydra/slots status failed: Inappropriate ioctl for device |
5 |
|
6 |
My vtape partition is in is own partition as rerpoted by mount |
7 |
/dev/sdc1 on /backup/vtapes/ydra type jfs (rw) |
8 |
|
9 |
|
10 |
And here is dmesg relative ouput for the usb diks and usb-storage |
11 |
|
12 |
Initializing USB Mass Storage driver... |
13 |
scsi4 : SCSI emulation for USB Mass Storage devices |
14 |
usbcore: registered new interface driver usb-storage |
15 |
USB Mass Storage support registered. |
16 |
usb-storage: device found at 2 |
17 |
usb-storage: waiting for device to settle before scanning |
18 |
|
19 |
scsi 4:0:0:0: Direct-Access ST350063 0A 3.AA PQ: 0 ANSI: 0 |
20 |
sd 4:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB) |
21 |
sd 4:0:0:0: [sdc] Write Protect is off |
22 |
sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00 |
23 |
sd 4:0:0:0: [sdc] Assuming drive cache: write through |
24 |
sd 4:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB) |
25 |
sd 4:0:0:0: [sdc] Write Protect is off |
26 |
sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00 |
27 |
sd 4:0:0:0: [sdc] Assuming drive cache: write through |
28 |
sdc: sdc1 sdc2 sdc3 |
29 |
sd 4:0:0:0: [sdc] Attached SCSI disk |
30 |
sd 4:0:0:0: Attached scsi generic sg2 type 0 |
31 |
usb-storage: device scan complete |
32 |
|
33 |
|
34 |
I read about a similar error in this post |
35 |
http://forums.zmanda.com/showthread.php?t=462&highlight=ioctl |
36 |
|
37 |
A guy solve a similar problem on debian passing this option to configure |
38 |
"--with-maxtapeblocksize=64" |
39 |
|
40 |
I go to test this on gentoo an report if this works on gentoo . |