newfs limits? 10TB filesystem max?

Claus Guttesen cguttesen at yahoo.dk
Wed Feb 16 21:53:30 GMT 2005


> I've just built an enormous 10TB filesystem.  When
> trying to newfs the disk, it bombed with something
> like "cannot allocate memory" after something like
> 23xxxxxxxxx sectors..  I noticed disklabel complains
> about disks with more than 2^32-1 sectors not being
> supported..  

Aren't you supposed to use gpt(8) to define partitions
larger than 2 TB?

> Is newfs supposed to be able to work?  I've used the
> -s option to newfs to limit my filesystem size to
> the max it would allow, which ends up being
> 11350482546 1K blocks, which means I'm only losing a
> couple GB, which is no sweat right now for me, but
> if someone wanted a 20TB filesystem, they'd be
> hosed.

Then the question is whether newfs reads
gpt-partitioned disks? From newfs(8):

Before running newfs the disk must be labeled using
bsdlabel(8). 

How did you create such a huge partition? Your
question is quite interesting, I'm at a
storage-solution which supports LUN's larger than 2.2
TB.

regards
Claus



More information about the freebsd-current mailing list