Setup question

Moderators: jhartley, MSR734, nola

Setup question

Post by c6y » Tue Feb 05, 2013 3:54 am

I have a Mac Pro and want to run ZFS on two 2TB disks exclusively for file storage (OS X sits on it's own SSD)

I roughly have 1.5 TB of data so I thought it might make sense to create a mirror (2x 2TB). If one disk fails – I'd be able to replace it easily. Would you recommended this strategy?

And would this be the correct setup?

Code: Select all
$ sudo zpool create MyPool mirror /dev/diskA /dev/diskB -f -o ashift=12 -O casesensitivity=insensitive -O normalization=formD


Thanks! ~ Kai
c6y Offline


 
Posts: 3
Joined: Fri Feb 01, 2013 2:28 pm

formD by default on OS X

Post by grahamperrin » Wed Feb 06, 2013 3:22 pm

-O normalization=formD

… that part of the command may be superfluous. Check the installed man page for zfs(8) …
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: Setup question

Post by c6y » Wed Feb 06, 2013 9:09 pm

Just to be sure I don't mess up:
the whole disk should be used for ZFS (disk1) – right?
And not only a slice (disk1s2).

Code: Select all
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                  Apple_HFS FilesDisk               2.0 TB     disk1s2
c6y Offline


 
Posts: 3
Joined: Fri Feb 01, 2013 2:28 pm

Re: Setup question

Post by ghaskins » Thu Feb 07, 2013 8:45 am

c6y wrote:the whole disk should be used for ZFS (disk1) – right?


Note that I believe that is only an optimization, not a requirement. IIUC, giving it a whole disk allows it to optimize the alignment, and manage the on-disk cache. But it will still work if you only give it a slice.
ghaskins Offline


 
Posts: 52
Joined: Sat Nov 17, 2012 9:37 am


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 1 guest

cron