LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-21-2005, 11:44 AM   #1
jadukor
Member
 
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83

Rep: Reputation: 15
partition size problem


Hi all

I reformatted my partitions to EXT3 from ReiserFS and reinstalled Slackware. But strangely the partitions seem to have shrunk!! I am posting the results of the command "df -h" while it was ReiserFS & while it is EXT3. Please let me know what is going on.

One last thing, the default inode size for EXT3 was "4096 bytes" but I changed it to "1024 bytes" during installation.

Thanks

for ReiserFS
***************
bash-3.00# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 283M 104M 179M 37% /
/dev/hda6 48M 37M 11M 78% /boot
/dev/hda7 283M 47M 237M 17% /home
/dev/hda8 1.2G 676M 470M 60% /opt
/dev/hda9 283M 33M 250M 12% /root
/dev/hda10 283M 33M 251M 12% /tmp
/dev/hda11 2.4G 1.6G 810M 67% /usr
/dev/hda12 957M 50M 907M 6% /var
**************
for EXT3
**************
bash-3.00$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 247M 73M 161M 32% /
/dev/hda6 42M 8.4M 31M 22% /boot
/dev/hda7 247M 19M 215M 9% /home
/dev/hda8 1002M 723M 222M 77% /opt
/dev/hda9 247M 8.6M 225M 4% /root
/dev/hda10 247M 8.1M 225M 4% /tmp
/dev/hda11 2.1G 1.7G 226M 89% /usr
/dev/hda12 838M 34M 756M 5% /var
***************
 
Old 12-21-2005, 11:50 AM   #2
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
ext3 is less efficient with disk space than reiserfs.
 
Old 12-21-2005, 12:09 PM   #3
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
I dont know if others had the same experience but changing the ext3 default 4096 caused frequent error messages for me eventually.
 
Old 12-21-2005, 11:00 PM   #4
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
The ext3 filesystem (which is really the ext2 filesystem with journalling) uses space to create inodes which reduces the amount of free space. The inode "sizing" option doesn't actually size the inodes but tells mke2fs how many inodes to allocate. The dafault of 4096 allocates one inode for every 4096 bytes of drive space. When you "resized" the inodes, you allocated one inode for every 1024 bytes of drive spaces, taking four times as much space than if you had left the default.

Some space is also used for the journal file unless you move it elsewhere with the -J option.
 
Old 12-22-2005, 05:50 AM   #5
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
Reiserfs is the fs you need to use for all you linux installs. It has built in file journaling and is WAY more effecient than both ext2 and ext3. Just make sure if you recompile your kernel you compile in ReiserFS support and you are golden. I have never had a problem with ReiserFS aside from having a bad HDD. Also I would never change the inode size, this usually leads to BAD problems with the FS.
 
Old 12-22-2005, 12:02 PM   #6
jadukor
Member
 
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83

Original Poster
Rep: Reputation: 15
Thanks everyone

But strangely, my system now boots 15 seconds faster!! It used to take 55 seconds, now it takes 40 seconds. Apart from that I haven't noticed any other significant performance benefits. But I would like to know if there is any way to measure FS performance.

As for changing the default inode size; haven't yet got into any trouble, so far so good.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition size problem jadukor Slackware 1 12-19-2005 07:44 PM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
fdisk partition size differs from mounted partition size jimieee Linux - General 3 10-15-2003 03:10 AM
problem with partition size sandy Linux - Newbie 5 10-06-2003 07:03 PM
Partition size allocation problem Supraj Linux - Newbie 3 08-08-2001 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration