freebsd:nas
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| freebsd:nas [2026/04/06 07:59] – [ZPool] admin | freebsd:nas [2026/04/12 06:40] (aktuell) – [Problem mit ACPI] admin | ||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| * https:// | * https:// | ||
| + | ===== Troubleshooting ===== | ||
| + | |||
| + | ==== Problem mit ACPI ==== | ||
| + | |||
| + | In ''/ | ||
| + | |||
| + | < | ||
| + | #get rid of acpi messages (AE_NOT_FOUND) | ||
| + | debug.acpi.disabled=" | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Problem mit / | ||
| + | |||
| + | Stuck in single user mode due to error in file (how to check/ | ||
| + | '' | ||
| ===== ZPool ===== | ===== ZPool ===== | ||
| Zeile 9: | Zeile 25: | ||
| zpool import -f < | zpool import -f < | ||
| zpool status | zpool status | ||
| + | zfs set mountpoint=/ | ||
| </ | </ | ||
| Zeile 14: | Zeile 31: | ||
| ===== Iocage ===== | ===== Iocage ===== | ||
| + | ''/ | ||
| - | / | + | ===== Migrate to Bastille Jail ===== |
| + | * https:// | ||
| + | |||
| + | <code bash> | ||
| + | bastille setup # select zpool: mypool | ||
| + | |||
| + | # Firewall | ||
| + | pfctl -sr # listet die Regeln | ||
| + | vi / | ||
| + | pfctl -f / | ||
| + | </ | ||
| + | |||
| + | ===== Upgrade Bastille Jail ===== | ||
| + | <code bash> | ||
| + | bastille bootstrap 14.4-RELEASE | ||
| + | ?? bastille update 14.4-RELEASE ?? | ||
| + | bastille upgrade Mail 14.4-RELEASE | ||
| + | </ | ||
| ==== SMB ==== | ==== SMB ==== | ||
| + | === Install === | ||
| + | |||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| + | |||
| + | <code bash> | ||
| + | pkg search samba | ||
| + | pkg install samba423 | ||
| + | |||
| + | * Your configuration is: / | ||
| + | * All the relevant databases are under: / | ||
| + | * All the logs are under: / | ||
| + | * Provisioning script is: / | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | sysrc samba_server_enable=YES | ||
| + | # | ||
| + | |||
| + | sysrc samba_server_enable | ||
| + | # | ||
| + | |||
| + | cat / | ||
| + | ... | ||
| + | samba_server_enable=" | ||
| + | |||
| + | # Now we can start the Samba service. | ||
| + | service samba_server start | ||
| + | </ | ||
| + | |||
| + | === Test === | ||
| + | Test SMB from MacOS | ||
| + | <code bash> | ||
| + | smbutil view smb:// | ||
| + | </ | ||
| + | |||
| + | === Update === | ||
| + | |||
| + | <code bash> | ||
| + | service samba_server stop | ||
| + | pkg install samba416 | ||
| + | --- pkg detects samba413 and asks to remove / replace y/N: Y | ||
| + | | ||
| + | </ | ||
| + | |||
| + | === Config === | ||
freebsd/nas.1775462379.txt.gz · Zuletzt geändert: von admin
