Fw: [SLE] Re: newbe wants to backup to scsi-device
This is what is in my /etc/fstab file /dev/sda3 / reiserfs defaults 1 1 /dev/sda1 /boot ext2 defaults 1 2 /dev/sda2 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 i donot see anything in this file that can be of the tape drive?? can anyone help me?? thxs
----- Original Message ----- From: "John Pettigrew"
To: Sent: Wednesday, August 20, 2003 3:30 PM Subject: [SLE] Re: newbe wants to backup to scsi-device In a previous message, "J. van Eck (Systeembeheer)"
wrote: but when I try to access the device /dev/st0 with eg:
mt -f /dev/st0 rewind
mt returns the message "No such device".
Which suggests that it's somewhere other than /dev/st0. Is it in your /etc/fstab file?
John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Wed, 2003-08-20 at 09:41, J. van Eck (Systeembeheer) wrote:
This is what is in my /etc/fstab file
/dev/sda3 / reiserfs defaults 1 1 /dev/sda1 /boot ext2 defaults 1 2 /dev/sda2 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0
i donot see anything in this file that can be of the tape drive??
can anyone help me??
thxs
----- Original Message ----- From: "John Pettigrew"
To: Sent: Wednesday, August 20, 2003 3:30 PM Subject: [SLE] Re: newbe wants to backup to scsi-device In a previous message, "J. van Eck (Systeembeheer)"
wrote: but when I try to access the device /dev/st0 with eg:
mt -f /dev/st0 rewind
mt returns the message "No such device".
Which suggests that it's somewhere other than /dev/st0. Is it in your /etc/fstab file?
"/dev/st0" will not show up in an fstab file as it is NOT a mountable device, this is a tape drive. -st = scsi tape- Make sure that the tape drive is turned on when you start the machine, assuming it is external, or it will not be seen by the system. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
But how can I make a backup to this device. I keep getting the message :
"No such device"
----- Original Message -----
From: "Ken Schneider"
On Wed, 2003-08-20 at 09:41, J. van Eck (Systeembeheer) wrote:
This is what is in my /etc/fstab file
/dev/sda3 / reiserfs defaults 1 1 /dev/sda1 /boot ext2 defaults 1 2 /dev/sda2 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0
i donot see anything in this file that can be of the tape drive??
can anyone help me??
thxs
----- Original Message ----- From: "John Pettigrew"
To: Sent: Wednesday, August 20, 2003 3:30 PM Subject: [SLE] Re: newbe wants to backup to scsi-device In a previous message, "J. van Eck (Systeembeheer)"
wrote: but when I try to access the device /dev/st0 with eg:
mt -f /dev/st0 rewind
mt returns the message "No such device".
Which suggests that it's somewhere other than /dev/st0. Is it in your /etc/fstab file?
"/dev/st0" will not show up in an fstab file as it is NOT a mountable device, this is a tape drive. -st = scsi tape-
Make sure that the tape drive is turned on when you start the machine, assuming it is external, or it will not be seen by the system.
-- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
----- Original Message ----- From: "John Pettigrew"
To: Sent: Wednesday, August 20, 2003 3:30 PM Subject: [SLE] Re: newbe wants to backup to scsi-device In a previous message, "J. van Eck (Systeembeheer)"
wrote: but when I try to access the device /dev/st0 with eg:
mt -f /dev/st0 rewind
mt returns the message "No such device".
Which suggests that it's somewhere other than /dev/st0. Is it in your /etc/fstab file?
"/dev/st0" will not show up in an fstab file as it is NOT a mountable device, this is a tape drive. -st = scsi tape-
Make sure that the tape drive is turned on when you start the machine, assuming it is external, or it will not be seen by the system.
Further information is required, what kind of tape drive is it, is it internal or external, has it ever worked before? The more information you supply us the better we will be able to help you fix your problem. You may also include you /var/log/boot.msg file for trouble shooting purposes.
-- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
The tape drive has worked before, but in a windows machine. not in a linux
machine.
The following information is returned by YAST.
+ +--Python 02779-XXX ¦ ¦
¦¦ ¦ ¦ +--Bus : SCSI ¦ ¦
¦¦ ¦ ¦ +--Class (spec) : Tape ¦ ¦
¦¦ ¦ ¦ +--Class : Mass Storage Device ¦ ¦
¦¦ ¦ ¦ +--Device : Python 02779-XXX ¦ ¦
¦¦ ¦ ¦ +--Device name : /dev/st0 ¦ ¦
¦¦ ¦ ¦ +--Model : ARCHIVE Python 02779-XXX ¦ ¦
¦¦ ¦ ¦ +--Rev : 658A ¦ ¦
¦¦ ¦ ¦ +--Unique key : m9fb.AZnhPU9aNK5 ¦ ¦
¦¦ ¦ ¦ +--Vendor : ARCHIVE ¦ ¦
¦¦ ¦ ¦ +--driver : aic7xxx ¦ ¦
It is an internal DAT tape drive.
The following is a part of the boot.msg
<4>VFS: Mounted root (ext2 filesystem).
<6>scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
<4>
Further information is required, what kind of tape drive is it, is it internal or external, has it ever worked before? The more information you supply us the better we will be able to help you fix your problem. You may also include you /var/log/boot.msg file for trouble shooting purposes.
-- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Wed, 2003-08-20 at 10:28, J. van Eck (Systeembeheer) wrote:
The tape drive has worked before, but in a windows machine. not in a linux machine. The following information is returned by YAST.
+ +--Python 02779-XXX ¦ ¦ ¦¦ ¦ ¦ +--Bus : SCSI ¦ ¦ ¦¦ ¦ ¦ +--Class (spec) : Tape ¦ ¦ ¦¦ ¦ ¦ +--Class : Mass Storage Device ¦ ¦ ¦¦ ¦ ¦ +--Device : Python 02779-XXX ¦ ¦ ¦¦ ¦ ¦ +--Device name : /dev/st0 ¦ ¦ ¦¦ ¦ ¦ +--Model : ARCHIVE Python 02779-XXX ¦ ¦ ¦¦ ¦ ¦ +--Rev : 658A ¦ ¦ ¦¦ ¦ ¦ +--Unique key : m9fb.AZnhPU9aNK5 ¦ ¦ ¦¦ ¦ ¦ +--Vendor : ARCHIVE ¦ ¦ ¦¦ ¦ ¦ +--driver : aic7xxx ¦ ¦
It is an internal DAT tape drive.
The following is a part of the boot.msg
<4>VFS: Mounted root (ext2 filesystem). <6>scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8 <4>
<4> aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs <4> <4>blk: queue c7f7c214, I/O limit 4095Mb (mask 0xffffffff) <4> Vendor: IBM Model: DNES-309170W Rev: SA30 <4> Type: Direct-Access ANSI SCSI revision: 03 <4>blk: queue c7f7c614, I/O limit 4095Mb (mask 0xffffffff) <4>(scsi0:A:0): 20.000MB/s transfers (20.000MHz, offset 15) <4> Vendor: ARCHIVE Model: Python 02779-XXX Rev: 658A <4> Type: Sequential-Access ANSI SCSI revision: 02 <4>blk: queue c7f7ce14, I/O limit 4095Mb (mask 0xffffffff) <4>(scsi0:A:2): 7.812MB/s transfers (7.812MHz, offset 15) <4>scsi0:A:0:0: Tagged Queuing enabled. Depth 32 <7>sd_init() <4>sd: allocated major 8 <7>sd_attach() <7>sd: find_free_slot ...<7>sd: ... found 08:00 <4>Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 <7>sd_attach() <7>sd_finish() <7>sd_init_onedisk (0,0), sda 08:00 <4>SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB) <6>Partition check: <6> sda: sda1 sda2 sda3 <4>reiserfs: found format "3.6" with standard journal <4>reiserfs: checking transaction log (sd(8,3)) for (sd(8,3)) <4>reiserfs: using ordered data mode I hope you can help me further.
OK. This helps a little. Although the drive is seen by the SCSI controller and reports it to be ID 2, the kernel is not seeing the drive. You may only need to load the module for the SCSI tape subsystem as follows: modprobe st (I believe is the correct module) tail /var/log/messages -or- dmesg should show the tape drive as being recognized by the kernel. Try that and let us know the results. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
I tried to load the module, with: modprobe st, but this is not correct. It returns "Cannot load module ST"
OK. This helps a little. Although the drive is seen by the SCSI controller and reports it to be ID 2, the kernel is not seeing the drive. You may only need to load the module for the SCSI tape subsystem as follows:
modprobe st (I believe is the correct module) tail /var/log/messages -or- dmesg
should show the tape drive as being recognized by the kernel.
Try that and let us know the results.
-- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
In a previous message, "J. van Eck (Systeembeheer)"
This is what is in my /etc/fstab file [snip] i do not see anything in this file that can be of the tape drive??
OK - the tape drive isn't listed there. So, at the very least, you'll need to issue a full mount command (check man mount) - you need to specify the device (/dev/sta0 or whatever it is), a mount point (create a directory something like /media/tape) and the FS type, among other things. You could also try 'fdisk -l' as root, with the drive connected. This will list all the drives known to the system, with various bits of information about them. HTH John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank
John Pettigrew
OK - the tape drive isn't listed there. So, at the very least, you'll need to issue a full mount command (check man mount) - you need to specify the device (/dev/sta0 or whatever it is), a mount point (create a directory something like /media/tape) and the FS type, among other things.
You could also try 'fdisk -l' as root, with the drive connected. This will list all the drives known to the system, with various bits of information about them.
This would all be well if /dev/stX would be a block device. But tape devices are character devices and thus *can't* be mounted like a file system. Philipp
participants (4)
-
J. van Eck (Systeembeheer)
-
John Pettigrew
-
Ken Schneider
-
Philipp Thomas