Simple ZFS Troubleshooting
This is my MAC OS X 10.6.x with zfs support
You can download,install and configure from here check the wiki it is really very simple.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | [16:04]vhristev@g1r5:~$zpool status pool: disk state: ONLINE scrub: scrub completed with 0 errors on Wed Oct 13 16:17:15 2010 config: NAME STATE READ WRITE CKSUM disk ONLINE 0 0 0 disk0s2 ONLINE 0 0 0 errors: No known data errors [16:04]vhristev@g1r5:~$zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT disk 74G 193M 73.8G 0% ONLINE - |
As you see our ZFS pool “disk” is not mounted.
1 2 3 4 5 6 7 8 | [16:04]vhristev@g1r5:~$df -h Filesystem Size Used Avail Capacity Mounted on /dev/disk2s2 698Gi 566Gi 133Gi 82% / devfs 114Ki 114Ki 0Bi 100% /dev map -hosts 0Bi 0Bi 0Bi 100% /net map auto_home 0Bi 0Bi 0Bi 100% /home /dev/disk3s2 557Mi 557Mi 0Bi 100% /Volumes/Brood War CD afp_3DVtaj0dZU5503RvqU2M9qiE-1.2e000004 233Gi 214Gi 19Gi 92% /Volumes/Desktop |
If your disk is not mounted you can’t know which is it.Now lets see which disk is with ZFS.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | [16:04]vhristev@g1r5:~$diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *80.0 GB disk0 1: EFI 209.7 MB disk0s1 2: ZFS disk 79.7 GB disk0s2 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk1 1: EFI 209.7 MB disk1s1 2: Apple_HFS TimeMachine 499.8 GB disk1s2 /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *750.2 GB disk2 1: EFI 209.7 MB disk2s1 2: Apple_HFS SnowLeopard 749.8 GB disk2s2 /dev/disk3 #: TYPE NAME SIZE IDENTIFIER 0: Apple_partition_scheme *650.5 MB disk3 1: Apple_partition_map 1.0 KB disk3s1 2: Apple_HFS Brood War CD 583.7 MB disk3s2 |
Now lets mount our zfs pool.
1 2 3 4 5 6 7 8 9 10 | [16:04]vhristev@g1r5:~$zfs mount disk [16:04]vhristev@g1r5:~$df -h Filesystem Size Used Avail Capacity Mounted on /dev/disk2s2 698Gi 566Gi 133Gi 82% / devfs 114Ki 114Ki 0Bi 100% /dev map -hosts 0Bi 0Bi 0Bi 100% /net map auto_home 0Bi 0Bi 0Bi 100% /home /dev/disk3s2 557Mi 557Mi 0Bi 100% /Volumes/Brood War CD afp_3DVtaj0dZU5503RvqU2M9qiE-1.2e000004 233Gi 214Gi 19Gi 92% /Volumes/Desktop disk 73Gi 193Mi 73Gi 1% /Volumes/disk |