Hi Annihilannic,
Commands executed with Tape loaded on drive
# mt -f 0 status
mt: Inappropriate ioctl for device
# mt -f 0bn status
HP DDS-3 4MM DAT tape drive:
sense key(0x6)= Unit Attention residual= 0 retries= 0
file no= 0 block no= 0
# mt -f 0cb status
HP DDS-3 4MM DAT tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
# mt -f 0mb status
mt: Inappropriate ioctl for device
# tar xvfp /dev/rmt/0
x /usr1, 0 bytes, 0 tape blocks
x /usr1/we@endpoint.jpg, 20518 bytes, 41 tape blocks
x /usr1/we@sringeri.jpg, 27010 bytes, 53 tape blocks
x /usr1/subhramanya.jpg, 29702 bytes, 59 tape blocks
x /usr1/Sagarlake.jpg, 73904 bytes, 145 tape blocks
x /usr1/parents@endpoint.jpg, 13512 bytes, 27 tape blocks
x /usr1/newsabtjp.jpg, 1063781 bytes, 2078 tape blocks
x /usr1/kuppupanamburbeach.jpg, 81874 bytes, 160 tape block
After removing the tape.
# mt -f 0un status
0un: no tape loaded or drive offline
1. what is ioctl ? Pls let me know wat's going wrong.. And pls comment about the status of CDROM.
2. Is tar xvfp /dev/rmt/0 shows content to be copied in tape ? If so can u guide me how to copy it to Tape.
yahoo16