Hello all,
I have recently acquired a Dell PowerEdge 2550 with internal tape drive (with tapes

).
I would like to set it up to be my file server and backup. The file serving I have all set. It is the backups I am having trouble with.
When I perform the command:
Code:
tar -cvf /dev/st0 mybackup
The command executes fine and all seems well.
However, when I execute the command:
Code:
mt -f /dev/st0 eject
To remove my tape, I find that the actual "tape position" has not moved.
To test to make sure I had the correct device I ran:
Code:
mt -f /dev/st0 status
Several times, once with no disk (reported no disk), once with disk (reported disk and online), and once with a write-protected tape (again reported write-protected). So, at this stage, I feel I have the right device.
But again I am confused. For when I eject the tape and run:
Code:
ls -lh /dev | grep st0
The file size reported is the size of my backup (roughly 3.1 GB).
So I dug further. I found that /dev/st0 is a rewinding tape drive designation, and at the completion of a command on it causes it to rewind.
For giggles I tried this command:
Code:
tar -cvf /dev/nst0 mybackup
As "nst0" is a non-rewinding drive. Again the backup went off without a hitch. But again upon an eject of the tape, I found that the tape's "position" hasn't moved.
I went through the same tests above to see if I could even access "nst0" and to my surprise all the commands came back and in the same manner as they did for "st0"!
So I decided to go back to "st0". First with an erase:
Code:
mt -f /dev/st0 erase
to start fresh. But no! Now I receive this error
Code:
/dev/st0: File too large
. This error comes back on any "mt" command I wish to use on /dev/st0.
As a side note, whenever I do run a command whether for "st0" or "nst0" the drive activity light comes on, and shuts off when the command completes.
Any help in this matter would be greatly appreciated.
Thanks in advance