Hi,
I am trying to write 4 files on to a Magnetic tape.
I used Special File names to write data as below:
1) tctl -f /dev/rmt0 rewind
2) tar -cvf /dev/rmt0.3 /temp123/File1
3) tar -cvf /dev/rmt0.2 /temp123/File2
4) tar -cvf /dev/rmt0.2 /temp123/File3
5) tar -cvf /dev/rmt0 /temp123/File4
After completing above activity now whne I do tar -tvf /dev/rmt0 to see the contents of tape,
I only get the name of the File1.
lsattr -l rmt0 -EH
attribute value description user_settable
mode yes Use DEVICE BUFFERS during writes True
block_size 1024 BLOCK size (0=variable length) True
extfm yes Use EXTENDED file marks True
ret no RETENSION on tape change or reset True
density_set_1 38 DENSITY setting #1 True
density_set_2 37 DENSITY setting #2 True
compress yes Use data COMPRESSION True
size_in_mb 20480 Size in Megabytes False
ret_error no RETURN error on tape change or reset True
Am I missingout something. Please advise.
Divakar
I am trying to write 4 files on to a Magnetic tape.
I used Special File names to write data as below:
1) tctl -f /dev/rmt0 rewind
2) tar -cvf /dev/rmt0.3 /temp123/File1
3) tar -cvf /dev/rmt0.2 /temp123/File2
4) tar -cvf /dev/rmt0.2 /temp123/File3
5) tar -cvf /dev/rmt0 /temp123/File4
After completing above activity now whne I do tar -tvf /dev/rmt0 to see the contents of tape,
I only get the name of the File1.
lsattr -l rmt0 -EH
attribute value description user_settable
mode yes Use DEVICE BUFFERS during writes True
block_size 1024 BLOCK size (0=variable length) True
extfm yes Use EXTENDED file marks True
ret no RETENSION on tape change or reset True
density_set_1 38 DENSITY setting #1 True
density_set_2 37 DENSITY setting #2 True
compress yes Use data COMPRESSION True
size_in_mb 20480 Size in Megabytes False
ret_error no RETURN error on tape change or reset True
Am I missingout something. Please advise.
Divakar