Ezine

This article can also be found in the Premium Editorial Download "Storage magazine: Learning data retention lessons from Warner Bros.."

Download it now to read this article plus other related content.

The map usedinomap is a list of inodes that have been deleted since the last dump. restore uses this map to delete files before doing a restore of files in this dump. The map dumpinomap is a list of all inodes contained in this dump. Each header contains a lot of information:

    Record type
    Dump date
    Volume number
    Logical block of record
    Inode number
    Magic number
    Record checksum
    Inode
    Number of records to follow
    Dump label
    Dump level
    Name of dumped filesystem
    Name of dumped device
    Name of dumped host
    First record on volume
The record type field describes the information following the header. There are six basic record types:

TS_TAPE
     dump header
TS_CLRI
     Map of inodes deleted since last dump
TS_BITS
     Map of inodes in dump
TS_INODE
     Beginning of file record
TS_ADDR
     Continuation of file record
TS_END
     End of volume marker

When dump writes the header, it includes a copy of the inode for the file or directory that immediately follows the header. Since inode data structures have changed over the years, and different filesystems use slightly different inode data structures for their respective

Requires Free Membership to View

filesystems, this would create a portability problem. So dump normalizes its output by converting the current filesystem's inode data structure into the old BSD inode data structure. This BSD data structure is written to the backup volume.

As long as all dump programs do this, then you should be able to restore the data on any Unix system that expects the inode data structure to be in the old BSD format. It is for this reason you can interchange a dump volume written on Solaris, HP-UX, and AIX systems.

This was first published in August 2007

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: