| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | xfsdump/xfsrestore and multiple sessions per tape |
| From: | Andy Skunza <askunza@xxxxxxxxxxxxxxx> |
| Date: | Sun, 03 Nov 2002 16:53:04 -0500 |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | xfsrestore: content.c:7470: restore_reg: Assertion `ehdr.eh_type == 4' failed., Bernhard Erdmann |
|---|---|
| Next by Date: | Re: Message after shutdown, Chris Wedgwood |
| Previous by Thread: | xfsrestore: content.c:7470: restore_reg: Assertion `ehdr.eh_type == 4' failed., Bernhard Erdmann |
| Next by Thread: | [Bug 182] Hitting the BUG() in filemap.c:843 (in unlock_page()), bugzilla-daemon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |