| Poster | Thread |
abalaban
|  |
FFS convertion from 512 blocksize to 2048 blocksize Posted on 11-Feb-2006 18:52:41
| | [ #1 ] |
|
|
 |
Super Member  |
Joined: 1-Oct-2004 Posts: 1115
From: France | | |
|
| I wonder if it exists a program able to convert an FFS partition with 512 blocksize to an FFS partition with 2048 blocksize... Without reformating partition of course (otherwise I would have used MediaToolBox  It should be possible (I know under Win a FAT->NTFS converter exists and changing the filesystem is more difficult than "packing" 4 block into one new, isn't it ?
_________________ AOS 4.1 : I dream it, Hyperion did it ! Now dreaming AOS 4.2...  Thank you to all devs involved for this great job ! |
|
| Status: Offline |
|
|
Severin
|  |
Re: FFS convertion from 512 blocksize to 2048 blocksize Posted on 11-Feb-2006 20:25:17
| | [ #2 ] |
|
|
 |
Elite Member  |
Joined: 18-Aug-2003 Posts: 2740
From: Gloucestershire UK | | |
|
| |
| Status: Offline |
|
|
number6
|  |
Re: FFS convertion from 512 blocksize to 2048 blocksize Posted on 11-Feb-2006 23:08:38
| | [ #3 ] |
|
|
 |
Elite Member  |
Joined: 25-Mar-2005 Posts: 11924
From: In the village | | |
|
| @severin
Advice pre-update#4 for boot partitions under FFS was "2048" blocksize. (1)Is this still the case? (2)If so, have users been advised of this when making their "new" partitions?
#6
_________________ This posting, in its entirety, represents solely the perspective of the author. *Secrecy has served us so well* |
|
| Status: Offline |
|
|
number6
|  |
Re: FFS convertion from 512 blocksize to 2048 blocksize Posted on 11-Feb-2006 23:39:53
| | [ #4 ] |
|
|
 |
Elite Member  |
Joined: 25-Mar-2005 Posts: 11924
From: In the village | | |
|
| @number6
ok. Confirmed in irc.
Users still using FFS -should- use blocksize=2048 for their "boot" partitions. I suggest 500 for "buffers".
#6
_________________ This posting, in its entirety, represents solely the perspective of the author. *Secrecy has served us so well* |
|
| Status: Offline |
|
|
olsen
|  |
Re: FFS convertion from 512 blocksize to 2048 blocksize Posted on 12-Feb-2006 9:22:04
| | [ #5 ] |
|
|
 |
Cult Member  |
Joined: 15-Aug-2004 Posts: 774
From: Germany | | |
|
| @abalaban
Quote:
abalaban wrote: I wonder if it exists a program able to convert an FFS partition with 512 blocksize to an FFS partition with 2048 blocksize... Without reformating partition of course (otherwise I would have used MediaToolBox  It should be possible (I know under Win a FAT->NTFS converter exists and changing the filesystem is more difficult than "packing" 4 block into one new, isn't it ?
|
I know of no such program. Converting the block size is no small feat. The partition data has to be changed (in the RDB partition information stored in the first few blocks of the disk) to reflect the new layout, the directory structure needs changing, the block allocation table has to be rebuilt. That is a lot of work, and because the FFS was not designed to allow for block changes "on the fly" the whole operation is destructive, i.e. if the process breaks down at some point there's no going back, or much of a chance to recover any data.
I'd say you would be better off to move the data to a different partition, change the partition whose block size should be upgraded to 2048 bytes per block, reformat it quickly and eventually move all the data back.
|
|
| Status: Offline |
|
|
abalaban
|  |
Re: FFS convertion from 512 blocksize to 2048 blocksize Posted on 12-Feb-2006 9:33:58
| | [ #6 ] |
|
|
 |
Super Member  |
Joined: 1-Oct-2004 Posts: 1115
From: France | | |
|
| @olsen
thank you for the reply, the problem with copying the data is that with 512 bytes per block this slow, very slow. And I should do it on all my partitions (i.e. over 10 G to move), pff if only I had checked this when I received my A1 before filling it with those data...
_________________ AOS 4.1 : I dream it, Hyperion did it ! Now dreaming AOS 4.2...  Thank you to all devs involved for this great job ! |
|
| Status: Offline |
|
|