Jump to content


klorinczi

Member Since 25 Feb 2022
Offline Last Active 31 Mar 2024 01:43
-----

Posts I've Made

In Topic: [Feature Request] Number of files of directories/folders on Recorded files......

29 March 2024 - 17:38

This also means you need to parse the whole path and keeping in mind masses etc can be involved it will slow down performance

 
Well, you are right, it may affect performance in some situations.
It may not as easy as I imagined.
 
But it can be handled in separate ways.
 
Likely there will be no performance problems with external SATA disks attached on USB port until a few hundreds of files per directory.
It is possible to cache subdir movie counts, display cached numbers, then refresh only rarely.
 
It may really mean performance problem for network attached devices (NAS).
But network devices can be detected, so subdir counting can be disabled for networking devices.
 
There are several possible ways for solution:
 
1) New option in Settings:
Subdirectory movie counting for external : [ X ] Yes (default) [ ] No
 
2) New option in Settings:
Subdirectory movie counting for network drives: [ ] Yes [ X ] No (default)
 
3) New option in Settings:
Subdirectory movie counting (cache movie count): [ X ] Yes (default) [ ] No
 
4) New option in Settings:
Subdirectory movie counting - (display [ # ] character above [ 500 ] ) movies: [ X ] Yes (default) [ ] No
 
With implementing such options, performance problems could be handled.

In Topic: OpenPLI 3TB HDD with EXT4 filesystem not recognized after cloning from 2TB HDD?

15 October 2023 - 17:52

I work on windows so rsync will not work.

Copying 3TB took for long time, so I'd like to fix the partition.

 

The data is on the place on ext4 filesytem, the ext4 is clean, just the partition has to be with the correct values, which is accepted by OpenPLI.


In Topic: OpenPLI 3TB HDD with EXT4 filesystem not recognized after cloning from 2TB HDD?

15 October 2023 - 17:11

Now I get:

fsck.ext4 /dev/sda1 -f
e2fsck 1.45.3 (14-Jul-2019)
ext2fs_open2: Bad magic number in super-block
fsck.ext4: Superblock invalid, trying backup blocks...
fsck.ext4: Bad magic number in super-block while trying to open /dev/sda1

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>


e2fsck -b 32768 /dev/sda1
e2fsck 1.45.3 (14-Jul-2019)
e2fsck: Bad magic number in super-block while trying to open /dev/sda1

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>


In Topic: OpenPLI 3TB HDD with EXT4 filesystem not recognized after cloning from 2TB HDD?

15 October 2023 - 16:57

Just checked this partition and filesystem with a Gparted LIVE booted from USB, and check found no problem, filesystem is clean.


In Topic: OpenPLI 3TB HDD with EXT4 filesystem not recognized after cloning from 2TB HDD?

15 October 2023 - 16:55

partprobe /dev/sda -s
/dev/sda: msdos partitions