cruzeta
2007-01-21, 03:35 AM CST
I found a lot of threads about tape drives, each one with a peace of information. Here it go step by step what worked for me.
1- This Sony IDE tape does not work with DMA !!!! :eek: ...we have do disable it.
At /etc/grub.conf let us add this:
title Fedora Core (2.6.19-1.2895.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.19-1.2895.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb ide=nodma quiet
initrd /initrd-2.6.19-1.2895.fc6.img
2- Now we have to set the ide-scsi module to be loaded every time the system reboot.
At /etc/rc.d/rc.local let us add these lines:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
# *** Added by Cruzeta in 2007/01/20 to make SDX-460V work ***
modprobe ide-scsi
# *** Added by Cruzeta in 2007/01/20 to make SDX-460V work ***
3- Reboot
we found the tape at /dev/tape (Fedora automatic created this link)
4- Testing
We used the Sony Tape Tools for Linux we’ve got from this Sony site:
http://sony.storagesupport.com/ait/tapeutility_linux.htm
Drive test:
# ./sonytape /dev/tape -t
SONY tape device detected.
SONY SDX-460V Revision: 0100
Getting nori drive trace.
This process can take a few minutes.
Nori drive trace length = 0x598db
Nori drive trace complete(see nori_trace.txt).
Done.
Read and Write Test:
# ./sonytape /dev/tape -w nori_trace.txt
SONY tape device detected.
SONY SDX-460V Revision: 0100
Checking tape drive write and read function.
Warning!! This process will write over data and takes several minutes.
Data compression disabled.
1,638 MBytes of incremented data was written in 392 seconds.
Write transfer rate = 4.18 MBytes/sec
1,638 MBytes of incremented data was read in 428 seconds.
Read transfer rate = 3.83 MBytes/sec
Data compression enabled.
1,638 MBytes of incremented data was written in 340 seconds.
Write transfer rate = 4.82 MBytes/sec
1,638 MBytes of incremented data was read in 335 seconds.
Read transfer rate = 4.89 MBytes/sec
Current RAW count: 0
Current ECC-3 count: 0
Current tape load count: 4
Write and read function check complete.
Done.
Read the "readme_sonytape_linux_v2.5.txt" within the package for more commands.
Now you can make your backcups direct into tape using the tar command:
# tar -czf /dev/st0 /home
I am trying to make BackuPC work... :confused:
Hope it can help.
Good Luck.
1- This Sony IDE tape does not work with DMA !!!! :eek: ...we have do disable it.
At /etc/grub.conf let us add this:
title Fedora Core (2.6.19-1.2895.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.19-1.2895.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb ide=nodma quiet
initrd /initrd-2.6.19-1.2895.fc6.img
2- Now we have to set the ide-scsi module to be loaded every time the system reboot.
At /etc/rc.d/rc.local let us add these lines:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
# *** Added by Cruzeta in 2007/01/20 to make SDX-460V work ***
modprobe ide-scsi
# *** Added by Cruzeta in 2007/01/20 to make SDX-460V work ***
3- Reboot
we found the tape at /dev/tape (Fedora automatic created this link)
4- Testing
We used the Sony Tape Tools for Linux we’ve got from this Sony site:
http://sony.storagesupport.com/ait/tapeutility_linux.htm
Drive test:
# ./sonytape /dev/tape -t
SONY tape device detected.
SONY SDX-460V Revision: 0100
Getting nori drive trace.
This process can take a few minutes.
Nori drive trace length = 0x598db
Nori drive trace complete(see nori_trace.txt).
Done.
Read and Write Test:
# ./sonytape /dev/tape -w nori_trace.txt
SONY tape device detected.
SONY SDX-460V Revision: 0100
Checking tape drive write and read function.
Warning!! This process will write over data and takes several minutes.
Data compression disabled.
1,638 MBytes of incremented data was written in 392 seconds.
Write transfer rate = 4.18 MBytes/sec
1,638 MBytes of incremented data was read in 428 seconds.
Read transfer rate = 3.83 MBytes/sec
Data compression enabled.
1,638 MBytes of incremented data was written in 340 seconds.
Write transfer rate = 4.82 MBytes/sec
1,638 MBytes of incremented data was read in 335 seconds.
Read transfer rate = 4.89 MBytes/sec
Current RAW count: 0
Current ECC-3 count: 0
Current tape load count: 4
Write and read function check complete.
Done.
Read the "readme_sonytape_linux_v2.5.txt" within the package for more commands.
Now you can make your backcups direct into tape using the tar command:
# tar -czf /dev/st0 /home
I am trying to make BackuPC work... :confused:
Hope it can help.
Good Luck.