Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all!
I hear that ext4 is stable in the 2.6.28 kernel.
I download it and compile it whit ext4 support.
Now, what is the best way to migrate the ext3 partitions to ext4.
Is enough with mounting the partitions using the ext4 filesystem type? in this way i have all the adventages of ext4 like extents?? Or I must to format or run some command to migrate??
And can I use ext4 in my root partition (and boot from it with LILO)?
I read a lot of articles and Im confused about this...
To use a device as an ext4 file system, you should mount it with the ext4dev file system type code. (When ext4 becomes stable, the file system type code will change to ext4.) For instance, mount -t ext4dev /dev/sda6 /mnt/point mounts /dev/sda6 as an ext4 file system at /mnt/point. That's all there is to basic ext4 use. Be aware that the default mount options enable extents, which renders the file system unusable as an ext3 file system. If you want to try ext4 but retain the option of going back to ext3, use the -o noextents option to disable use of extents.
all the procedures are described there. The full conversion involves using tune2fs to turn on the new capabilities, and fsck to apply all the changes so it can be mounted as ext4.
Have a look at ext4.txt in your source tree - it will refer you to the ext4 wiki. Spend some time there.
There is a thing I dont understand
Quote:
Or configure an existing ext3 filesystem to support extents and set
the test_fs flag to indicate that it's ok for an in-development
filesystem to touch this filesystem:
# tune2fs -O extents -E test_fs /dev/hda1
When I do this step, the filesystem to be converted, must be unmounted? I think yes, but unsure...
When I do this step, the filesystem to be converted, must be unmounted? I think yes, but unsure...
Thanks for the answers!
Yes, to run the tune2fs command, the target filesystem must be unmounted. This means you may have to boot from a LiveCD, depending on which partition you plan to convert.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.