Jump to content


Photo

What kind of filesystem is used ?

VU Duo

  • Please log in to reply
18 replies to this topic

#1 Novac

  • Senior Member
  • 87 posts

0
Neutral

Posted 14 January 2012 - 20:08

Hi
I have a VU Duo which I have just updated with the latest PLI version

I wonder which filesystem is used when I format my harddisk wia the menu options Harddisk ?

I have read somewere that ext2 is mutch faster that ext3.

Can I manualy format my disk to ext2 ?
If yes, how do the mount it correct, fx /hdd/movie ?

Thanks
Jan Larsen

Re: What kind of filesystem is used ? #2 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 14 January 2012 - 20:09

I have read somewere that ext2 is mutch faster that ext3.

That's a complete hoax, forget it.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: What kind of filesystem is used ? #3 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 14 January 2012 - 20:22

It's using ext4 anyway.
Real musicians never die - they just decompose

Re: What kind of filesystem is used ? #4 Novac

  • Senior Member
  • 87 posts

0
Neutral

Posted 14 January 2012 - 20:37

Hi
Thanks for your answers...

/Jan Larsen

Re: What kind of filesystem is used ? #5 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 14 January 2012 - 21:20

If ext2 really were faster, we would have used that... That goes for most of these things, when in doubt about the best choice, just leave it at the default...
Real musicians never die - they just decompose

Re: What kind of filesystem is used ? #6 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 14 January 2012 - 21:28

Also you don't want to use a non-journalling filesystem on a STB anyway...

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: What kind of filesystem is used ? #7 Jahu

  • Senior Member
  • 42 posts

+5
Neutral

Posted 15 January 2012 - 01:06

Ext2 is faster of course as it has no journaling and overheads, but ext4 is much better due to journaling as it removes the need for filesystem checks, stops file system fragmentation and speeds up boot.

So ext4 all the way.

Re: What kind of filesystem is used ? #8 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 15 January 2012 - 09:55

Ext2 is faster in theory, but you won't see the difference, that's only when you run a high end database server. The journalling takes some extra processing and moving around of data, BUT you can minimise that if you only journal metadata (which is de default) and also journalling tends to speed up some operations as well. So the difference is really academic, almost nobody should be using ext2 anymore, and certainly not owners of stb'es.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: What kind of filesystem is used ? #9 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 15 January 2012 - 10:38

Hi,
ext2 is also fast in practical use. Try recording one or two programs and then delete some files. Deleting is slow on ext3 and fast on ext2. Because of the journal you hardly will have consistency problems with ext3. Ext4 is again faster when deleting large files so it should be the best solution. I hesitate to switch to ext4 because there might be compatibility issues with other images.

Ralf

Re: What kind of filesystem is used ? #10 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 15 January 2012 - 10:48

My personal experience with ext2 is very good. I`m using two partitions: first one beeing a 15Gb ext2 partition for timeshift recordings. The rest of the disc is used as a regular "recordings partition". The difference between ext2 and ext3 in regard of deleting files (that is what happen when one switch the channel while beeing in timeshift) is imho worth the hasel. But if anyone has some doubts about loosing some of the data - don`t use ext2.

Re: What kind of filesystem is used ? #11 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 15 January 2012 - 10:54

When comparing ext2 and ext3, the difference is NOT the possible loss of data. If power gets interrupted or the box crashes, you WILL loose some data (if "something" is writing) without a doubt. The difference is the consistency in metadata. If you pull the plug on a ext2 filesystem, it will become corrupted. If you run fsck directly after that, you won't have much trouble, although you may have some "lost+found" files and you may loose some files. If you don't run fsck directly afterwards, the filesystem will become more and more corrupt onto a level where random files become corrupt or may corrupt other, existing files without a real reason. Ext3 always has consistent metadata, so you won't have this problem. So you really want to use at least ext3, even if it's slow at deleting files.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: What kind of filesystem is used ? #12 WanWizard

  • PLi® Core member
  • 68,215 posts

+1,713
Excellent

Posted 15 January 2012 - 11:08

OpenPLi deletes recordings in the background, so slow deletes isn't really an argument for the use of ext2...

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: What kind of filesystem is used ? #13 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 15 January 2012 - 11:31

So you suggest to use higher ext FS even on the timeshift partition? I mean there is nothing I can lose in case of sudden power outage. Besides I really feel that an ext2 partition is more responsive when pressing the yellow Timeshift button - can this be possible or am I only blindly believing in this.
I`m eager to try ext4 on my sda2 partition used only for Timer Recordings and other media I upload to the box.

Re: What kind of filesystem is used ? #14 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 15 January 2012 - 11:34

Please reread what I wrote earlier. It's not about the DATA it's all about the consistency of the METADATA, you really do not want to have a corrupt filesystem.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: What kind of filesystem is used ? #15 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 15 January 2012 - 11:50

Thanks Erik, Now i get it. One time power loss can ruin not only the data stored on ext2 partition but the whole filesystem. This is clear now.
Not clear for me is how to mount ext4 on my DM800 with most current OpenPLi 2.1?
After mkfs.ext4 -L hdd /dev/sda2 I`m not able to mount the partition. Rebooting the box also didn`t helped.

EDiT:

nevermind, DM800 does not support ext4 filesystem.
That is what 'cat /proc/filesystems' is telling me

Edited by greatred, 15 January 2012 - 11:54.


Re: What kind of filesystem is used ? #16 WanWizard

  • PLi® Core member
  • 68,215 posts

+1,713
Excellent

Posted 15 January 2012 - 12:00

Correct, you need to 3.x kernel for that, and DMM still can't deliver that, they're stuck on 2.6.18...

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: What kind of filesystem is used ? #17 Novac

  • Senior Member
  • 87 posts

0
Neutral

Posted 15 January 2012 - 12:21

Hi Again
Interesting stuff to read.
I have now formated my disk with help of the Open Pli Menu options.
Everyting is fine.

When I want to copy back my backedup movies, it takes for ever....
I did the backup on a vista maschine and the data were apx. 250Gb

It has now been copieng for 12 hours and still misses 10 hours. Coping is done with 2Mb/s :-(
The vista PC and DUO are both connected with cable..and it seems like the DUO is the botlle neck, when I copy from my other maschine to my NAS, it does not take that long....

I just wonder why it takes so Long ??

/Jan L

Re: What kind of filesystem is used ? #18 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 15 January 2012 - 12:29

Is your box in standby while copying the data? Also are you copying via FTP? On my DM800, with the box being in standby I can reach ~10Mb/s while copying with Filezilla.

Re: What kind of filesystem is used ? #19 WanWizard

  • PLi® Core member
  • 68,215 posts

+1,713
Excellent

Posted 15 January 2012 - 12:35

Samba (CIFS) is notoriously slow on most STB's, due to the protocol overhead and the CPU limitations. FTP is indeed a much better option. NFS is quicker as well.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.




Also tagged with one or more of these keywords: VU Duo

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users