LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 07-13-2004, 10:54 PM   #16
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 66

Original Poster
Rep: Reputation: 15

Thanks tradewind, but I am positive the tape drive is IDE. I will look into your commands when I get back to the office.
 
Old 07-14-2004, 12:33 AM   #17
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 66

Original Poster
Rep: Reputation: 15
I'm almost certain the tape drive is being recognized as HDD. Does this mean I need an emulator?
 
Old 07-14-2004, 02:49 AM   #18
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
Have you tried
Code:
> tar -cf /dev/hdd /srv
?
 
Old 07-14-2004, 07:47 AM   #19
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Quote:
Originally posted by CRCool75
I'm almost certain the tape drive is being recognized as HDD. Does this mean I need an emulator?
Try using the mt command to 'talk' to the tape drive. For example:
mt -f /dev/tape rewind
mt -f /dev/tape fsf 1

If /dev/hdd is really your tape drive you should see some tape movement. Did you look in the output of dmesg for your Travan tape?
 
Old 07-14-2004, 09:41 AM   #20
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by stickman
Try using the mt command to 'talk' to the tape drive. For example:
mt -f /dev/tape rewind
mt -f /dev/tape fsf 1

If /dev/hdd is really your tape drive you should see some tape movement. Did you look in the output of dmesg for your Travan tape?
If I replace "tape" with "hdd", it gives me the following message:

mt: /dev/hdd is not a character special file
 
Old 07-14-2004, 12:19 PM   #21
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 66

Original Poster
Rep: Reputation: 15
Is there a problem with it being an IDE drive rather than SCSI?
 
Old 07-14-2004, 01:19 PM   #22
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Try the following:
ls -ld /dev/hdd*

Then try those...
 
Old 07-14-2004, 08:28 PM   #23
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by stickman
Try the following:
ls -ld /dev/hdd*

Then try those...
I punched that in and it listed all the devices starting with "hdd". Was I supposed to get something from that?
 
Old 07-15-2004, 07:22 AM   #24
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
I was suggesting that you try those (ie /dev/hdd1) for your tape device if you suspect that it's showing up as hdd. Do you see anything about your Travan in the dmesg output?
 
Old 07-17-2004, 12:19 AM   #25
jerrymei
LQ Newbie
 
Registered: Feb 2004
Distribution: Red Hat
Posts: 20

Rep: Reputation: 0
Hi,

After reading all these posts now I am sure you have a good understanding of tar. In order to check if your tape drive is working or not you can use the "mt status" command. If your tape is installed properly it gives you the status of your tape, but if it gave you this error "/dev/tape: No such file or directory" it means you have not installed your tape drive properly. Check to see what this link is pointing to "ls -l /dev/tape" then you can come to know what is your tape drive device file.

For backing up also you might want to consider the star command which is very usefull.

Good luck
 
Old 07-18-2004, 07:01 PM   #26
alexr186
Member
 
Registered: Jul 2003
Location: Maine, USA
Distribution: Suse 9.1 Pro
Posts: 122

Rep: Reputation: 15
For the first question, write a script with a Synchronizer and then have cron run it. You can make the script mount or do anything else you need it to do, And cron will run it with out a user even loged in.
 
Old 07-23-2004, 09:01 PM   #27
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 66

Original Poster
Rep: Reputation: 15
Thanks for all the help guys, and I am terribly sorry for not getting back in here sooner. We have decided to purchase all new IBM equipment, already installed and ready to go live too. The old equipment is no longer needed at this moment and I have been pulled off of it. However, I am still going to figure out this deal for future reference. I email Suse directly and they said I need to use the IDE-SCSI emulator.

Again I greatly appreciate all your efforts and I am going to bookmark this thread, heh.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VI : Copying Selected Text Chaitanyayardi Linux - Software 1 11-10-2005 07:40 AM
backing up a directory to another hard drive aducarrab Linux - Newbie 1 01-29-2005 09:27 PM
AGAIN.. error.. basesystem not selected Remote Mandriva 5 04-15-2004 09:48 AM
Starting terminal from nautilus at selected directory ericwsf Linux - General 0 04-14-2004 04:15 PM
backing up directory to CD-RW drive? jermo5 Linux - Software 2 08-06-2003 03:09 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration