Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm considering using FreeNAS and "recycling" some of my older 1TB disks. Two are the exact same model Western Digital while another is Seagate and the fourth is Samsung.

Typically, since all disks are not equal, I'll create my arrays on a Windows-based server 1GB undersized to prevent a replacement disk not being large enough. Dell is notorious for sending replacement SATA disks of different brand---knock on wood, no problems yet.

Since not all drives are created equally and they can vary a few MBs, is there a way to make the the FreeNas/ZFS/Raid-Z function in the same way I do for my Windows-based servers above?

Thanks

share|improve this question

1 Answer 1

Recent ZFS version do allow some slack when it comes to slightly different drive sizes. Basically, when you create ZFS pool ZFS leaves some spare space on the slice unused, so if some time later you replace a drive with a slightly smaller one, the smaller drive would still be accepted, though it will have smaller unused chunk on it.

As an alternative, you can do this explicitly and build ZFS pool from partitions sized to be a bit smaller that the drives you use. If you get a smaller drive later, as long as it can still accommodate your partition size, there will be no trouble.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.