Jump to content


Photo

xfs fileysystem support

et9x00

  • Please log in to reply
43 replies to this topic

Re: xfs fileysystem support #21 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 14 October 2012 - 17:40

My Vu+ Ultimo being able to play back recordings/timeshift without glitches/freezers that are not within the file (Rewinding helps, but is just a very bad workaround).


You can't blame the filesystem for that.

Sounds like a bug that was in the early drivers, are you using an old image or did that bug make a come-back lately?
Real musicians never die - they just decompose

Re: xfs fileysystem support #22 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 14 October 2012 - 17:43

sure that the kernel module now added into the kernel directly?


No, it isn't, you'll have to install "kernel-module-xfs" first. And maybe modprobe it too.
Real musicians never die - they just decompose

Re: xfs fileysystem support #23 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 14 October 2012 - 17:47

It was gone in late august, after I did a complete re-install and formatted the HDD as ext3.
It returned a while ago, but as I could find out the file-system mutated to ext4 again in between...

The problem is even selective: The old recording, made resp. being copied back from backup while the file-system was still ext3, play without problems while the new ones play back like crap again.

So if the problem is not related to ext4 being a pile of junk I'm the emperor of China.
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: xfs fileysystem support #24 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 14 October 2012 - 17:59

sure that the kernel module now added into the kernel directly?


No, it isn't, you'll have to install "kernel-module-xfs" first. And maybe modprobe it too.


modprobe should not be necessary, I've added an autoload entry for the xfs module.

But indeed, if mount says 'unknown filesystem', you probably did not install the xfs module.
Check 'cat /proc/filesystems' to make sure xfs is listed.

Re: xfs fileysystem support #25 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 14 October 2012 - 17:59

So if the problem is not related to ext4 being a pile of junk I'm the emperor of China.


Ni Hao,

In that case, you should make your case on Linux forum, not on a settopbox forum.

Edited by MiLo, 14 October 2012 - 18:00.

Real musicians never die - they just decompose

Re: xfs fileysystem support #26 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 14 October 2012 - 18:05

But indeed, if mount says 'unknown filesystem', you probably did not install the xfs module.
Check 'cat /proc/filesystems' to make sure xfs is listed.

BTW: The mounting is not fail-safe.
After formatting my HDD as xfs, the box doesn't come up anymore.
Probably it's trying to mount the HDD and fails ... which is ok in theory, but it should give up some day ...
Mounting an optional volume should not result in the system to fail booting.

Edited by SpaceRat, 14 October 2012 - 18:05.

1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: xfs fileysystem support #27 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 14 October 2012 - 18:09

You really mean the box does not boot, or just that e2 fails to start?

Re: xfs fileysystem support #28 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 14 October 2012 - 18:10

You really mean the box does not boot, or just that e2 fails to start?

It starts, but gets stuck at the small logo (Before the box even gets an IP or can be telnetted to).
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: xfs fileysystem support #29 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 14 October 2012 - 18:12

Is there any way to get the system up and running (telnettable) from USB stick only?
Else I would have to physically remove the harddisk and format it to something else on a PC ...
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: xfs fileysystem support #30 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 14 October 2012 - 18:40

Solved the problem:
1. Power Down Vu+ Ultimo
2. Open case
3. Unplug the HDD
4. Power Up Vu+ Ultimo
5. Telnet to box
6. opkg remove *xfs*
7. opkg remove linux-util-mount
8. opkg remove linux-util-umount
9. Power Down box
10. Re-Attach HDD
11. Power Up
12. Format HDD as ext3

So without the xfs packages, the box comes up ...
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: xfs fileysystem support #31 hypnotoad

  • Member
  • 42 posts

0
Neutral

Posted 15 October 2012 - 17:05

sure that the kernel module now added into the kernel directly?


No, it isn't, you'll have to install "kernel-module-xfs" first. And maybe modprobe it too.


Ok this was a misunderstanding, now it works (modprobe wasn´t neccesary)
If anyone like to read a bit about xfs > http://www.mythtv.or.../XFS_Filesystem

Re: xfs fileysystem support #32 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 15 October 2012 - 17:11

Ok this was a misunderstanding, now it works (modprobe wasn´t neccesary)

How?
When I had my HDD formatted as xfs, the box didn't even come up anymore.
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: xfs fileysystem support #33 Martin_B

  • Senior Member
  • 115 posts

0
Neutral

Posted 15 October 2012 - 22:26

I have a problem mounting xfs formatted disk:

