Hello all. I'm having some trouble with a big RAID disk formatted with ext3 under RHEL3. The size of the partition is 1.5 Tb and the sector size is 32Mb. The partition was intended to store very large files (1 or 2 Gb each one) but the reality is that there are also a lot of TXT files (less than 1Kb). As every TXT is taking 32Mb and there are a lot I'm loosing around 300 Gb of space. I would like to change the sector size to 2Mb or 1Mb but I don't know if it's possible to do it without loosing the data stored in the FS. I can do it unmounting the FS, this is not a problem, but not backing-up, deleting the FS, and restoring (too much time!!). Thank you in advance for your suggestions. Salva (Spain) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/ext3-users/attachments/20060809/52e1c2e3/attachment.htm>
On Wed, 9 Aug 2006, paulvarjak at gmail.com wrote:> The size of the partition is 1.5 Tb and the sector size is 32Mb. Thehm, AFAIK ext3 is only aware of the "block-size" which can be 1024, 2048 or 4096 bytes per block. I'm not sure what this "32 Mb (Megabyte? Megabit?) sector size" might be...> I would like to change the sector size to 2Mb or 1Mb but I don't know if > it's possible to do it without loosing the data stored in the FS. I can doIf it's really the block-size you meant: no, it's not possible to change that without reformatting. The best you could do is to make a fresh backup, mkfs.ext3 with the right block-size, then play back the backups again. Christian. -- BOFH excuse #299: The data on your hard drive is out of balance.