SHARE
TWEET

xfsrestore_out

a guest Jun 30th, 2016 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ sudo mt -f /dev/nst0 status
  2. drive type = 114
  3. drive status = 1224736768
  4. sense key error = 0
  5. residue count = 0
  6. file number = 0
  7. block number = 0
  8. $ sudo xfsrestore -K -f /dev/nst0 ./
  9. xfsrestore: using scsi tape (drive_scsitape) strategy
  10. xfsrestore: version 3.1.1 (dump format 3.0) - type ^C for status and control
  11. xfsrestore: searching media for dump
  12. xfsrestore: preparing drive
  13. xfsrestore: examining media file 0
  14.  
  15.  =========================== dump selection dialog ============================
  16.  
  17. the following dump has been found on drive 0
  18.  
  19. hostname: duvall
  20. mount point: /
  21. volume: /dev/rroot
  22. session time: Mon Jan  1 00:01:07 2007
  23. level: 0
  24. session label: "Full backup"
  25. media label: "20070101"
  26. file system id: b9bd128a-ffbb-1026-86ef-08006911d7aa
  27. session id: 52ba7c3f-25de-102b-84e3-08006911d7aa
  28. media id: 52ba7c40-25de-102b-84e3-08006911d7aa
  29.  
  30. restore this dump?
  31. 1: skip
  32. 2: restore
  33.  (default)
  34.  -> 2
  35. this dump selected for restoral
  36.  
  37.  --------------------------------- end dialog ---------------------------------
  38.  
  39. xfsrestore: searching media for directory dump
  40. xfsrestore: reading directories
  41. xfsrestore: examining media file 1
  42. xfsrestore: reading directories
  43. xfsrestore: examining media file 2
  44. xfsrestore: reading directories
  45. xfsrestore: examining media file 3
  46. xfsrestore: reading directories
  47. xfsrestore: examining media file 4
  48. xfsrestore: reading directories
  49. xfsrestore: examining media file 5
  50. xfsrestore: reading directories
  51. xfsrestore: examining media file 6
  52. xfsrestore: reading directories
  53. xfsrestore: examining media file 7
  54. xfsrestore: reading directories
  55. xfsrestore: examining media file 8
  56. xfsrestore: reading directories
  57. xfsrestore: examining media file 9
  58. xfsrestore: reading directories
  59. xfsrestore: examining media file 10
  60.  
  61.  ============================ change media dialog =============================
  62.  
  63. please change media in drive
  64. 1: media change declined (timeout in 3600 sec)
  65. 2: display media inventory status
  66. 3: list needed media objects
  67. 4: media changed (default)
  68.  -> 2
  69.  
  70. session inventory display
  71.  
  72. media stream 0:
  73.  
  74.     media object 0:
  75.  
  76.     label: "20070101"
  77.     id: 52ba7c40-25de-102b-84e3-08006911d7aa
  78.     index within object of first media file: 0
  79.  
  80.         media file 0 (0):
  81.         used for directory restoral
  82.         first extent contained: ino 131 off 0
  83.         next extent to restore: ino 131 off 0
  84.  
  85.         media file 1 (1):
  86.         used for directory restoral
  87.         first extent contained: ino 4519878 off 0
  88.         next extent to restore: ino 4519878 off 0
  89.  
  90.         media file 2 (2):
  91.         used for directory restoral
  92.         first extent contained: ino 13222186 off 33554432
  93.         next extent to restore: ino 13222186 off 33554432
  94.  
  95.         media file 3 (3):
  96.         used for directory restoral
  97.         first extent contained: ino 21090479 off 0
  98.         next extent to restore: ino 21090479 off 0
  99.  
  100.         media file 4 (4):
  101.         used for directory restoral
  102.         first extent contained: ino 25699165 off 33554432
  103.         next extent to restore: ino 25699165 off 33554432
  104.  
  105.         media file 5 (5):
  106.         used for directory restoral
  107.         first extent contained: ino 29506354 off 0
  108.         next extent to restore: ino 29506354 off 0
  109.  
  110.         media file 6 (6):
  111.         used for directory restoral
  112.         first extent contained: ino 37950716 off 33554432
  113.         next extent to restore: ino 37950716 off 33554432
  114.  
  115.         media file 7 (7):
  116.         used for directory restoral
  117.         first extent contained: ino 46329957 off 0
  118.         next extent to restore: ino 46329957 off 0
  119.  
  120.         media file 8 (8):
  121.         used for directory restoral
  122.         first extent contained: ino 54527254 off 0
  123.         next extent to restore: ino 54527254 off 0
  124.  
  125.         media file 9 (9):
  126.         used for directory restoral
  127.         first extent contained: ino 54626765 off 0
  128.         next extent to restore: ino 54626765 off 0
  129.  
  130.         media file 10 (10):
  131.         contains session inventory
  132.  
  133.  --------------------------------- end dialog ---------------------------------
  134.  
  135.  
  136.  ============================ change media dialog =============================
  137.  
  138. please change media in drive
  139. 1: media change declined (timeout in 3600 sec)
  140. 2: display media inventory status
  141. 3: list needed media objects
  142. 4: media changed (default)
  143.  -> 3
  144.  
  145. no additional media objects needed
  146.  
  147.  --------------------------------- end dialog ---------------------------------
  148.  
  149.  
  150.  ============================ change media dialog =============================
  151.  
  152. please change media in drive
  153. 1: media change declined (timeout in 3600 sec)
  154. 2: display media inventory status
  155. 3: list needed media objects
  156. 4: media changed (default)
  157.  -> 4
  158. examining new media
  159.  
  160.  --------------------------------- end dialog ---------------------------------
  161.  
  162. xfsrestore: preparing drive
  163. xfsrestore: examining media file 10
  164.  
  165.  ============================ change media dialog =============================
  166.  
  167. please change media in drive
  168. 1: media change declined (timeout in 3600 sec)
  169. 2: display media inventory status
  170. 3: list needed media objects
  171. 4: media changed (default)
  172.  -> 1
  173. media change aborted
  174.  
  175.  --------------------------------- end dialog ---------------------------------
  176. $ sudo xfsrestore -f /dev/nst0 -R  ./
  177. xfsrestore: using scsi tape (drive_scsitape) strategy
  178. xfsrestore: version 3.1.1 (dump format 3.0) - type ^C for status and control
  179. xfsrestore: resuming restore previously begun Thu Jun 30 08:21:09 2016
  180. xfsrestore: searching media for directory dump
  181. xfsrestore: preparing drive
  182. xfsrestore: examining media file 10
  183.  
  184.  ============================ change media dialog =============================
  185.  
  186. please change media in drive
  187. 1: media change declined (timeout in 3600 sec)
  188. 2: display media inventory status
  189. 3: list needed media objects
  190. 4: media changed (default)
  191.  -> 1
  192. media change aborted
  193.  
  194.  --------------------------------- end dialog --------------------------------
  195. $ sudo mt -f /dev/nst0 status
  196. drive type = 114
  197. drive status = 1224736768
  198. sense key error = 0
  199. residue count = 0
  200. file number = 10
  201. block number = 2
  202. $
RAW Paste Data
Pastebin PRO Autumn Special!
Get 40% OFF on Pastebin PRO accounts!
Top