Formatting sda1 - xfs
mkfs.xfs /dev/sda1
-> works

Reboot - blkid:
/dev/ubi0_0: UUID="6cd013d7-b9bc-44dc-9c0a-54865a4bfd98" TYPE="ubifs"
/dev/sda1: UUID="0af3dbc7-4c3c-447d-a13f-62ce9b3a3295" TYPE="xfs"
/dev/sdb1: LABEL="STICKIE" UUID="28CE5C40CE5C0908" TYPE="ntfs"
-> disk shows up - xfs

but mount says:
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=145660k,nr_inodes=36415,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
/dev/sdb1 on /media/STICKIE type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
tmpfs on /var/volatile type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
-> sda1 did not mount

Mounting manually:
mount /dev/sda1 /media/hdd

NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

After doing that (without reboot) mount says:
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=145660k,nr_inodes=36415,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
/dev/sdb1 on /media/STICKIE type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
tmpfs on /var/volatile type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
/dev/sda1 on /media/hdd type xfs (rw,relatime,attr2,noquota)
[email="root@et9x00"]root@et9x00[/email]:~#
-> xfs disk shows up - media/hdd

funny, isn't it?
Newest PLI3.
What am I doing wrong?

Regards

Edited by Martin_B, 15 October 2012 - 22:29.


Re: xfs fileysystem support #34 hypnotoad

  • Member
  • 42 posts

0
Neutral

Posted 16 October 2012 - 16:57

Ok this was a misunderstanding, now it works (modprobe wasn´t neccesary)

How?
When I had my HDD formatted as xfs, the box didn't even come up anymore.


like milo says, maybe you´ve got a hardware issue.
I thought the xfs modul is build directly into the kernel (like any regular distribution has, or dmm decided to do) but pli team decided to let its modular (like the most driver stuff).
so lsmod should bring you something like this:

root@et9x00:~# lsmod | grep xfs
xfs 594003 1
exportfs 3992 1 xfs

than the kernel loaded the xfs module correctly.
guess its more noob friendly to make the partition over the e2 GUI, and overwrighting the ext4 filesystem after this, than do the partition stuff with fdisk/sfdisk

Re: xfs fileysystem support #35 Martin_B

  • Senior Member
  • 115 posts

0
Neutral

Posted 16 October 2012 - 20:25

Manually mounting xfs formatted disk:

mount /dev/sda1 /media/hdd -t xfs
-> works

mount /dev/sda1 /media/hdd
-> error as described above

Re: xfs fileysystem support #36 adri

  • Senior Member
  • 373 posts

+5
Neutral

Posted 23 October 2012 - 09:53

I have reformatted my 1 TB HDD with Xfs and am quite pleased with the results.
When pressing the PVR button, I often had to wait 3-5 seconds before the list of movies showed when the HHD was ext4.
Now it's showing in less than 1 second.
Also seeking and deleteing seems to be faster.

The only problem I have found is PLI doens't mount the HDD automatically anymore.
I had to add it manually to /etc/fstab.
This allowed me to add some extra performance options like noatime, nodiratime and allocsize.

Adri.

Re: xfs fileysystem support #37 hypnotoad

  • Member
  • 42 posts

0
Neutral

Posted 23 October 2012 - 17:27

I set the label flag when i formate, and wtih this flag it gets automatically mountet in /media/<label>
But something is realy strange, if i try to mount the hdd with fstab to any onter place, it doesn´t work, it allways gets to /media/<label>
Mounting by hand works like it should, it doesnt matter where the mountpoint is.
Mounting Network shares (nfs) in the fstab is no problem i can mount them anywhere.
But i guess all this is not xfs related, but nice to see that you have a better prefomance

Re: xfs fileysystem support #38 word

  • Member
  • 25 posts

0
Neutral

Posted 30 January 2014 - 20:38

No xfs kernel module for OpenPLi 4.0?

:-(



Re: xfs fileysystem support #39 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 31 January 2014 - 07:37

opkg install kernel-module-xfs
Real musicians never die - they just decompose

Re: xfs fileysystem support #40 word

  • Member
  • 25 posts

0
Neutral

Posted 31 January 2014 - 12:13

Hello MiLo,

 

could you please provide it? Or where can i download it?

 

It is not available for Vu+ Duo2 in the feed.

 

Thanks and best regards


Edited by word, 31 January 2014 - 12:13.




8 user(s) are reading this topic

0 members, 8 guests, 0 anonymous users