Created
January 6, 2017 08:05
-
-
Save grahamperrin/f2cee6d48626673d1f22ff38ab13f02a to your computer and use it in GitHub Desktop.
preparing to migrate data from ZFS on Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ date ; uptime ; uname -v ; uname -n | |
Fri 6 Jan 2017 07:58:05 GMT | |
7:58 up 16 mins, 3 users, load averages: 1.42 1.54 1.26 | |
Darwin Kernel Version 13.4.0: Mon Jan 11 18:17:34 PST 2016; root:xnu-2422.115.15~1/RELEASE_X86_64 | |
cces3e-gjp4.local | |
bash-3.2$ zfs mount | |
bash-3.2$ zfs list | |
NAME USED AVAIL REFER MOUNTPOINT | |
gjp22 394Gi 170Gi 255Gi /Users/gjp22 | |
gjp22/VirtualBox 133Gi 170Gi 130Gi /Users/gjp22/Library/VirtualBox | |
gjp22/casesensitive 48.9Mi 170Gi 48.9Mi /Volumes/casesensitive | |
bash-3.2$ sudo mdutil -asv | |
/: | |
Indexing disabled. | |
/.MobileBackups: | |
2017-01-06 07:58:21.388 mdutil[691:507] Metadata.framework [Error]: mdsCopyStoreAttributes failed: (8) (os/kern) no access | |
No index. | |
bash-3.2$ zpool status | |
pool: gjp22 | |
state: ONLINE | |
status: One or more devices has experienced an error resulting in data | |
corruption. Applications may be affected. | |
action: Restore the file in question if possible. Otherwise restore the | |
entire pool from backup. | |
scan: scrub repaired 4.57Mi in 57h39m with 4398 errors on Thu Jun 23 09:16:34 2016 | |
config: | |
NAME STATE READ WRITE CKSUM | |
gjp22 ONLINE 0 0 0 | |
GPTE_67095812-B5B2-4ECE-A0D5-E1721F71C279 ONLINE 0 0 0 at disk2s1 | |
cache | |
GPTE_58791DAF-5BC7-480E-B752-F42055A5B8AA OFFLINE 0 0 0 | |
errors: 4599 data errors, use '-v' for a list | |
bash-3.2$ sudo zfs mount gjp22 | |
bash-3.2$ sudo mdutil -asv | |
/: | |
Indexing disabled. | |
/.MobileBackups: | |
2017-01-06 07:58:59.890 mdutil[698:507] Metadata.framework [Error]: mdsCopyStoreAttributes failed: (8) (os/kern) no access | |
No index. | |
/Users/gjp22: | |
Indexing and searching disabled. | |
bash-3.2$ sudo zfs unmount gjp22 | |
bash-3.2$ sudo zpool status -v | grep -v 0x | grep -v IMAP | grep -v EWS- | grep -v ImapMail | grep -v -i cach | |
pool: gjp22 | |
state: ONLINE | |
status: One or more devices has experienced an error resulting in data | |
corruption. Applications may be affected. | |
action: Restore the file in question if possible. Otherwise restore the | |
entire pool from backup. | |
scan: scrub repaired 4.57Mi in 57h39m with 4398 errors on Thu Jun 23 09:16:34 2016 | |
config: | |
NAME STATE READ WRITE CKSUM | |
gjp22 ONLINE 0 0 0 | |
GPTE_67095812-B5B2-4ECE-A0D5-E1721F71C279 ONLINE 0 0 0 at disk2s1 | |
GPTE_58791DAF-5BC7-480E-B752-F42055A5B8AA OFFLINE 0 0 0 | |
errors: Permanent errors have been detected in the following files: | |
gjp22/casesensitive@2016-05-30-115234:/.Spotlight-V100/Store-V2/C708299D-8AE8-4276-A808-37B59CE5E9E3/0.indexPositions | |
gjp22:/Pictures/screen captures/2016-01-02 15-53-29 screenshot.png | |
gjp22:/Library/Mail/V2/Mailboxes/AppleSeed.mbox/OS X.mbox/10.mbox/7.mbox/10.7.mbox/11A419.mbox/147213656 EFI, Time Machine, Core Storage.mbox/A149F993-BC52-4E18-B26A-196B50BF2E63/Data/2/0/5/Messages/502484.emlx | |
gjp22:/Library/Mail/V2/Mailboxes/AppleSeed.mbox/OS X.mbox/10.mbox/6.mbox/124121554 reversioner.mbox/A149F993-BC52-4E18-B26A-196B50BF2E63/Data/1/0/5/Messages/501570.emlx | |
gjp22:/Library/Mail/V2/Mailboxes/AppleSeed.mbox/OS X.mbox/10.mbox/6.mbox/124121554 reversioner.mbox/A149F993-BC52-4E18-B26A-196B50BF2E63/Data/1/0/5/Messages/501571.emlx | |
gjp22:/Library/Mail/V2/Mailboxes/AppleSeed.mbox/OS X.mbox/10.mbox/6.mbox/124121554 reversioner.mbox/A149F993-BC52-4E18-B26A-196B50BF2E63/Data/1/0/5/Messages/501572.emlx | |
gjp22:/Library/Mail/V2/Mailboxes/AppleSeed.mbox/OS X.mbox/10.mbox/6.mbox/124121554 reversioner.mbox/A149F993-BC52-4E18-B26A-196B50BF2E63/Data/1/0/5/Messages/501573.emlx | |
gjp22:/Library/Mail/V2/Mailboxes/AppleSeed.mbox/OS X.mbox/10.mbox/6.mbox/124121554 reversioner.mbox/A149F993-BC52-4E18-B26A-196B50BF2E63/Data/1/0/5/Messages/501574.emlx | |
gjp22:/Library/Mail/V2/Mailboxes/AppleSeed.mbox/Feedback Assistant.mbox/1A8392.mbox/149689229 large attachments.mbox/A149F993-BC52-4E18-B26A-196B50BF2E63/Data/1/0/5/Messages/501348.emlx | |
gjp22:/Library/Application Support/Firefox/Profiles/ct3gvkvu.default-1444538811493/sessions/Deleted Sessions/backup-13-9.session | |
gjp22:/Library/Application Support/NotificationCenter/E6CD44A7-6B58-4F28-8373-96A2836F1340.db | |
gjp22:/Pictures/screen captures/2016-01-23 08-06-43 screenshot.png | |
gjp22:/<xattrdir>/com.apple.system.Security | |
gjp22:/Library/Mail/V2/Mailboxes/AppleSeed.mbox/Feedback Assistant.mbox/1A8342.mbox/147325262 OK button.mbox/A149F993-BC52-4E18-B26A-196B50BF2E63/Data/1/0/5/Messages/501282.emlx | |
gjp22:/Library/Application Support/Firefox/Profiles/ct3gvkvu.default-1444538811493/sessions/Deleted Sessions/backup-5-29.session | |
gjp22:/Library/Application Support/CrossOver/Bottles/Filtered Noise Generator/drive_c/windows/system32/hhctrl.ocx | |
gjp22:/Library/Application Support/Firefox/Profiles/ct3gvkvu.default-1444538811493/extensions/{8620c15f-30dc-4dba-a131-7c5d20cf4a29}/chrome/content/crashme.js | |
gjp22:/Library/Application Support/AddressBook/Sources/92651A54-B0FC-4258-ACFF-1032CB999976/Metadata/B4A4CE32-67EE-4011-8587-16FD06695EA5:ABPerson.abcdp | |
gjp22:/Library/Application Support/AddressBook/Sources/92651A54-B0FC-4258-ACFF-1032CB999976/Metadata/B6E20986-CF42-41D8-B09D-CB5165837F13:ABPerson.abcdp | |
gjp22:/Library/Application Support/AddressBook/Sources/92651A54-B0FC-4258-ACFF-1032CB999976/Metadata/B710C409-89C3-4B8D-9999-1E86B3A9A6C4:ABPerson.abcdp | |
gjp22:/Library/Application Support/AddressBook/Sources/92651A54-B0FC-4258-ACFF-1032CB999976/Metadata/B788A47A-A6E7-4D1B-8611-E5421BF3A720:ABPerson.abcdp | |
gjp22:/Library/Application Support/AddressBook/Sources/92651A54-B0FC-4258-ACFF-1032CB999976/Metadata/B82F74CF-43D2-4E82-B990-8E2F7FD52CB8:ABPerson.abcdp | |
gjp22:/Library/Application Support/AddressBook/Sources/92651A54-B0FC-4258-ACFF-1032CB999976/Metadata/B8B4D335-680E-4DE5-891B-249AF11F40E5:ABPerson.abcdp | |
gjp22:/Library/Application Support/AddressBook/Sources/92651A54-B0FC-4258-ACFF-1032CB999976/Metadata/B9D977FA-D818-4BF7-AD46-19D62E6C0873:ABPerson.abcdp | |
gjp22:/Library/Application Support/AddressBook/Sources/92651A54-B0FC-4258-ACFF-1032CB999976/Metadata/BA5272D5-625B-456E-9163-6102E8C055E1:ABPerson.abcdp | |
gjp22/VirtualBox@2016-05-30-115234:/Machines/Android/Android-x86/Android-x86.vdi | |
gjp22/VirtualBox@2016-05-30-115234:/Machines/BSD/FreeBSD/FreeBSD 10.2 (64bit).vdi | |
gjp22/VirtualBox@2016-05-30-115234:/Machines/BSD/FreeBSD/FreeBSD-11.0-CURRENT-amd64-2016-01-15.vmdk | |
gjp22/VirtualBox@2016-05-30-115234:/Machines/BSD/FreeBSD/FreeBSD-10.2-RELEASE-amd64.vmdk | |
gjp22/VirtualBox@2016-05-30-115234:/Machines/BSD/PC-BSD base/Snapshots/{9f2a88d6-03c8-4747-821c-dfbfcf6cb67a}.vmdk | |
gjp22/VirtualBox@2016-05-30-115234:/Machines/PC-BSD CURRENT/Snapshots/{14aa02fd-648d-4de0-b6b0-02f59d5bee42}.vmdk | |
gjp22/VirtualBox@2016-05-30-115234:/Machines/BSD/FreeBSD/FreeBSD-11.0-CURRENT-amd64-2015-12.vmdk | |
gjp22/VirtualBox@2016-06-10-175159:/Machines/PC-BSD CURRENT/Snapshots/{14aa02fd-648d-4de0-b6b0-02f59d5bee42}.vmdk | |
gjp22@2016-06-12-211217:/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A/.store.db | |
gjp22@2016-06-12-211217:/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A/0.indexPostings | |
gjp22@2016-06-12-211217:/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A/0.indexPositions | |
gjp22@2016-06-12-211217:/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A/0.indexDirectory | |
gjp22@2016-06-12-211217:/.Spotlight-V100/Store-V2/93D2D11E-B7C0-4C4D-B671-507ADFA3838A/0.indexArrays | |
bash-3.2$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment