![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tape Status shows 2 Hard errors and 5 Underruns on new tape | psytropic | SCO | 5 | 04-24-2008 02:29 PM |
| Mounting DLT tape and to backup file to tape | ayzeayem | UNIX for Dummies Questions & Answers | 0 | 08-14-2007 03:09 AM |
| How to recover a single file from tape | krishan | SUN Solaris | 2 | 05-09-2005 10:49 AM |
| Tape space used not correct | system77 | UNIX for Advanced & Expert Users | 2 | 10-06-2004 07:37 PM |
| copy tape to tape using dd | itsgeorge | SUN Solaris | 2 | 04-14-2004 11:12 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Space free on tape /delete a single file on tape
Hi,
I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape. Thanks DOMENICO |
|
||||
|
Tapes aren't hard drives. The very concept of "delete" and "free space" assumes the existence of some sort of filesystem to organize sectors, which tapes often don't bother with since they seek so slowly... Instead they'd be used as one big file, containing an archive like tar. There's exceptions, of course, but I can't tell if your tape's one of them from the precisely zero information given here. I'd guess that you'll need to deal with the program that created the tape data, not the tape itself.
|
|
||||
|
Because you're not telling tar to append. You're overwriting the tape every time, starting at the beginning of the tape and writing towards the end. It's like overwriting the same file every time.
You're archiving with something like 'tar -cf /dev/rmt/0', yes? That creates a new archive every time, overwriting the parts you've already saved to. 'tar -rf /dev/rmt/0' will append to an existing archive. See 'man tar' for details. here is a google groups thread describing the process. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|