On 09/05/2012 05:06 AM, Yaverot wrote:
> "What is the smallest sized drive I may use to replace this dead drive?"
> That information has to be someplace because ZFS will say that drive Q is too 
> small.  Is there an easy way to query that information?

I use fdisk to find this out. For instance say your drive you want to
find the size of is c2t4d0, then do:

# fdisk /dev/rdsk/c2t4d0p0

Near the top fdisk will print this kind of drive info:

             Total disk size is 9345 cylinders
             Cylinder size is 12544 (512 byte) blocks

Simply multiply the numbers and you get the result:

# echo '9345 * 12544 * 512' | bc

And that's the size of the drive in 8-bit bytes.

zfs-discuss mailing list

Reply via email to