Home much hard drive space can a raspberry pi see

I just got a 4 bay raid device and i want a put 12TB in it install ownCloud on the Rasp Pi connect the 2 and start hosting. I was wondering what is the max drive size the R Pi can see?