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