# RE: imsm: 32 bit sector counts and \> 2TB disks

- From: Dorau, Lukasz \<hidden\>
- Date: 2012-12-17 13:03:10 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2012/12/6622603
- Thread: https://ratatoskr.run/linux-raid/2012/12/6622603/t.md

```text
On Thursday, December 13, 2012 10:08 AM John Robinson wrote:
> On 13/12/2012 16:45, Phillip Susi wrote:
> > It appears that the imsm format only uses 32 bits to represent the
> > sector counts used from each disk.  It appears that at least on
> > Windows, a disk > 2 TB works
> 
> It certainly does. I built a Supermicro server with 3TB drives and IMSM RAID a
> couple of weeks ago.
> 
> > so could someone from intel explain how this is supposed to work?
> 
> I'd be interested too. If I need to expand the array on the above, I was
> expecting to use a Linux live CD and mdadm to do the reshape.
> 

The IMSM metadata uses 64 bits to represent sizes (saved in *_lo and *_hi parts 32 bits each):

http://git.neil.brown.name/git?p=mdadm.git;a=commitdiff;h=5551b113dc18a6275fb04c7e7e3b76c656926e0a

Lukasz

```
