Incorrect drive size on SMB with external HDD

  • Hi all,

    I'm very new to Linux and Pi and I need some help.

    I've installed Libreelec and I've got an external USB HDD attached however on my windows machine the drive shows up as significantly smaller (400MB) that the actual drive (500GB). I have seen some suggestions of editing smb.conf but libreelec has a read only file system.

    Any solutions?

  • Hi Klojum,

    No I installed via noobs on a 32GB SD card.

    if I open the libreelec pi under Windows network and then navigate to the folder "/media/MediaDrive" which is what I named the HDD and I map it I can write small files to it and create folders but it is only a few hundred MB in size and not the 500GB it should be.

    <edit>Are you suggesting I SHOULD install it onto the HDD?

  • Sorry I realise I've not been quite clear.

    If plugged into the windows machine the drive shows 500gb if I plug it into the Pi and then connect to it from the windows machine across the network it shows the drive size incorrectly.

    I've seen some suggestions that it might be because libreelec mounts the hdd onto a sub folder of the SD card and the samba server report incorrect free space and drive sizes...

  • Copy /etc/samba/smb.conf to /storage/.config/samba.conf and change "allocation roundup size" to 4096. You can also try commenting it out for the default size.