Tiny Core Base > TCB Q&A Forum

Tiny core server

<< < (4/5) > >>

Rich:
Hi ldak
Very nice indeed. One minor comment. The EXT3 file system is a journaling file system. Journaling
file systems are not recommended for use on flash devices since they will wear those devices out
faster. I believe you can disable the journaling if you want, though I don't recall how off the top of
my head.

curaga:
Only on ext4, ext3 doesn't support a non-journaling mode.

Rich:
Hi curaga
You are correct. Had I taken a few minutes to research this I could have given a better answer, so
here it is:

The EXT3 file system is basically an EXT2 file system with journaling added. While you can not
disable the journaling, you can convert it to an EXT2 file system by booting using the boot codes
base norestore  so that the drive is not mounted. Then execute the following commands:

e2fsck -fp /dev/sda1                          Make sure the file system is clean before doing anything else.
tune2fs -O ^has_journal /dev/sda1     Convert the partition to EXT2.
e2fsck -fp /dev/sda1

This assumes that   sda1   is the partition you wish to convert. Let me know if I've missed anything.

[EDIT]: While this is off topic, I felt it might be pertinent for anyone reading ldak's website.

ldak:
Hello Rich

I am a somewhat jaded linux newbie, only seeming knowledgeable to my fellow Windows admins...8)

Was aware of the flash / journalling issue, so used ext2 on the flash and ext4 on the external usb drive used for file store.

Disabled backup on shutdown to stop fiddling.

Thanks for taking the time to advise.

Rich:
Hi ldak
I only made that comment to make others aware because the of following from your website

--- Quote ---Using cfdisk create hda1 - a 200Mb bootable partition and hda2 - the rest (844Mb with my 1GB card).

Next format the two partitions.
  mkfs.ext3 /dev/hda1
  mkfs.ext3 /dev/hda2
 
--- End quote ---
which shows an EXT3 file system being put onto a flashcard. As I said, a nice website, and well written.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version