Background Info
I've been troubleshooting an application running in a docker container. I pulled it out of the docker container and ran on baremetal and am having the same issues. You can see my and others' troubleshooting here:
https://github.com/aldostools/webMAN-MOD/issues/333
We started having issues with UnRaid 6.8.0 and higher. I limited it down to a small `.cpp` files to highlight the issue.
Small Files:
https://gist.github.com/miketweaver/92c61293f16ef3016f9a57472fff1ff3
Here is my filesystem:
root@Tower:~# tree -L 3 /mnt/user/games/
/mnt/user/games/
└── GAMES/
└── BLUS31606/
├── PS3_DISC.SFB
├── PS3_GAME/
└── PS3_UPDATE/
4 directories, 1 file ( / added by me to highlight what are dirs )
root@Tower:~# tree -L 3 /mnt/disk*/games/
/mnt/disk2/games/
└── GAMES/
└── BLUS31606/
├── PS3_DISC.SFB
├── PS3_GAME/
└── PS3_UPDATE/
/mnt/disk3/games/
└── GAMES/
└── BLUS31606
└── PS3_GAME/
7 directories, 1 file ( / added by me to highlight what are dirs )
As you can see, I have files spread apart across 2 disks.
1. Scandir Issue
When I compile `scandir.cpp` and run it on 6.7.2 (good). I get this output:
PS3_UPDATE, d_type: DT_DIR
PS3_GAME, d_type: DT_DIR
PS3_DISC.SFB, d_type: DT_REG
.., d_type: DT_DIR
., d_type: DT_DIR
When I take the same file and run on 6.8.0 and higher (bad). I get this output:
PS3_UPDATE, d_type: DT_UNKNOWN
PS3_GAME, d_type: DT_UNKNOWN
PS3_DISC.SFB, d_type: DT_UNKNOWN
.., d_type: DT_UNKNOWN
., d_type: DT_UNKNOWN
It appears that the changes to SHFS in 6.8.0 have caused it so that `d_type` isn't supported with `shfs`
2. Stat Issue
When I compile `stat.cpp` and run it on 6.7.2 (good). I get this output (every time):
root@Tower:~# ./stat.o
PS3_UPDATE,
PS3_GAME,
PS3_DISC.SFB,
.., unknown is a Directory!
., unknown is a Directory!
When I take the same file and run on 6.8.0 and higher (bad). I get this output, it varies every time I run it:
root@Tower:~# ./stat.o
PS3_UPDATE, unknown is a File!
PS3_GAME, unknown is a File!
PS3_DISC.SFB, unknown is a File!
.., unknown is a Directory!
., unknown is a Directory!
root@Tower:~# ./stat.o
PS3_UPDATE,
PS3_GAME,
PS3_DISC.SFB,
.., unknown is a Directory!
., unknown is a Directory!
root@Tower:~# ./stat.o
PS3_UPDATE,
PS3_GAME,
PS3_DISC.SFB,
.., unknown is a Directory!
., unknown is a Directory!
root@Tower:~# ./stat.o
PS3_UPDATE, unknown is a FIFO!
PS3_GAME, unknown is a FIFO!
PS3_DISC.SFB, unknown is a FIFO!
.., unknown is a Directory!
., unknown is a Directory!
root@Tower:~# ./stat.o
PS3_UPDATE, unknown is a CHR!
PS3_GAME, unknown is a CHR!
PS3_DISC.SFB, unknown is a CHR!
.., unknown is a Directory!
., unknown is a Directory!
Please visit Tools/Diagnostics and attach the diagnostics.zip file to your post.
Plugins: I have many plugins, but I tested this in a virtualized unraid with 0 plugins and it has the same issue.
Bare Metal Only: Yes. This is bare metal
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.