Add MSD section for samba (#1340)

This commit is contained in:
Andreas Perhab 2024-06-07 10:30:57 +02:00 committed by GitHub
parent 97b405a549
commit 56131545a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 32 additions and 0 deletions

View File

@ -189,6 +189,38 @@ Note if an image is added to the NFS storage from the outside, PiKVM will not be
Configuring an NFS server is beyond the scope of this guide.
-----
## Samba/CIFS storage
If you already have a local samba server e.g. Unraid or another NAS you can use the isos from there.
To refresh the list of available isos on the share it is currently necessary to reboot.
??? example "Step by step: Connecting Samba/CIFS storage"
1. Update OS:
{!_update_os.md!}
2. Make some preparations:
```console
[root@pikvm ~]# rw
[root@pikvm ~]# pacman -S cifs-utils
[root@pikvm ~]# kvmd-helper-otgmsd-remount rw
[root@pikvm ~]# mkdir -p /var/lib/kvmd/msd/isos
[root@pikvm ~]# kvmd-helper-otgmsd-remount ro
```
2. Add Samba/CIFS shares to `/etc/fstab`:
```fstab
//192.168.0.1/isos /var/lib/kvmd/msd/isos cifs guest,_netdev,nofail 0 0
```
3. Perform `reboot` to apply all changes.
-----
## Multiple drives