admin:samba
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
admin:samba [2025/04/17 14:37] – rjversluis | admin:samba [2025/04/20 16:03] (current) – rjversluis | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Samba====== | ======Samba====== | ||
+ | {{: | ||
+ | |||
\\ | \\ | ||
Line 8: | Line 10: | ||
=====WEB Interface===== | =====WEB Interface===== | ||
[[https:// | [[https:// | ||
+ | Direct edit is also available in the WEBmin.\\ | ||
\\ | \\ | ||
- | =====Server===== | + | =====Samba===== |
+ | [[: | ||
====Example share==== | ====Example share==== | ||
< | < | ||
Line 29: | Line 33: | ||
fruit: | fruit: | ||
fruit: | fruit: | ||
- | fruit: | + | fruit: |
fruit: | fruit: | ||
fruit: | fruit: | ||
Line 48: | Line 52: | ||
====Windows==== | ====Windows==== | ||
- | To enable Window to find a Samba Server the wsdd2 package must be installed: | + | To enable |
< | < | ||
sudo apt install wsdd* | sudo apt install wsdd* | ||
</ | </ | ||
See also: https:// | See also: https:// | ||
+ | |||
+ | \\ | ||
+ | ====Users==== | ||
+ | The easiest way is to add a user to the RPi with the user mananger and then to Samba: | ||
+ | < | ||
+ | sudo smbpasswd -a < | ||
+ | </ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | =====RAID 1===== | ||
+ | Mirror two identical SSD' | ||
+ | For the basic setup I used this link:\\ | ||
+ | https:// | ||
+ | |||
+ | ====fstab==== | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ====mdadm==== | ||
+ | Show the raid 1 details: | ||
+ | < | ||
+ | sudo mdadm --query --detail /dev/md0 | ||
+ | /dev/md0: | ||
+ | | ||
+ | | ||
+ | Raid Level : raid1 | ||
+ | Array Size : 1953382336 (1862.89 GiB 2000.26 GB) | ||
+ | Used Dev Size : 1953382336 (1862.89 GiB 2000.26 GB) | ||
+ | Raid Devices : 2 | ||
+ | Total Devices : 2 | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | State : active | ||
+ | Active Devices : 2 | ||
+ | | ||
+ | Failed Devices : 0 | ||
+ | Spare Devices : 0 | ||
+ | |||
+ | Consistency Policy : bitmap | ||
+ | |||
+ | Name : naspi: | ||
+ | UUID : 4bf34efa: | ||
+ | Events : 8152 | ||
+ | |||
+ | Number | ||
+ | | ||
+ | | ||
+ | |||
+ | \\ | ||
+ | =====SSMTP===== | ||
+ | For sending notifications from for example Raid.\\ | ||
+ | https:// | ||
\\ | \\ | ||
=====Links===== | =====Links===== | ||
- | * https:// | + | * Samba: |
- | * https:// | + | * TimeMachine: |
- | * https:// | + | * GUIs: https:// |
- | * https:// | + | * WEBmin: |
+ | * RAID 1: https:// | ||
+ | * SSMTP: https:// | ||
+ | * RAID 1 recovery: https:// | ||
admin/samba.1744893432.txt.gz · Last modified: 2025/04/17 14:37 by rjversluis