Re: [linux-lvm] Q: Online resizing ext3 FS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tomasz Chmielewski <mangoo@xxxxxxxx> writes:

> Chris Osicki schrieb:
>> Hi
>>
>> I apologize in advance for asking a question not really appropriate
>> for this mailing list, but I couldn't find a better place with lots of
>> people managing lots of disk space.
>>
>> The question:
>> Has anyone of you been using ext2online to resize (large) ext3 filesystems?
>> I have to do it going from 500GB to 1TB on a productive system I was
>> wondering if you have some horror/success stories.
>> I'm using RHEL4/U4 (kernel 2.6.9) on this system.

That kernel seems to be a bit old. Better upgrade first.

I did some resizes in that size range. Although just adding 50-200GB
not doubling the size in one go. But I see no reason it should
fail. Growing the fs was always quick (a minute or two) and
painless. Maybe because I have used -Tlargefile4 for mke2fs so the
amount of inodes is drastically reduced.

> Yes, I tried to online resize a similar filesystem (600 MB to 1.2 TB)
> and it didn't work.
>
> At some point, resize2fs would just exit with errors.
> I tried to do it several times before I figured out what's missing;
> sometimes, I interrupted the process with ctrl+c. No data loss
> occurred.
>
> To do an online ext3 resize, the filesystem needs a "resize_inode"
> feature. You can check the features with dumpe2fs:

So was that what you were missing or did some other error occur?

I tried to resize an fs without resize_inode and it just plain told me
and abrted.

MfG
        Goswin
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux