Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-21-2005, 11:44 AM
|
#1
|
Member
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83
Rep:
|
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
***************
|
|
|
12-21-2005, 11:50 AM
|
#2
|
Member
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167
Rep:
|
ext3 is less efficient with disk space than reiserfs.
|
|
|
12-21-2005, 12:09 PM
|
#3
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
I dont know if others had the same experience but changing the ext3 default 4096 caused frequent error messages for me eventually.
|
|
|
12-21-2005, 11:00 PM
|
#4
|
Member
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216
Rep:
|
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.
|
|
|
12-22-2005, 05:50 AM
|
#5
|
Member
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84
Rep:
|
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.
|
|
|
12-22-2005, 12:02 PM
|
#6
|
Member
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|