Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sh-3.2$ diskutil list
- /dev/disk0
- #: TYPE NAME SIZE IDENTIFIER
- 0: GUID_partition_scheme *750.2 GB disk0
- 1: EFI 209.7 MB disk0s1
- 2: Apple_HFS swap 32.0 GB disk0s2
- 3: Apple_HFS disk0s3 536.9 MB disk0s3
- 4: Apple_HFS spare 671.1 MB disk0s4
- 5: Apple_CoreStorage 99.5 GB disk0s5
- 6: Apple_Boot Boot OS X 650.0 MB disk0s6
- 7: Apple_CoreStorage 616.3 GB disk0s7
- 8: Apple_Boot Boot OS X 134.2 MB disk0s8
- /dev/disk1
- #: TYPE NAME SIZE IDENTIFIER
- 0: Apple_HFS OS *99.2 GB disk1
- /dev/disk2
- #: TYPE NAME SIZE IDENTIFIER
- 0: GUID_partition_scheme *640.1 GB disk2
- 1: EFI 209.7 MB disk2s1
- 2: ZFS 639.8 GB disk2s2
- /dev/disk3
- #: TYPE NAME SIZE IDENTIFIER
- 0: zfs_pool_proxy zhandy *639.8 GB disk3
- /dev/disk4
- #: TYPE NAME SIZE IDENTIFIER
- 0: GUID_partition_scheme *616.0 GB disk4
- 1: EFI 209.7 MB disk4s1
- 2: ZFS 615.7 GB disk4s2
- /dev/disk5
- #: TYPE NAME SIZE IDENTIFIER
- 0: zfs_pool_proxy *615.7 GB disk5
- sh-3.2$ sudo /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool import -fN gjp22
- Password:
- sh-3.2$ zfs mount
- sh-3.2$ zfs list -t snapshot | grep 2013-10-11
- gjp22@2013-10-11-052545 183Mi - 405Gi -
- gjp22@2013-10-11-065533 140Mi - 405Gi -
- gjp22@2013-10-11-075534 103Mi - 405Gi -
- gjp22@2013-10-11-085533 109Mi - 405Gi -
- gjp22@2013-10-11-095533 135Mi - 405Gi -
- gjp22@2013-10-11-105532 54.6Mi - 405Gi -
- gjp22@2013-10-11-114731 2.64Mi - 405Gi -
- gjp22@2013-10-11-115532 3.71Mi - 405Gi -
- gjp22@2013-10-11-121758 24.9Mi - 405Gi -
- gjp22/casesensitive@2013-10-11-052545 0 - 784Ki -
- gjp22/casesensitive@2013-10-11-114731 0 - 784Ki -
- gjp22/casesensitive@2013-10-11-121758 0 - 784Ki -
- gjp22/opt@2013-10-11-052545 0 - 7.18Gi -
- gjp22/opt@2013-10-11-114731 0 - 7.18Gi -
- gjp22/opt@2013-10-11-121758 0 - 7.18Gi -
- sh-3.2$ zfs rollback gjp22@2013-10-11-121758
- sh-3.2$ zfs mount gjp22
- sh-3.2$ zfs mount
- gjp22 /Volumes/gjp22
- sh-3.2$ sudo /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool status -v
- pool: gjp22
- state: ONLINE
- scan: scrub repaired 0 in 26h25m with 0 errors on Mon Sep 30 23:13:54 2013
- config:
- NAME STATE READ WRITE CKSUM
- gjp22 ONLINE 0 0 0
- GPTE_71B8BDA2-3EBA-4B91-9E1C-2AE2B1DAAD06 ONLINE 0 0 0 at disk4s2
- cache
- GPTE_428337BD-2E39-4CCF-B02F-90DC376E3ED8 OFFLINE 0 0 0
- errors: No known data errors
- sh-3.2$ date
- Fri 11 Oct 2013 15:24:27 BST
- sh-3.2$ sw_vers
- ProductName: Mac OS X
- ProductVersion: 10.8.5
- BuildVersion: 12F45
- sh-3.2$ uptime
- 15:24 up 8 mins, 3 users, load averages: 0.73 0.95 0.68
- sh-3.2$ sudo kextstat | grep zfs
- 90 1 0xffffff7f807a6000 0x19b000 0x19b000 com.getgreenbytes.filesystem.zfs (2012.09.23) <13 7 5 4 3 1>
- 91 0 0xffffff7f80943000 0x6000 0x6000 com.getgreenbytes.driver.zfs (2012.09.14) <90 13 7 5 4 3 1>
- sh-3.2$ sudo mv /Users/bbsadmin-l/Desktop/zpool /usr/sbin/
- sh-3.2$ ls -l /usr/sbin/zpool
- lrwxr-xr-x 1 root wheel 63 12 Jul 15:55 /usr/sbin/zpool -> /System/Library/Filesystems/zfs.fs/Contents/Resources/bin/zpool
- sh-3.2$ exit
- exit
- gpes3e-gjp4:~ bbsadmin-l$ exit
- logout
- [Process completed]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement