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 18:15] – rjversluis | admin:samba [2025/04/20 16:03] (current) – rjversluis | ||
---|---|---|---|
Line 14: | Line 14: | ||
\\ | \\ | ||
- | =====Server===== | + | =====Samba===== |
+ | [[: | ||
====Example share==== | ====Example share==== | ||
< | < | ||
Line 58: | Line 59: | ||
\\ | \\ | ||
- | =====Samba users===== | + | ====Users==== |
The easiest way is to add a user to the RPi with the user mananger and then to Samba: | The easiest way is to add a user to the RPi with the user mananger and then to Samba: | ||
< | < | ||
sudo smbpasswd -a < | 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: |
- | * https:// | + | * RAID 1: https:// |
+ | * SSMTP: https:// | ||
+ | * RAID 1 recovery: https:// | ||
admin/samba.1744906513.txt.gz · Last modified: 2025/04/17 18:15 by rjversluis