Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Installation Help

Installation Help Need help on installation? Having problems? Get help here on your fresh installations or upgrades.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2007-01-21, 03:35 AM CST
cruzeta Offline
Registered User
 
Join Date: Jan 2007
Posts: 3
IDE Sony SDX-460V AIT Tape Drive on FC6 how to - REV. 1.0.2

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 !!!! ...we have do disable it.

At /etc/grub.conf let us add this:

Code:
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:

Code:
#!/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/t...lity_linux.htm

Drive test:

Code:
# ./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:

Code:
# ./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...

Hope it can help.

Good Luck.

Last edited by cruzeta; 2007-02-10 at 10:01 AM CST. Reason: REVISION
Reply With Quote
  #2  
Old 2007-02-10, 10:09 AM CST
cruzeta Offline
Registered User
 
Join Date: Jan 2007
Posts: 3
REV. 0.0.1

This was the post before revision 1.0.2.
we could make the tape work with these settings but it freezed the server when stated a write job.
It took me 2 weeks of searching...
It is here just to show what you will find around that does not work.

DON'T USE THIS !!!! IT DOES NOT WORK !!!

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- First we have to know which device our tape is plugged in.

As root we use:

# desmeg
Or:
# desmeg | less

So we can see this near line 160:

Probing IDE interface ide0...
hdb: SONY SDX-460V, ATAPI TAPE drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: Maxtor 6Y080L0, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: max request size: 128KiB
hdc: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(33)
hdc: cache flushes supported
hdc: hdc1

Now we know the drive is at hdb.

2- this device must be set as a SCSI device to work so we have to tell it to Fedora:

At /etc/grub.conf let us add these lines:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
# *** Added by Cruzeta in 2007/01/20 to make SDX-460V work ***
hdb=ide-scsi
# *** Added by Cruzeta in 2007/01/20 to make SDX-460V work ***

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz


3- Now we have to set the ide-scsi module.

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 ***


4- Reboot

we found the tape at /dev/st0

If you are not sure the tape is at this path unload the ide-scsi module and load it again with these commands:

# modprobe -r ide-scsi (it will remove the ide-scsi module)
# modprobe ide-scsi (it will load the ide-scsi module)
# tail /var/log/messages (it will show the last log messages lines)

We see there something like:

st0: SONY SDX-460V …

5- Testing, we used the Sony Tape Tools for Linux we’ve got from this Sony site:

http://sony.storagesupport.com/ait/t...lity_linux.htm

# ./sonytape /dev/st0 –t

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

Hope it can help.

Good Luck.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BusLogic SCSI and Sony DDS Tape drive Instabin Hardware 2 2006-06-19 12:27 PM CDT
Install Sony SCSI SDT-9000 Tape driver laurent1 Hardware 1 2005-10-31 03:18 AM CST
Sony SDX-460V Tape detected as hdb BCD7b7 Hardware 5 2005-10-16 01:20 AM CDT
tape drive talkstock888 Hardware 2 2005-04-05 03:55 PM CDT
scsi Sony dds3 tape problem jdudeck Hardware 7 2004-03-29 08:07 AM CST

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 04:22 AM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
vB Enterprise Translator (vBET) made by NLP-er