MLD-6.x > General

MergerFS

<< < (3/6) > >>

stelo:
Habs nun mit dem nightbuild versucht und sofort gefunden. Klasse!

In der fstab musste ich nur eine Zeile auskommentieren und die drei letzten Zeilen einfügen und in /mnt/78.. ändern.
# alte Zeile auskommentiert /mnt/7822a096-9830-4fe2-ab9b-ab52e999c975/tv /data none bind 0 0
/mnt/7822a096-9830-4fe2-ab9b-ab52e999c975:/mnt/sda1:/mnt/sdb1  /data  mergerfs  defaults,category.create=mfs,direct_io,use_ino  0 0
/dev/sda1   /mnt/sda1       xfs    defaults         0 0
/dev/sdb1   /mnt/sdb1       xfs    defaults         0 0

Der CPU-Auslastung mit HTOP gemessen beträgt beim Abspielen lediglich 0,7%.

Vielen Dank Claus!

clausmuus:
Hi,

ich habe jetzt das mergerfs Setup jetzt im Webif integriert. Beim einstellen der Speichermedien können jetzt mehrere Datenträger ausgewählt werden.
Deine manuell hinzugefügten Zeilen in der fstab müssten zuvor entfernt werden, da diese nicht kompatibel zum setup sind.
Es wäre nett, wenn Du das testen könntest.

stelo:
Hallo Claus,

ich habe nun meine Zeile gelöscht und die fstab sieht nun so aus:

--- Code: ---# stock fstab - you probably want to override this with a machine specific one

/dev/root            /                    auto       defaults              1  1
proc                 /proc                proc       defaults              0  0
devpts               /dev/pts             devpts     mode=0620,ptmxmode=0666,gid=5      0  0
tmpfs                /run                 tmpfs      mode=0755,nodev,nosuid,strictatime 0  0
tmpfs                /var/volatile        tmpfs      defaults              0  0

# uncomment this if your device has a SD/MMC/Transflash slot
#/dev/mmcblk0p1       /media/card          auto       defaults,sync,noauto  0  0

UUID=4227-F204 /boot auto defaults 1 2
UUID=7822a096-9830-4fe2-ab9b-ab52e999c975 /mnt/7822a096-9830-4fe2-ab9b-ab52e999c975 auto defaults 1 2

--- End code ---

Danach habe ich den RPI neu gestartet. Bei Hinzufügen der Platten sehe ich aber nur 4x die erste Festplatte plus die SD-Karte im Dropdown. Ich hätte beide Festplatten vermutet.
Bild im Anhang und zusätzlich ein Support Log id 2ScxTy erstellt.

Mache ich was falsch?

clausmuus:
Hi,
Du hast alles richtig gemacht.
Gib mir mal Bitte die Ausgabe von:

--- Code: ---settings get disks.partitions
--- End code ---
und von:

--- Code: ---parted -lsm
--- End code ---

stelo:
Dies sind die Ausgaben:

--- Code: ---root@mld2:~# settings get disks.partitions
-sh: settings: command not found
root@mld2:~# parted -lsm
BYT;
/dev/sda:5001GB:scsi:512:4096:gpt:WD My Passport 2627:;
1:1049kB:5001GB:5001GB:xfs::;

BYT;
/dev/sdb:5001GB:scsi:512:4096:gpt:WD My Passport 2627:;
1:1049kB:5001GB:5001GB:xfs::;

BYT;
/dev/mmcblk0:31,9GB:sd/mmc:512:512:gpt:SD SD32G:pmbr_boot;
1:1049kB:99,6MB:98,6MB:fat32:boot:legacy_boot, msftdata;
2:99,6MB:31,9GB:31,8GB:btrfs:root:;

--- End code ---

Vielleicht hilft dir dies noch weiter

--- Code: ---root@mld2:~# fdisk -l
Disk /dev/mmcblk0: 30 GB, 31914983424 bytes, 62333952 sectors
973968 cylinders, 4 heads, 16 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk0p1 *  32,0,1      1023,254,63       2048     194559     192512 94.0M  c Win95 FAT32 (LBA)
/dev/mmcblk0p2    0,0,2       31,3,16              1       2047       2047 1023K ee EFI GPT

Partition table entries are not in disk order
fdisk: device has more than 2^32 sectors, can't use all of them
Disk /dev/sda: 2048 GB, 2199023255040 bytes, 4294967295 sectors
267349 cylinders, 255 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device  Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/sda1    0,0,1       1023,254,63          1 4294967295 4294967295 2047G ee EFI GPT
fdisk: device has more than 2^32 sectors, can't use all of them
Disk /dev/sdb: 2048 GB, 2199023255040 bytes, 4294967295 sectors
267349 cylinders, 255 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device  Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/sdb1    0,0,1       1023,254,63          1 4294967295 4294967295 2047G ee EFI GPT

--- End code ---

Update: Habe jetzt einfach mal beide gleichlautenden Platten zugefügt. Dies scheint zu funktionieren.
Die fstab sieht nun so aus:

--- Code: ---# stock fstab - you probably want to override this with a machine specific one

/dev/root            /                    auto       defaults              1  1
proc                 /proc                proc       defaults              0  0
devpts               /dev/pts             devpts     mode=0620,ptmxmode=0666,gid=5      0  0
tmpfs                /run                 tmpfs      mode=0755,nodev,nosuid,strictatime 0  0
tmpfs                /var/volatile        tmpfs      defaults              0  0

# uncomment this if your device has a SD/MMC/Transflash slot
#/dev/mmcblk0p1       /media/card          auto       defaults,sync,noauto  0  0

UUID=4227-F204 /boot auto defaults 1 2

UUID=7822a096-9830-4fe2-ab9b-ab52e999c975 /mnt/7822a096-9830-4fe2-ab9b-ab52e999c975 auto defaults 1 2
UUID=71c8ba8b-b2dc-4cf5-9ae9-c9cf202891c1 /mnt/71c8ba8b-b2dc-4cf5-9ae9-c9cf202891c1 auto defaults 1 2
/mnt/7822a096-9830-4fe2-ab9b-ab52e999c975:/mnt/71c8ba8b-b2dc-4cf5-9ae9-c9cf202891c1 /data mergerfs category.create=epmfs,direct_io,use_ino,fsname=/dev/sda1:/dev/sdb1 0 0

--- End code ---

Im Anhang der Screenshot vom Config-Screen. Wenn ich noch was testen soll, sag einfach bescheid. 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version