View previous topic :: View next topic |
Author |
Message |
MK24 n00b
Joined: 31 Dec 2004 Posts: 46
|
Posted: Sun Apr 22, 2007 4:56 am Post subject: JFS to Ext3 |
|
|
I am currently using jfs which has become slower and slower. So is their a possibility to change the filesystem of a partition from jfs to ext3? |
|
Back to top |
|
|
nbvcxz Guru
Joined: 02 Sep 2005 Posts: 379 Location: Kraków / PL
|
Posted: Sun Apr 22, 2007 6:51 am Post subject: |
|
|
LiveCD -> partition backup (tar.bz2 ?) -> mkfs.ext3 -> restore backup -> change fstab
there is probably no other way (no on-fly filesystem converters)
btw. after making ext3 filesystem you can also tune2fs -O has_journal -o journal_data /dev/XXX eg. look@: https://forums.gentoo.org/viewtopic-t-549935-start-0.html _________________ nBVCXz
zen-kernel (bfq compcache) | /tmp -> tmpfs | ext4 | zsh | xfce | schedtool
Last edited by nbvcxz on Sun Apr 22, 2007 10:30 am; edited 1 time in total |
|
Back to top |
|
|
buddabrod Apprentice
Joined: 15 Oct 2006 Posts: 241 Location: Germany
|
Posted: Sun Apr 22, 2007 7:49 am Post subject: |
|
|
You can try shake. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Apr 22, 2007 10:12 am Post subject: |
|
|
is your partiton a data partition or your root partition?
If plenty of space is left try gparted and move then the data, only if this is a data partition. Dont forget=> bakcup before. |
|
Back to top |
|
|
MK24 n00b
Joined: 31 Dec 2004 Posts: 46
|
Posted: Sun Apr 22, 2007 6:25 pm Post subject: |
|
|
It's the root partition. |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3432 Location: Gainesville, Florida
|
Posted: Mon Apr 23, 2007 2:42 pm Post subject: |
|
|
When I was using reiser3 and ran into fragmentation slowdown (perhaps with your jfs too), I did essentially what nbvcxz suggested from a knoppix live cd boot, using a spare data partition (/mnt/data) I had on my hard drive. I just didn't tar stuff up on my fragmented / partition, and instead used (as an example) cp -a /bin/ /mnt/data, etc., etc.
IIRC, I didn't copy over sys and proc to the spare data partition (or any other directories that aren't on / and have their own partitions, like /home), but recreated sys and proc as empty directories after deleting the others from /, and copying them back before rebooting.
There's lots of info on this subject, and probably better ways to do this than I'm describing, but they all accomplish the same thing. You could also reformat / in another file system if you wished before copying back. If you stay with the same FS, reformatting is not necessary just to defrag- just deleting the old directories and copying them back does the job.
The main thing is doing this operation from a live cd- knoppix was very convenient _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.7.2 USE=experimental python3_11 |
|
Back to top |
|
|
buddabrod Apprentice
Joined: 15 Oct 2006 Posts: 241 Location: Germany
|
Posted: Mon Apr 23, 2007 2:50 pm Post subject: |
|
|
wrc1944 wrote: | If you stay with the same FS, reformatting is not necessary just to defrag- just deleting the old directories and copying them back does the job. | As i said, look at shake, it does pretty much what you want but hast additional routines which organize all files in a better way, for example packing them physically close together on the hard drive. |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Mon Apr 23, 2007 4:27 pm Post subject: |
|
|
buddabrod wrote: | wrc1944 wrote: | If you stay with the same FS, reformatting is not necessary just to defrag- just deleting the old directories and copying them back does the job. | As i said, look at shake, it does pretty much what you want but hast additional routines which organize all files in a better way, for example packing them physically close together on the hard drive. |
If I wanted to do this on a root partition, would i do shake /dev/sda5? _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3432 Location: Gainesville, Florida
|
Posted: Mon Apr 23, 2007 4:30 pm Post subject: |
|
|
Shake looks pretty interesting. Is there any more user feedback/experiences or reviews I can look at, other than what a google search tured up? _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.7.2 USE=experimental python3_11 |
|
Back to top |
|
|
deno Guru
Joined: 13 Sep 2006 Posts: 411
|
|
Back to top |
|
|
buddabrod Apprentice
Joined: 15 Oct 2006 Posts: 241 Location: Germany
|
Posted: Mon Apr 23, 2007 8:55 pm Post subject: |
|
|
vipernicus wrote: | buddabrod wrote: | wrc1944 wrote: | If you stay with the same FS, reformatting is not necessary just to defrag- just deleting the old directories and copying them back does the job. | As i said, look at shake, it does pretty much what you want but hast additional routines which organize all files in a better way, for example packing them physically close together on the hard drive. |
If I wanted to do this on a root partition, would i do shake /dev/sda5? | I did Code: | shake --old 0 -T 20 -t 20 -vv / |
|
|
Back to top |
|
|
|