Hass.io 32bit large disk support

I’m trying to add a 4TB usb drive (NTFS formatted) and mount and use via media browser.
Looking at the logs I see: Volume size (3TiB) too large for this architecture. Maximum supported 2TiB. Sorry

sudo apt-get install ntfs-3g should solve my problem but hass.io is locked down thus not possible.

Any ideas/suggestions? I do not want to re-format the drive and want to use it as NTFS.

Are you using the 32 or 64 bit version of home assistant?

Hi, 32bit - the recommended one for GPIO support. Version 2020.12.7

A single 32 bit value only allows addressing a 2 TB disk.

2^32 x 512 = 2TiB

(512 = sector size in bytes).

1 Like

Ended up rebuilding to 64bit with restore. Now it works!!

Will I still have GPIO support? Planning to start with some automation soon

Unfortunately no, I don’t think that has been added to the 64bit image.

It is rubbish anyway. It’s ok for switch outputs but binary sensor inputs regularly miss transitions back to the inactive state if the pulse length is shorter than a second or so. That issue has been open since Nov 2017. So don’t expect it to be fixed any time soon.

I ended up using Flyte’s gpio to mqtt server on another two pi3Bs. Works flawlessly.

The other option is to use command line switches and sensors. I had look but can’t find the post I read about that.

1 Like

I’ve been using 64-bit HassOS for a while now, controlling a fan over GPIO without issue.
Not as precise an operation as monitoring switches and sensors, so your mileage may vary, but is a step in the right direction.
If you need the i2c pins, you’ll need to enable them specially though

1 Like

Thanks guys!!! You helped me :slight_smile:

How did you build a 64bit OS? Can you share and will it work on Intel NUC?

The Generic x86-64 image for NUC is 64 bit.

I also installed that but not able to mount 1TB NTFS drive. Error: unknown filesystem type ‘ntfs’. Where you able to mount 4TB ntfs drive?

Are you talking about the system drive that the Home Assistant Image is installed to or trying to mount an extra drive?

A) It’s LInux, so ext4 file system.
B) Mounting extra drives is not officially supported. Though there is an addon that may do what you want: