public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Amanda problems creating backup to external usb disk
@ 2007-11-30 20:48 pepone.onrez
  2007-12-01  1:11 ` [gentoo-user] " pepone.onrez
  0 siblings, 1 reply; 2+ messages in thread
From: pepone.onrez @ 2007-11-30 20:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1541 bytes --]

I get this error when check the status of my virtual tape.

amanda@zeus ~ $ /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 .

[-- Attachment #2: Type: text/html, Size: 1872 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: Amanda problems creating backup to external usb disk
  2007-11-30 20:48 [gentoo-user] Amanda problems creating backup to external usb disk pepone.onrez
@ 2007-12-01  1:11 ` pepone.onrez
  0 siblings, 0 replies; 2+ messages in thread
From: pepone.onrez @ 2007-12-01  1:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1874 bytes --]

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 <pepone.onrez@gmail.com> wrote:

>
> I get this error when check the status of my virtual tape.
>
> amanda@zeus ~ $ /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 .
>
>
>

[-- Attachment #2: Type: text/html, Size: 2395 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-01  1:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30 20:48 [gentoo-user] Amanda problems creating backup to external usb disk pepone.onrez
2007-12-01  1:11 ` [gentoo-user] " pepone.onrez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox