Tape device doesn't seem to be recognized by the kernel
hi guys and girls,
i have added a new HP tape device into my linux box, the problem is that i wasn't able to detect the device and its library, the only devices available in /dev are st0 and nst0.
i have been trying to make the generic scsi devices, but i couldn't.though the module is already loaded into the kernel. but couldn't do nothing.
the output of my /proc/scsi/scsi
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: C7438A Rev: ZP76
Type: Sequential-Access ANSI SCSI revision: 03
so i had to explicitly force the loading of a module at boot time by doing the following.
# echo modprobe sg > /etc/rc.modules
# chmod +x /etc/rc.modules
after i reboot my server, the device sg0 was created in /dev directory, i belive that this is the device but there was no library.
so i thought i should try to test it and the following appears
[root@MOT_SERVER bin]# tar -cvf /dev/sg0 startup.sh
startup.sh
tar: /dev/sg0: Cannot write: Cannot allocate memory
tar: Error is not recoverable: exiting now
can someone please guide me through what i am suppose to do on a step by step bases. because i am kinda new to linux,
|