Good morning, i have installe on c3000 tape blade the installation is ok. on the blade server ( the partner server of tape is a node of cluster ) i have red hat os i want know the command for backup file or directory. how to know the tape device ?? es: /dev/rmt0? or /dev/st0? and hoe to use the tar command ??
thanks for all
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click
here
If you have RHEL 5, you can use the "lsscsi" command to see a listing of all SCSI and SCSI-like devices (FibreChannel, USB, Firewire, SATA...). It's very useful.
The "lsscsi" command is not installed by default; use "yum install lsscsi" if you don't have it installed yet.
With older versions, run "dmesg | less" to look at the kernel message buffer: when the kernel detects the tape drive, it prints out a message that includes the device name.
Most likely the "base" device name is /dev/st0. There is typically also /dev/nst0, the "no-auto-rewind" version of the device.
If you use /dev/st0, the tape is automatically rewound back to the beginning after each tape-access command is completed. Depending on what you're doing, you may or may not want that.
On the use of the tar command: use the command "man tar" to read the manual. The "tar" command has a *lot* of options.