I'm a part-time, barely qualified, learn-by-trying sysadmin for my own machine. This is probably an easy one...
I want to start doing proper backups on my Ultra-1 workstation under Solaris 2.6. I have a 4 mm cartridge tape drive, and have tried to do what the answerbook says, for instance:
ufsdump 0ucf /dev/rmt/0 /usr
However, the partition was too big for the tape, and it askedfor tape #2. I didn't have an extra tape, so I aborted the backup. When I tried to rewind the tape, that's when the fun began. I said:
mt -f /dev/rmt/0 rewind
and it said:
/dev/rmt/0 rewind 1 failed: inappropriate ioctl for device
I get this response to any mt command, including status and offline. I ejected the tape manually, and tried another backup of a smaller filesystem. Now it thinks the tape starts with an EOF and immediately asks for another.
1. What is a saner way to back up a Solaris system?
2. Why does the mt command not work?
3. Do I need to overtly mount and unmount the tape?
All assistance or pointers to HOWTOs etc. would be greatly appreciated.