Dear List,
I have multiple dump sessions (/xfs_mount_a written 1st, /xfs_mount_b
written 2nd, ...) on a single tape. My problem comes when attempting to
restore from a specific session label. xfsrestore will not skip
sessions, instead it examines each "media file" for all sessions from
the beginning of the tape until it eventually gets to the right session.
This takes some time. For example, trying to restore session
/xfs_mount_b, I would get something like this:
xfsrestore -b 245760 -f /dev/tape -L "this label is for /xfs_mount_b/"
xfsrestore: using scsi tape (drive_scsitape) strategy
xfsrestore: version 3.0 - Running single-threaded
xfsrestore: using online session inventory
xfsrestore: searching media for directory dump
xfsrestore: preparing drive
xfsrestore: examining media file 0
xfsrestore: inventory session uuid
(2f328d05-b1bf-4bb9-a79a-030acca05817) does not match the media header's
session uuid (dca53084-214e-4a6c-9fa1-48e65e12018d)
xfsrestore: examining media file 1
xfsrestore: inventory session uuid
(2f328d05-b1bf-4bb9-a79a-030acca05817) does not match the media header's
session uuid (dca53084-214e-4a6c-9fa1-48e65e12018d)
xfsrestore: examining media file 2
xfsrestore: inventory session uuid
(2f328d05-b1bf-4bb9-a79a-030acca05817) does not match the media header's
session uuid (dca53084-214e-4a6c-9fa1-48e65e12018d)
xfsrestore: examining media file 3
xfsrestore: inventory session uuid
(2f328d05-b1bf-4bb9-a79a-030acca05817) does not match the media header's
session uuid (dca53084-214e-4a6c-9fa1-48e65e12018d)
xfsrestore: examining media file 4
xfsrestore: inventory session uuid
(2f328d05-b1bf-4bb9-a79a-030acca05817) does not match the media header's
session uuid (dca53084-214e-4a6c-9fa1-48e65e12018d)
xfsrestore: examining media file 5
xfsrestore: reading directories
...
In this case, the first dump is broken up into 4 "media files". Any ideas?
thanks,
andy
|