- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Cannot Open /dev/st0
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 05:25 AM
тАО04-25-2005 05:25 AM
Cannot Open /dev/st0
I`m use Red Hat 2.1 Enterprise and connect the new tape device, a Dell tape Device.
When I try backup with tar, the message appear:
tar: /dev/st0: Cannot open: No such device
tar: Error is not recoverable: exiting now
The file permissions:
crw-rw---- 1 root disk 9, 0 Mar 19 2002 /dev/st0
Dmesg is atached
I execute
depmod
modprobe st
and
depmod -a
modprobe aic7xxx
but the same message appear.
Can anyone help me please.
My server don`t have backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 05:54 AM
тАО04-25-2005 05:54 AM
Re: Cannot Open /dev/st0
in your dmesg output there is no info about
tape (st) driver.
show me output commands:
1. cat /proc/scsi/scsi
2. lsmod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 06:09 AM
тАО04-25-2005 06:09 AM
Re: Cannot Open /dev/st0
What kind of a Dell tape device is this? Is it SCSI?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 06:40 AM
тАО04-25-2005 06:40 AM
Re: Cannot Open /dev/st0
Model is a Dell Super DLT 320 Power Volt 110T.
[root@soaapp03p root]# lsmod
Module Size Used by Not tainted
vfat 13244 0 (autoclean)
fat 40408 0 (autoclean) [vfat]
ide-tape 61120 0 (autoclean)
sr_mod 17592 0 (autoclean) (unused)
cdrom 35520 0 (autoclean) [sr_mod]
st 30548 0 (autoclean) (unused)
tg3 50496 1
usb-ohci 23456 0 (unused)
usbcore 68896 1 [usb-ohci]
ext3 71264 6
jbd 55636 6 [ext3]
aic7xxx 127200 0
aacraid 34516 8
sd_mod 13856 8
scsi_mod 127292 5 [sr_mod st aic7xxx aacraid sd_mod]
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 06:45 AM
тАО04-25-2005 06:45 AM
Re: Cannot Open /dev/st0
one more file
cat /proc/scsi/scsi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 06:49 AM
тАО04-25-2005 06:49 AM
Re: Cannot Open /dev/st0
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: DELL Model: PERCRAID Mirror Rev: V1.0
Type: Direct-Access ANSI SCSI revision: 02
Thank's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 07:10 AM
тАО04-25-2005 07:10 AM
Re: Cannot Open /dev/st0
your system doesn't see tape drive - no entry in /proc/scsi/scsi.
Is your tape recognized by SCSI Adapter BIOS during system startup ?
Maby you have hardware problem -check cable, terminator if needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 07:17 AM
тАО04-25-2005 07:17 AM
Re: Cannot Open /dev/st0
Sorry,
I`m new user in Linux.
I checked cables and the terminator is OK.
The Tape is a LVD. This tape work ok at a windows system
Dell said that the drive was at System Kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 11:56 AM
тАО04-25-2005 11:56 AM
Re: Cannot Open /dev/st0
Or have you since power-cycled/rebooted the server?
You may need to get the SCSI subsystem to rescan the SCSI bus'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 06:24 PM
тАО04-25-2005 06:24 PM
Re: Cannot Open /dev/st0
If it doens't show there, no matter what you do on Linux level will activate your tape drive. But it will tell that you have a hardware problem, not a Linux problem.
Once you fix that, i am sure your tape drive on Linux will work just fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2005 03:29 AM
тАО04-26-2005 03:29 AM
Re: Cannot Open /dev/st0
Thank`s.
I don`t know what do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2005 03:38 PM
тАО04-26-2005 03:38 PM
Re: Cannot Open /dev/st0
There was a post a few days ago with hot-swap drives, which lists how to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2005 05:57 PM
тАО04-26-2005 05:57 PM
Re: Cannot Open /dev/st0
I had the same problem earlier on. Linux could not able to detect the external tape drives (for that matter any external connected devices) reliably.
You have two choices: Reboot the server and keep the tape drive powered on when the system boots up, so when kernel scans the SCSI bus it will detect the tape drive. If kernel detects the tape drive then dmesg output will list st0 or nst0 entries
Another not so reliable method is to power on the tape drive and ask the kernel to rescan the SCSI bus. Check the below link on how to accomplish this.
http://www.whoopis.com/howtos/tapebackup.html
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 07:45 AM
тАО05-16-2005 07:45 AM
Re: Cannot Open /dev/st0
Sorry but I rebooted my server yesterday and the problem continue.
How Can I get the tape drive model for put in the startup?
Anybody help me?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 02:02 PM
тАО05-16-2005 02:02 PM
Re: Cannot Open /dev/st0
It has a big banner saying "Adaptec ...". These will be followed by some lines which start with a number between 1 and 16.
At least one of them should be your tape drive.
Reboot the server while watching the screen. Use the 'Pause' key on the keyboard to hold the display whilst you write the details down.
Come back with that info.
Also, once the machine is booted, grab the contents of '/proc/scsi/scsi' too.
Post back with the details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2005 08:56 AM
тАО07-07-2005 08:56 AM
Re: Cannot Open /dev/st0
./staging/
./staging/jitsicpdc
tar: /dev/st0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now
My tape drive is detected: (/proc/scsi/scsi)
Attached devices:
Host: scsi1 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: Ultrium 2-SCSI Rev: F48D
Type: Sequential-Access ANSI SCSI revision: 03
and the modules are loaded (lsmod)
Module Size
loop 8496
vmnixmod 201952
bcm5700 79428
st 25940
so it is being loaded... same message.
tar: /dev/st0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2005 07:12 PM
тАО07-07-2005 07:12 PM
Re: Cannot Open /dev/st0
To start the tape drive in the beginning use your /etc/fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2005 09:47 AM
тАО07-10-2005 09:47 AM
Re: Cannot Open /dev/st0
You can force a SCSI detection without rebooting the server using the rescan-scsi-bus.sh script:
www.garloff.de/kurt/linux/rescan-scsi-bus.sh
If you still have the "No such device" error, then your device is not being detected.