syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
396 stars 40 forks source link

4Tb USB Disk formatted at 2Tb #522

Closed ik0api closed 4 years ago

ik0api commented 4 years ago

When I request formatting a 4Tb USB external disk Syncloud announces it will format at 2Tb. And it does it, leaving 1,7 unused and unpartitioned.

Tried with a WD Elements and a Maxtor M3

immagine

In the past I was able to format at 4Tb regularly, with the same RPI4 4Gb

Regards

cyberb commented 4 years ago

This is not good and it is related to MBR (32bit) limitation and we should switch to GPT (64bit). https://en.wikipedia.org/wiki/GUID_Partition_Table#History

cyberb commented 4 years ago

There is a test version, could you try?

snap refresh platform --channel=master

If you format the disk it should take the full capacity. Obviously you will lose all the data on it!

ik0api commented 4 years ago

mmh... I have very little experience with Linux, that's why I'm a happy user of the great Syncloud! I would format a new disk at 4Tb then transfer the folders of the now-2Tb one. Would it work?

cyberb commented 4 years ago

Yes

cyberb commented 4 years ago

Have you tried?

ik0api commented 4 years ago

Not yet. I'm very basic on Linux, I need to learn how to move files between disks and then I'll try

At 14:39 21/06/2020, Boris Rybalkin wrote: Have you tried? ­ You are receiving this because you authored the thread. Reply to this email directly,

view it on GitHub, or

unsubscribe.

cyberb commented 4 years ago

Update released, reopen if it is not working.

ik0api commented 3 years ago

There is a test version, could you try?

snap refresh platform --channel=master

If you format the disk it should take the full capacity. Obviously you will lose all the data on it!

I successfully upgraded to a 12Tb WD USB while keeping all my files and settings!

Firstly, I saved an image of the 2Tb partition with Aomei Backupper Free (for Windows), which can handle EXT4. Also for backup. Then I cloned the 2Tb MBR partition to the new 12Tb disk (originally NTFS) with Aomei Backupper Free Then I connected the 12Tb disk to an RPI2 with Noobs (Debian), installed Gparted and expanded the partition from 2Tb to the full 12 Tb space. Gparted automatically converted to GPT, I think.

I connected the new disk to my Syncloud RPI4 and now have all my files, all apps and all settings running perfectly.

Note: I didn't set Nextcloud to encrypt my files, don't know wether this can trouble the HD switch.

cyberb commented 3 years ago

Great!