Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
please i have a problem and i can't find a solution for it
i have server DELL (poweredgr 2800) installed on it a SCSI tape drive and the operating system is SUSE 9.0
i check in the system about the tape drive as hardware on the system and confirmed that's it loaded and ok and this is the configration for the tape drive:
Maybe you have to configure your tape first
Config Status: cfg=no, avail=yes, need=no, active=unknown
cfg=no ?
you have also no permissions
try it as root
As far as I am aware you don't need to mount a raw device. Mounting is only for a block device.
For example one can dd a hard disk partition directly without mounting because no buffering is used.
The mounting normally is for a raw device to a block device in the filing tree. For example one can make a directory in /mnt to mount a WIndows partition for access using
mkdir /mnt/sda1
mount /dev/sda1 /mnt/sda1
thereafter all the read/write will take place in /mnt/sda1 and the changes will be implemented once the device is unmounted.
Must admit that I don't have a tape drive to try it myself.
What would be its response if you make a directory in /mnt and mount the /dev/sg0 pon it?
I haven't played with a sequential device in Linux before and wouldn't have a clue how to access or backspace data with it. In using it in Fortran I have to know the data structure pretty well in order to get it wind and unwind to the positions I want. Pressumably there are Similar Linux commands to do it.
I use mobile hard disks storage becuase they are a lot faster, cheaper and bigger in capacity. UK hard disk space costing £30 per 100Gb at the moment. With a mobile system the hard disks can be inserted in seconds into the PC either as an internal disk or into a external enclosure as an external disk connected via a USB port.
you an use:
dd if=/home/myfile of=/dev/sg0 [ obs=1024k optional to make it faster you have to play ]
this is if you want to save one file. If you want to save a diskimage write instead of
if=/home/myfile ------> if=/dev/hda1 or what partion you want
but be sure you want an image. For restore exchange only if and of inside the command
for tar
tar cvf /dev/sg0 [here put files or directories]
for cpio
find /home -print | cpio -ovcQ >/dev/sg0
also be careful
Maybe there are different device of sg0 /dev/sg0 and /dev/sg0n n stands for no rewind.
That means if you use sg0n you can write many files to the tape it appends.
But this I will tell you later.
First tell me you get it working.
Paul
It's been a while, but I believe that the first scsi tape drive is usually designated /dev/st0 or /dev/nst0. They are essentially the same device but you use the nst0 when you don't want the drive to autorewind after the operation. The "n" at the beginning stands for "nonrewinding".
I could be all wet but I think you have the wrong device file. Also check the output of:
# lsmod
and see if you have the "st" module loaded as well as the scsi modules. If not run:
# modprobe st
then try:
# mt -f /dev/nst0 retension
and see if the tape retensions.
It's been a while since I fooled around with a scsi tape drive and things may have changed but I'm fairly sure the device file was st0, not sg0.
i'm try many of times but noway
i check that the driver is loaded and the system is configured the hardware etc......
anyway i want to ask a questions i hope the answer for it will be the solution :
the DELL server is installed on it the TAPE DRIVE typed on it DAT 72 so that's mean it used tapes 36/72 GB capecity
if i put on it tapes the capecity is 20/40 GB
is for this a relation with the tape drive and the tapes i mean the drive tape DAT72 is not support the tapes 20/40 GB ???????????????????????????
anyway don't forget that the message that appear in the shell mode when i try to mount the drive is (the operation is not permitted)
and i want to ask that if the drive is not loaded or not found it must be tell ( No such device or address )
please help me i'm really need to solve this problem to save my data
What the description of the tape-drive says:
It will give you a filesystem from your tape or only files?
write a small textfile in /tmp. Call it mytext.txt then do following:
dd if=/tmp/mytext.txt of=/dev/sg0
what messages you get after this command?
Paul
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.