Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Amanda problems creating backup to external usb disk (http://www.linux-archive.org/gentoo-user/9495-amanda-problems-creating-backup-external-usb-disk.html)

"pepone.onrez" 11-30-2007 07:48 PM

Amanda problems creating backup to external usb disk
 
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 .

"pepone.onrez" 12-01-2007 12:11 AM

Amanda problems creating backup to external usb disk
 
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 .


All times are GMT. The time now is 02:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.