Moving and resizing partitions

AmigaOS users can make feature requests in this forum.

Moving and resizing partitions

Postby ancalimon » Wed Jan 25, 2017 5:39 pm

Does Media Toolbox support moving and resizing partitions without erasing any data?

If not and if easy to achieve, this would be really nice and handy to have.
ancalimon
 
Posts: 27
Joined: Tue Oct 18, 2011 8:31 am

Re: Moving and resizing partitions

Postby MichaelMerkel » Wed Jan 25, 2017 9:37 pm

ancalimon wrote:Does Media Toolbox support moving and resizing partitions without erasing any data?

If not and if easy to achieve, this would be really nice and handy to have.


unfortunately not.
if you change smth with media toolbox you will see a warning requester when saving it to disk telling you that the changed partitions will be "lost"...
always do proper backups before changing stuff here.

regards...
michael
Michael Merkel :lol:
(Member of Amiga Freunde Pfalz)
User avatar
MichaelMerkel
Beta Tester
Beta Tester
 
Posts: 312
Joined: Mon Dec 20, 2010 3:08 pm
Location: Germany

Re: Moving and resizing partitions

Postby tonyw » Thu Jan 26, 2017 2:43 am

Media Toolbox can resize a partition, but the effect of that resize depends on the file system installed in that partition. We don't have any AmigaOS file systems that can suffer a partition resize without losing data.

Since the file system could have data reaching to the extremes of the partition (start and end), any resizing that loses "edge" data could easily be fatal. All Amiga file systems use the first block of the partition to store the "signature" of the file system, so you can't chop off the start of the partition. Likewise, depending on how full the partition, there could be data out to the end of the partition, and losing that might screw part or the whole of the partition.

If the partition is expanded, then the increased space can only be used if the filesystem is made aware of the change and is capable of recalculating its geometry to make use of it. That usually requires a Format to generate the new data structures.

It's safe to assume that any reduction in the partition size will kill the contents. An expansion probably won't hurt, but won't be useful in any AmigaOS file systems.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1156
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: Moving and resizing partitions

Postby thomasrapp » Thu Jan 26, 2017 2:59 pm

Think of MediaToolbox as a partition table editor. It only edits the table, it does not touch the partitions themselves. If you delete a partition in Media Toolbox, the partition is not deleted, only the entry in the table. If you recreate the entry exactly as before, the partition will reappear with all the data it contains.

Moving / Resizing partitions without data loss would require a completely different kind of program.
User avatar
thomasrapp
 
Posts: 225
Joined: Sun Jun 19, 2011 12:22 am


Return to AmigaOS Feature Requests

Who is online

Users browsing this forum: Bing [Bot] and 1 guest