Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 22 Nov 2014, 17:12
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
whuch file system type should i use
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
enhu


Joined: 26 May 2009
Posts: 301

PostPosted: Thu 07 Jan 2010, 07:43    Post subject:  whuch file system type should i use  

which file system type should i use to avoid the improper shutdown error of X?

should it be ext2 or ext3
Back to top
View user's profile Send private message Visit poster's website 
Oakems

Joined: 21 Mar 2009
Posts: 325

PostPosted: Thu 07 Jan 2010, 08:59    Post subject:  

EXT3, I think it is slightly slower than EXT2 but it is more stable and can fix itself.
Back to top
View user's profile Send private message 
duke93535


Joined: 05 May 2005
Posts: 194
Location: California , High Desert

PostPosted: Fri 08 Jan 2010, 05:11    Post subject:  

I have been using reiserfs for Puppy full installs for 5 years and have not had any problems in that period. I used to have power outages about 10 times per week or more and this is why I changed to it.

Reiserfs has a much smaller use of space (about 1/13th the size) than ext2, ext3 and ext4.

There is no problems with the inodes either.

You do have to install a pet package "reiserfsprogs" to use it with Gparted, it's in the Puppy Package Manager and the repositories.

duke
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8639

PostPosted: Fri 08 Jan 2010, 09:59    Post subject:  

Interesting duke93535.......it does seem ext is a bit delicate perhaps because it was designed for 'always on systems.'(ext4 seems built for server use) I wonder how robust it would make the pup_save as with the 4 series using 2fs mine gets errors almost everytime I boot it whereas the older 2 series use of ext3 at least keeps healthier.

Nimblex (slax?) uses xfs for its save file ...any feedback on its reliability...I've never had any problems with it...it also can be resized and checked while mounted which is handy.

mike
Back to top
View user's profile Send private message 
duke93535


Joined: 05 May 2005
Posts: 194
Location: California , High Desert

PostPosted: Fri 08 Jan 2010, 17:51    Post subject:  

Mike, it looks like we may have lost the original poster.
Xfs doesn't seem to support resize with Gparted on the other two OS which I do have xfs capability on and yes, reiserfs does. I do resize full installs occasionally.


duke
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8639

PostPosted: Fri 08 Jan 2010, 20:14    Post subject:  

He is on several threads..I'm sure he will return

As for xfs resize I did this on the nimblex save file....not sure if those tools can work with partitions though..I will check. It was a little odd because the technique was to dd extra space when unmounted, then mount it and run the resizer to fill the new space and finish of with a file system check....worked just fine!

I'm off to play with both anyway...tended to just use ext2 and 3 on puppy and the windows driver comes in handy. I particularly interested in using reiserfs for the pupsave as that gets some hammer and support is in the kernel making life simple

regards

mike
Back to top
View user's profile Send private message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Fri 08 Jan 2010, 20:34    Post subject:  

You can grow an XFS partition in Gparted if you enable the kernel module (modprobe xfs) and have xfsprogs installed, but you cannot shrink.
shot.png
 Description   Gparted Dpup
 Filesize   62.14 KB
 Viewed   917 Time(s)

shot.png


_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
enhu


Joined: 26 May 2009
Posts: 301

PostPosted: Sat 09 Jan 2010, 03:50    Post subject:  

i'm still using ext3.
thanks for the info.

i can probably use reiserfs later once i fully learn this. Very Happy

thanks duke93535
thanks mikeb
gposil and Oakems
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 8639

PostPosted: Sat 09 Jan 2010, 09:10    Post subject:  

I did a few tests on a flash stick and with image files and indeed reiserfs is light on disk usage. The break point is 256MB where ext3 and reiser use around 32MB overhead. Another interesting point is that ext seems to hide its real usage . So on a fresh 1GB format reiser still uses 32MB (seems the same regardless..I assume as with others it grows with usage.) but ext2 had grown to 63MB and ext3 to 79MB! although ext2 claims it was only using 17K!. I went by the available space figure from df.
There may be small files stored in the index like ntfs but I'm sure others have more knowledge.
But for save file usage anything 256 or larger appears to hold no space penalty..I have one prepared for later.
Looking at the puppy 4 init it seems like it can pick up ext2 or ext3 (ie a premade one) but its such a convoluted pile of spaghetti in there now I will have to test to make sure.

Well off the topic drifts but food for thought

mike
Back to top
View user's profile Send private message 
duke93535


Joined: 05 May 2005
Posts: 194
Location: California , High Desert

PostPosted: Sat 09 Jan 2010, 13:05    Post subject:  

I tested for the overhead space used by a format with a blank primary partition on the hard drive. The total partition size is 25.03 GiB.

Used Space:
ext2 446.85 MiB
ext3 575.98 MiB
ext4 574.85 MiB
fat32 12.53 MiB
ntfs 65.23 MiB
reiser 32.89 MiB
xfs 12.60 MiB #only major disadvantage unable to shrink size.

