Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| snapraid [2026/12/02 14:13] – [Installation] martin | snapraid [2026/12/06 12:14] (aktuell) – [Beispielconfiguration] martin | ||
|---|---|---|---|
| Zeile 5: | Zeile 5: | ||
| mergerfs bildet einen Pool aus den Festplatten oder Partitionen. snapraid sorgt für Ausfallsicherheit einer Festplatte oder Partition ähnlich wie Raid5. | mergerfs bildet einen Pool aus den Festplatten oder Partitionen. snapraid sorgt für Ausfallsicherheit einer Festplatte oder Partition ähnlich wie Raid5. | ||
| - | Diese Kombo benutzt z.B. Unraid | + | Diese Kombo benutzt z.B. auch Unraid. |
| - | ---- | + | ==== Installation |
| - | + | ||
| - | ==== Installation ==== | + | |
| - | + | ||
| - | Download von der snapraid-Projektseite | + | |
| + | Download des debian-Paketes von der snapraid-Projektseite. Es sollte dabei die aktuellste Version installiert werden. | ||
| ``` | ``` | ||
| wget https:// | wget https:// | ||
| Zeile 18: | Zeile 15: | ||
| dpkg -i snapraid_14.10-1_amd64.deb | dpkg -i snapraid_14.10-1_amd64.deb | ||
| dpkg -i snapraid-daemon_1.15-1_amd64.deb | dpkg -i snapraid-daemon_1.15-1_amd64.deb | ||
| - | mergersfs ist in den Standardpaketquellen. | + | ``` |
| + | ==== Installation mergerfs ==== | ||
| + | |||
| + | mergersfs ist in den Standardpaketquellen | ||
| + | ``` | ||
| apt install mergerfs | apt install mergerfs | ||
| ``` | ``` | ||
| - | ---- | ||
| - | |||
| - | |||
| - | |||
| ==== Beispielconfiguration ==== | ==== Beispielconfiguration ==== | ||
| - | Unter /mnt/pool steht damit der kombinierte Speicherplatz der Platten oder Partitionen /mnt/B-E zur Verfügung. | + | Unter /mnt/pool steht damit der kombinierte Speicherplatz der Platten oder Partitionen /mnt/B-E zur Verfügung. |
| - | In / | + | ``` |
| - | + | ||
| - | + | ||
| - | ---- | + | |
| joe@ubuntu: | joe@ubuntu: | ||
| - | |||
| Dateisystem | Dateisystem | ||
| - | |||
| B: | B: | ||
| - | |||
| / | / | ||
| - | |||
| / | / | ||
| - | |||
| / | / | ||
| - | |||
| / | / | ||
| - | |||
| / | / | ||
| - | + | ``` | |
| - | ---- | + | |
| ==== /etc/fstab ==== | ==== /etc/fstab ==== | ||
| - | + | ``` | |
| - | \# snapraid | + | # snapraid |
| UUID=da92d3e2-e5c7-403d-ab5b-b5660520b0cb /mnt/B ext4 defaults 0 0 | UUID=da92d3e2-e5c7-403d-ab5b-b5660520b0cb /mnt/B ext4 defaults 0 0 | ||
| - | |||
| UUID=3344376f-27ce-407c-907d-a149bd974187 /mnt/C ext4 defaults 0 0 | UUID=3344376f-27ce-407c-907d-a149bd974187 /mnt/C ext4 defaults 0 0 | ||
| - | |||
| UUID=61317567-bdba-4e48-8d61-1859c32acf7f /mnt/D ext4 defaults 0 0 | UUID=61317567-bdba-4e48-8d61-1859c32acf7f /mnt/D ext4 defaults 0 0 | ||
| - | |||
| UUID=229ccb2d-b131-42de-8ea6-185382ff6a37 /mnt/E ext4 defaults 0 0 | UUID=229ccb2d-b131-42de-8ea6-185382ff6a37 /mnt/E ext4 defaults 0 0 | ||
| - | |||
| UUID=99923f7d-866a-4a98-a53c-47c868574814 /mnt/F ext4 defaults 0 0 | UUID=99923f7d-866a-4a98-a53c-47c868574814 /mnt/F ext4 defaults 0 0 | ||
| - | \# mergerfs | + | # mergerfs |
| /mnt/[B-E] /mnt/pool fuse.mergerfs defaults, | /mnt/[B-E] /mnt/pool fuse.mergerfs defaults, | ||
| - | ---- | + | ``` |
| ==== / | ==== / | ||
| - | + | ``` | |
| - | \# Defines the file to use as parity storage. It must be the largest disc or partition of the pool. | + | # Defines the file to use as parity storage. It must be the largest disc or partition of the pool. |
| parity / | parity / | ||
| - | + | # Defines the files to use as (redundant) | |
| - | \# Defines the files to use as content | + | |
| content / | content / | ||
| - | |||
| content / | content / | ||
| - | |||
| content / | content / | ||
| - | \# Defines the data disks to use | + | # Defines the data disks to use |
| data d1 /mnt/B/ | data d1 /mnt/B/ | ||
| - | |||
| data d2 /mnt/C/ | data d2 /mnt/C/ | ||
| - | |||
| data d3 /mnt/D/ | data d3 /mnt/D/ | ||
| - | |||
| data d4 /mnt/E/ | data d4 /mnt/E/ | ||
| - | + | ``` | |
| - | ---- | + | |