WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny core server  (Read 16036 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: Tiny core server
« Reply #15 on: July 30, 2011, 09:04:02 PM »
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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11046
Re: Tiny core server
« Reply #16 on: July 31, 2011, 03:46:43 AM »
Only on ext4, ext3 doesn't support a non-journaling mode.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: Tiny core server
« Reply #17 on: July 31, 2011, 02:57:19 PM »
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.
« Last Edit: July 31, 2011, 03:04:08 PM by Rich »

Offline ldak

  • Newbie
  • *
  • Posts: 6
Re: Tiny core server
« Reply #18 on: August 03, 2011, 07:34:17 PM »
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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: Tiny core server
« Reply #19 on: August 04, 2011, 12:04:22 AM »
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
 
which shows an EXT3 file system being put onto a flashcard. As I said, a nice website, and well written.


Offline ldak

  • Newbie
  • *
  • Posts: 6
Re: Tiny core server
« Reply #20 on: August 04, 2011, 04:54:44 PM »
Hello Rich

Right to point it out.

Can't take the credit for the link though....it's not mine, just a guide to be dipped into as found useful.  Credit goes to thin@parkytowers.me.uk

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: Tiny core server
« Reply #21 on: August 04, 2011, 05:01:33 PM »
Hi ldak
My mistake, I thought it was your site.