You are not logged in.

#1 2009-04-09 22:34:50

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

slow ext4 fsck

I converted my 80GB partition from ext3 to ext4 with the instructions in the wiki.
It doesn't fsck very fast, about the same speed it did when it was ext3.
It goes fast in some spots, and apears to stop for a while in other spots.
any suggestions?


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#2 2009-04-09 22:46:14

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: slow ext4 fsck

For the speed advantages to be realized, you have format the partition in question to ext4, then copy the files back... that is my understanding.  Otherwise, 'converted' files are still extent-less.

Last edited by graysky (2009-04-09 22:47:16)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2009-04-09 22:55:09

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: slow ext4 fsck

graysky wrote:

For the speed advantages to be realized, you have format the partition in question to ext4, then copy the files back... that is my understanding.  Otherwise, 'converted' files are still extent-less.

Isn't there some defrag tool that fixes that?

And this is my / partition. Could I reformat without reinstalling?

Last edited by Raccoon1400 (2009-04-09 22:55:39)


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#4 2009-04-09 23:07:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: slow ext4 fsck

Well... if you could boot from a live CD, rsync the / to another partition, format it and rsync it back, I don't see why this wouldn't work with the / partition... I did this to my /home last night and it is now ext4.  You might wanna wait for someone else to answer your post who is more knowledgeable and I am about this.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2009-04-10 01:17:59

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: slow ext4 fsck

graysky wrote:

Well... if you could boot from a live CD, rsync the / to another partition, format it and rsync it back, I don't see why this wouldn't work with the / partition... I did this to my /home last night and it is now ext4.  You might wanna wait for someone else to answer your post who is more knowledgeable and I am about this.

This is how I basically migrated my / partition .
1) Use a recent Parted Magic live cd .
2) Mount your Arch partition .
3) Mount a storage partition with sufficient free space .
4) Backup your Arch partition (the classic way using 'tar' or with rsync) and save the backup in your storage partition .
5) Unmount your Arch partition and reformat it to EXT4 (I used mkfs.ext4 for this) .
6) Remount your Arch partition .
7) Restore the backup to your Arch partition & make sure the filesystem hierarchy is right .
8) Edit '/boot/grub/menu.lst' and '/etc/fstab' (Remember to use the new UUID) .
9) Fix grub as explained in the wiki here .
10) Done .


English is not my native language .

Offline

#6 2009-04-10 04:16:42

SLKDK
Member
Registered: 2008-08-11
Posts: 61

Re: slow ext4 fsck

Uhm.. I just reinstalled Arch linux few days ago.
At the installation I formattet the / partition and chose ext4.

I just got my first fsck after 50 mounts, and it took several minutes. My / partition is only 10gb and my entire harddisk is 80 gb.


?

Offline

Board footer

Powered by FluxBB