Thought this might be of some interest.

duke
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8639

PostPosted: Sat 09 Jan 2010, 14:31    Post subject:  

Yes matches my findings....I don't think resizing with live data is a) a good idea b)slow..its faster to backup , remake and copy back (which is what a resize does anyway ) plus you should make a backup anyway so one is halfway there.

32MB seems the magic reiserfs figure and support is in puppy (and linux kernels in general) and the tools can be hijacked from puppy 2.

I suspect xfs gives similar performance. I guess when ext2 was designed then 1GB drives were about the limit. I noticed ext4 appears to give nothing in the way of space efficiency but then its aimed at servers with huge raid arrays.

I have made a test initrd.gz for puppy 2.
With tiny mod (was halfway there anyway) it looks for 'pup_save' without extension and then mounts it with ext3, ext2 or reiserfs depending on the extension (i used .rfs)
Not surprisingly it works just fine. I manually created the pup_save.rfs using the same method as the 3fs version so the only other mod to complete the picture would be to give a choice at shutdown of file type and include support for resizing.
Having tested the point in 2 the next step is to hack the puppy 4 init...a strong stomach needed for that one ...it actually looks for 2fs/3fs ok but only mounts as 2fs so will probably just take the mod from puppy 2.

I'm probably treading over old ground here

regards

mike

ps actually mine looks for 212_save...saves being trached by update routines Very Happy
Back to top
View user's profile Send private message 
davesurrey

Joined: 05 Aug 2008
Posts: 1201
Location: UK

PostPosted: Sat 09 Jan 2010, 15:13    Post subject:  

duke93535
Many thanks for those test results. Very interesting.

mikeb
Quote:
I'm probably treading over old ground here

Well if you are it's still fascinating and valuable stuff. And new to me.

Cheers
Dave
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8639

PostPosted: Sat 09 Jan 2010, 19:45    Post subject:  

Ok success...plus fixed a couple of bugs so no more 'no save creation with extra initrd.gz' and no trashing of full installs by frugals...had a good session.

Same as 2...detects 2fs, 3fs and rfs(reiserfs) pup_saves
..a pictoral evidence below...

Oh if you want decent fonts in firefox add
Code:
<!-- Reject bitmap fonts -->
 <selectfont>
  <rejectfont>
   <pattern>
     <patelt name="scalable"><bool>false</bool></patelt>
   </pattern>
  </rejectfont>
 </selectfont>

to /etc/fonts/font.conf - free extra tip there..no more squinting and fiddling with settings.

mike
reiser.png
 Description   
 Filesize   10.41 KB
 Viewed   851 Time(s)

reiser.png

Back to top
View user's profile Send private message 
DMcCunney

Joined: 02 Feb 2009
Posts: 897

PostPosted: Tue 12 Jan 2010, 15:16    Post subject: Re: whuch file system type should i use  

enhu wrote:
which file system type should i use to avoid the improper shutdown error of X?

should it be ext2 or ext3

The file system may not be the problem. I had an issue with Puppy failing to shut down properly (or boot properly) that another user diagnosed as being caused by leftover files in a couple of directories, and if those files were removed manually, the problem would be resolved. I was running ext3.

The thread is at http://www.murga-linux.com/puppy/viewtopic.php?t=51146

I've subsequently upgraded from Puppy 4.12 and went to ext4, which is supported by the new kernel. ext4 adds performance improvements nad (dpwn the road) support for defragmentation to ext3. I see a roughly 1/3 performance increase over ext3 using it, and the old box I run Puppy on needs all the help it can get.

ext3 is essentially ext2 with journaling support, which makes recovery easier if there is a problem. It may not be necessary to run fsck to fix the file system.
______
Dennis
Back to top
View user's profile Send private message 
MinHundHettePerro


Joined: 05 Feb 2009
Posts: 855
Location: SE

PostPosted: Fri 22 Jan 2010, 21:59    Post subject:  

mikeb wrote:
Ok success...plus fixed a couple of bugs so no more 'no save creation with extra initrd.gz' and no trashing of full installs by frugals...had a good session.

Same as 2...detects 2fs, 3fs and rfs(reiserfs) pup_saves
..a pictoral evidence below...
Just some info for the record, I got somewhat intrigued by this post of yours Smile, so I implemented reiserfs as a valid pup_save-file-system for 214X (pupresize works, .rfs not yet an option on first shut-down, though). On a side-note: Reiserfs seems to be much safer to decrease the size of than ext2 Cool.

Cheers Smile/
MHHP

_________________
Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285

Slackos & 214X, ... and Q6xx
Nämen, vaf.... ln -s /dev/null MHHP
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0929s ][ Queries: 13 (0.0120s) ][ GZIP on ]