SF.net Project Page
Section: Maintenance Commands (8)
Updated: 05 Aug 2006
reblock - change filesystem block size.
reblock [-nqvV] inode_table device blocksize
using information from inode table change each files' fragments placing
so, that it was align by blocks bounds with new size.
WARNING: with increasing filesystem block size it will be makes
really writing to device, and former device filesystem will be destroyed.
WARNING: with increasing filesystem block size and small free space
on device probably there will not enough space for allocating
the next block. At the same time utility will exit with error and
not only former device filesystem will be destroyed, but also
already moved files of external inode table will be partially shifted
In this connection RECOMMENDED first use utility with
Don't actually reblock the device. In this case it don't actually
read or write on device, nevertheless new inode table will be formed
in memory, will be checked whether there is enough space on device
for allocating all blocks.
Don't print any messages.
Print number of new fragments for every file.
Print the version number and exit.
External inode table. From the file will be read former
filesystem file location and to the file will be written
new its location.
Device for changing blocksize.
New blocksize. It must be number power of 2 and not less than 512.
Check for enough free space on device:
$ reblock -n ~/inode.table /dev/hda1 4096
Reblock /dev/hda1 to 4096 blocksize:
$ reblock ~/inode.table /dev/hda1 4096
Nikolaj Krivchenkov aka unDEFER <email@example.com>
Messages about any problem with using
package send to
You can obtain the last version of package at
- USAGE EXAMPLES
- BUG REPORTS
- SEE ALSO
This document was created by
man2html (from man 1.5o1),
using the manual pages.
Time: 21:52:21 GMT, August 16, 2008