Advertisement
grahamperrin

Another panic, and so: rollbacks of all three file systems

Oct 11th, 2013
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.27 KB | None | 0 0
  1. sh-3.2$ date
  2. Fri 11 Oct 2013 15:33:04 BST
  3. sh-3.2$ uptime
  4. 15:33 up 2 mins, 2 users, load averages: 2.47 0.92 0.36
  5. sh-3.2$ sudo mv /usr/sbin/zpool ~/Desktop
  6. Password:
  7. sh-3.2$ diskutil cs list
  8. CoreStorage logical volume groups (2 found)
  9. |
  10. +-- Logical Volume Group C76EFF68-418B-4A45-A4B6-8F428140C7AC
  11. | =========================================================
  12. | Name: OS
  13. | Status: Online
  14. | Size: 99484213248 B (99.5 GB)
  15. | Free Space: 0 B (0 B)
  16. | |
  17. | +-< Physical Volume 34B7B97C-B5DB-450E-9B13-A0CCAFC28762
  18. | | ----------------------------------------------------
  19. | | Index: 0
  20. | | Disk: disk0s5
  21. | | Status: Online
  22. | | Size: 99484213248 B (99.5 GB)
  23. | |
  24. | +-> Logical Volume Family D20EE39C-6A9A-4A65-8CB8-2C82DBF766DD
  25. | ----------------------------------------------------------
  26. | Encryption Status: Unlocked
  27. | Encryption Type: AES-XTS
  28. | Conversion Status: Complete
  29. | Conversion Direction: -none-
  30. | Has Encrypted Extents: Yes
  31. | Fully Secure: Yes
  32. | Passphrase Required: Yes
  33. | |
  34. | +-> Logical Volume 44C9242C-57CF-49FE-BCCA-03F563BCAAB5
  35. | ---------------------------------------------------
  36. | Disk: disk1
  37. | Status: Online
  38. | Size (Total): 99165437952 B (99.2 GB)
  39. | Size (Converted): -none-
  40. | Revertible: No
  41. | LV Name: OS
  42. | Volume Name: OS
  43. | Content Hint: Apple_HFS
  44. |
  45. +-- Logical Volume Group 902434C9-0131-4E3A-AE15-2B8B938087AD
  46. =========================================================
  47. Name: gjp22-cs
  48. Status: Online
  49. Size: 616336003072 B (616.3 GB)
  50. Free Space: 0 B (0 B)
  51. |
  52. +-< Physical Volume 179AADE6-34F1-404C-A994-9FD99C881BA6
  53. | ----------------------------------------------------
  54. | Index: 0
  55. | Disk: disk0s7
  56. | Status: Online
  57. | Size: 616336003072 B (616.3 GB)
  58. |
  59. +-> Logical Volume Family FFCE2FAF-BE8E-4FEF-9F3E-E221C6CBCA11
  60. ----------------------------------------------------------
  61. Encryption Status: Locked
  62. Encryption Type: AES-XTS
  63. Conversion Status: Complete
  64. Conversion Direction: -none-
  65. Has Encrypted Extents: Yes
  66. Fully Secure: Yes
  67. Passphrase Required: Yes
  68. |
  69. +-> Logical Volume 0CFAFD38-E79B-40AC-A4BE-63296E6B4331
  70. ---------------------------------------------------
  71. Disk: -none-
  72. Status: Locked
  73. Size (Total): 616017227776 B (616.0 GB)
  74. Size (Converted): -none-
  75. Revertible: No
  76. LV Name: gjp22-cs
  77. Content Hint: Apple_HFS
  78. sh-3.2$ diskutil coreStorage unlockLV 0CFAFD38-E79B-40AC-A4BE-63296E6B4331
  79. Passphrase:
  80. Started CoreStorage operation
  81. Logical Volume successfully unlocked
  82. Logical Volume successfully attached as disk2
  83. Error: -69842: Couldn't mount disk
  84. sh-3.2$ sudo /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool import -fN gjp22
  85. sh-3.2$ clear
  86.  
  87.  
  88.  
  89.  
  90.  
  91. sh-3.2$ zfs list -t snapshot | grep 2013-10-11
  92. gjp22@2013-10-11-052545 183Mi - 405Gi -
  93. gjp22@2013-10-11-065533 140Mi - 405Gi -
  94. gjp22@2013-10-11-075534 103Mi - 405Gi -
  95. gjp22@2013-10-11-085533 109Mi - 405Gi -
  96. gjp22@2013-10-11-095533 135Mi - 405Gi -
  97. gjp22@2013-10-11-105532 54.6Mi - 405Gi -
  98. gjp22@2013-10-11-114731 2.64Mi - 405Gi -
  99. gjp22@2013-10-11-115532 3.71Mi - 405Gi -
  100. gjp22@2013-10-11-121758 4.90Mi - 405Gi -
  101. gjp22/casesensitive@2013-10-11-052545 0 - 784Ki -
  102. gjp22/casesensitive@2013-10-11-114731 0 - 784Ki -
  103. gjp22/casesensitive@2013-10-11-121758 0 - 784Ki -
  104. gjp22/opt@2013-10-11-052545 0 - 7.18Gi -
  105. gjp22/opt@2013-10-11-114731 0 - 7.18Gi -
  106. gjp22/opt@2013-10-11-121758 0 - 7.18Gi -
  107. sh-3.2$ mount
  108. /dev/disk1 on / (hfs, local, journaled)
  109. devfs on /dev (devfs, local, nobrowse)
  110. /dev/disk0s2 on /Volumes/swap (hfs, local, journaled)
  111. /dev/disk0s3 on /Volumes/disk0s3 (hfs, local, journaled)
  112. /dev/disk0s4 on /Volumes/spare (hfs, local, journaled)
  113. map -hosts on /net (autofs, nosuid, automounted, nobrowse)
  114. map auto_home on /home (autofs, automounted, nobrowse)
  115. map -fstab on /Network/Servers (autofs, automounted, nobrowse)
  116. localhost:/qq8LZf779_DG3W0_FKfy5i on /Volumes/MobileBackups (mtmfs, nosuid, read-only, nobrowse)
  117. sh-3.2$ zfs mount
  118. sh-3.2$ zfs rollback gjp22@2013-10-11-121758
  119. sh-3.2$ zfs rollback gjp22/casesensitive@2013-10-11-121758
  120. sh-3.2$ zfs rollback gjp22/opt@2013-10-11-121758
  121. sh-3.2$ sudo /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool export gjp22
  122. sh-3.2$ sudo /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool import gjp22
  123. sh-3.2$ zfs mount
  124. gjp22/casesensitive /Volumes/casesensitive
  125. gjp22 /Volumes/gjp22
  126. gjp22/opt /opt
  127. sh-3.2$ sudo /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool export gjp22
  128. cannot unmount '/Volumes/gjp22': Resource busy
  129. sh-3.2$ zfs mount
  130. gjp22/casesensitive /Volumes/casesensitive
  131. gjp22 /Volumes/gjp22
  132. sh-3.2$ sudo zfs unmount gjp22/casesensitive
  133. sh-3.2$ zfs mount
  134. gjp22 /Volumes/gjp22
  135. sh-3.2$ sudo /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool export gjp22
  136. cannot unmount '/Volumes/gjp22': Resource busy
  137. sh-3.2$ sudo lsof /Volumes/gjp22/
  138. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
  139. mds 72 root twd DIR 1,13 127 47349 /Volumes/gjp22/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A
  140. mds 72 root 36u REG 1,13 277712896 53278 /Volumes/gjp22/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A/store.db
  141. mds 72 root 43u REG 1,13 277712896 53279 /Volumes/gjp22/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A/.store.db
  142. mds 72 root 121r DIR 1,13 334 2 /Volumes/gjp22
  143. mds 72 root 164r DIR 1,13 334 2 /Volumes/gjp22
  144. mds 72 root 173r DIR 1,13 127 47349 /Volumes/gjp22/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A
  145. mds 72 root 174r DIR 1,13 334 2 /Volumes/gjp22
  146. mds 72 root 175r DIR 1,13 127 47349 /Volumes/gjp22/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A
  147. mds 72 root 177u REG 1,13 28 53253 /Volumes/gjp22/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A/indexState
  148. UserEvent 200 bbsadmin-l 18r DIR 1,13 334 2 /Volumes/gjp22
  149. UserEvent 200 bbsadmin-l 19r DIR 1,13 334 2 /Volumes/gjp22
  150. Finder 232 bbsadmin-l 14r DIR 1,13 334 2 /Volumes/gjp22
  151. sh-3.2$ date
  152. Fri 11 Oct 2013 15:38:57 BST
  153. sh-3.2$ sudo zfs unmount gjp22
  154. sh-3.2$ zfs mount
  155. sh-3.2$ /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool export gjp22
  156. sh-3.2$ /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool import gjp22
  157. cannot import 'gjp22': no such pool available
  158. sh-3.2$ clear
  159.  
  160.  
  161.  
  162.  
  163.  
  164. sh-3.2$ date
  165. Fri 11 Oct 2013 15:39:39 BST
  166. sh-3.2$ sudo /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool import gjp22
  167. sh-3.2$ sudo mv /Users/bbsadmin-l/Desktop/zpool /usr/sbin
  168. sh-3.2$ sudo zfs unmount gjp22/casesensitive
  169. sh-3.2$ zfs mount
  170. gjp22 /Volumes/gjp22
  171. gjp22/opt /opt
  172. sh-3.2$ /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool export gjp22
  173. sh-3.2$ clear
  174.  
  175.  
  176.  
  177.  
  178.  
  179. sh-3.2$ date
  180. Fri 11 Oct 2013 15:41:04 BST
  181. sh-3.2$ uptime
  182. 15:41 up 10 mins, 3 users, load averages: 0.43 0.67 0.46
  183. sh-3.2$ sudo /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool import gjp22
  184. sh-3.2$ sudo zpool status
  185. pool: gjp22
  186. state: ONLINE
  187. scan: scrub repaired 0 in 26h25m with 0 errors on Mon Sep 30 23:13:54 2013
  188. config:
  189.  
  190. NAME STATE READ WRITE CKSUM
  191. gjp22 ONLINE 0 0 0
  192. GPTE_71B8BDA2-3EBA-4B91-9E1C-2AE2B1DAAD06 ONLINE 0 0 0 at disk2s2
  193. cache
  194. GPTE_428337BD-2E39-4CCF-B02F-90DC376E3ED8 OFFLINE 0 0 0
  195.  
  196. errors: No known data errors
  197. sh-3.2$ sudo zfs unmount gjp22/casesensitive
  198. sh-3.2$ sudo zfs unmount gjp22/opt
  199. sh-3.2$ sudo zfs unmount gjp22
  200. sh-3.2$ zpool export gjp22
  201. sh-3.2$ clear
  202.  
  203.  
  204.  
  205.  
  206.  
  207. sh-3.2$ sw_vers
  208. ProductName: Mac OS X
  209. ProductVersion: 10.8.5
  210. BuildVersion: 12F45
  211. sh-3.2$ sudo kextstat | grep zfs
  212. 136 1 0xffffff7f807a6000 0x19b000 0x19b000 com.getgreenbytes.filesystem.zfs (2012.09.23) <13 7 5 4 3 1>
  213. 137 0 0xffffff7f80943000 0x6000 0x6000 com.getgreenbytes.driver.zfs (2012.09.14) <136 13 7 5 4 3 1>
  214. sh-3.2$ exit
  215. exit
  216. gpes3e-gjp4:~ bbsadmin-l$ exit
  217. logout
  218.  
  219. [Process completed]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement