Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
2 Pages V   1 2 >  
Reply to this topicStart new topic
> System Backup, SCSI device
hearny
post Aug 25 2004, 08:15 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



When Backing up to Tape the following error message is returned

"tar: /dev/st0: Cannot open: No such device or address
tar: Error is not recoverable: exiting now"

the tape is not accessible at all the command "tar -cvf /dev/st0 /home" gives the same error

the tape is inserted and not write protected.

Can anybody please help me as it was working last week.
Go to the top of the page
 
+Quote Post
michaelk
post Aug 25 2004, 09:01 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Have you modified anything in the last week?
What distribution, version are you running?
What type of tape drive?
What is the output of the following command?
cat /proc/scsi/scsi
Go to the top of the page
 
+Quote Post
hearny
post Aug 25 2004, 09:08 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



Nothing Modified
SuSe 9
Tape Drive is VXA-1
and the output is:

Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ICP Model: Host Drive #00 Rev:
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: ICP Model: Host Drive #01 Rev:
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 01 Id: 06 Lun: 00
Vendor: DELL Model: 1x6 U2W SCSI BP Rev: 5.33
Type: Processor ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: ECRIX Model: VXA-1 Rev: 2B7B
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 05 Lun: 00
Vendor: NEC Model: CD-ROM DRIVE:466 Rev: 1.06
Type: CD-ROM ANSI SCSI revision: 02


Im fairly new to Linux so ive no idea how to fix it, I can see that the tape device shows up in the output.

Any help you could give me would be greatly appreciated,
Thanks,
Hearny
Go to the top of the page
 
+Quote Post
michaelk
post Aug 25 2004, 09:12 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Does this command output the same error?
mt -f /dev/st0 status
Go to the top of the page
 
+Quote Post
hearny
post Aug 25 2004, 09:16 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



Yes it did
thanks again
Go to the top of the page
 
+Quote Post
michaelk
post Aug 25 2004, 09:20 AM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Grasping at straws but does the CDROM drive still function?
Go to the top of the page
 
+Quote Post
Jim
post Aug 25 2004, 09:27 AM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



Do two things. Go into your /dev folder and see if you can see it. And run the command dmesg its a lot of output so you could try to filter it through the grep command for some words like dmesg | grep tape or something like that. But see if it shows up. You might just have to go through line by line and look dmesg | less. But make sure that your computer sees it period, if not, if might be an issue of a loose connection, or worse, something might be physically wrong with the drive. But if the computer sees it than we know where to start.

Quick lesson for a newbie: The pipe | as its called routes one function to another. So a function like dmesg which has a lot of output can be routed to a fuction like grep, which is a search command, wit the pipe. Grep will filter it for a specific string. You can even pipe togeather multiple command dmesg | grep tape | less


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
hearny
post Aug 25 2004, 09:28 AM
Post #8


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



No It isnt, it just gets worse
Go to the top of the page
 
+Quote Post
Jim
post Aug 25 2004, 09:31 AM
Post #9


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



Wow, your quick, so you want to do some live tech support here? Ok, lets see. You don't have another OS on the system right?

Give me a little info here. You had to working, you could back it up, run all the commands and all that, than it just stopped working? Or was it never working? What is the X factor, any ideas?


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
michaelk
post Aug 25 2004, 09:38 AM
Post #10


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



The probability of both devices going bad are slim. Verify the cables and terminator are still secure. In addition to looking at dmesg, look at /var/log/messages. There could be some errors relating to the SCSI controller.

Also Look at the output of lsmod. Are all of the SCSI modules still loaded?
Go to the top of the page
 
+Quote Post
hearny
post Aug 25 2004, 09:38 AM
Post #11


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



The no was meant for michaelk sorry
When i ran the dmesg command nothing about tape or SCSI was found,
backups worked last week, nothing has been changed, at least not by me but it wont work now
If you can help I really appreciate it
Go to the top of the page
 
+Quote Post
Jim
post Aug 25 2004, 09:42 AM
Post #12


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



So you went through the whole dmesg list or did you just grep for tape and SCSI? and what about /dev/st0?

If you want, just post the whole dmesg out put, I will filter through it, its not really that long, its just long.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
hearny
post Aug 25 2004, 09:46 AM
Post #13


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



I checked for both of them and SCSI but nothing out of the ordinary
Go to the top of the page
 
+Quote Post
hearny
post Aug 25 2004, 09:49 AM
Post #14


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



according to lsmod the modules are still loaded,
the messages file was very big couldnt see any related errors though
Go to the top of the page
 
+Quote Post
Jim
post Aug 25 2004, 09:56 AM
Post #15


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



Ya, just do me a favor and post it, or can you not just cut and paste it over, because if you can't, than thats understandable. Umm, ok.

Have you tried a different tape? Maybe the tape is bad.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
hearny
post Aug 25 2004, 10:03 AM
Post #16


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



Tried different tape already no joy
Go to the top of the page
 
+Quote Post
Jim
post Aug 25 2004, 10:07 AM
Post #17


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



That was not the output from dmesg that I was expecting at all, I have never seen it look like that. What kind of system are you running? Usually its all the hardware information not network stuff. Humm, thats odd.

Did you say the device is or isn't in the /dev folder? I am going to go look some stuff up. It might take me a min to get a response up.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
hearny
post Aug 25 2004, 10:09 AM
Post #18


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



it is in the dev folder yes
Go to the top of the page
 
+Quote Post
hearny
post Aug 25 2004, 10:19 AM
Post #19


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 23-August 04
Member No.: 3,612



I can access the cdrom sorry
Go to the top of the page
 
+Quote Post
Jim
post Aug 25 2004, 10:19 AM
Post #20


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



What kind of system?

What happens when you put in cat /dev/st0 with a tape in the drive.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 05:23 AM