infrastruktur:rz:vmhosts:phenylbutazon:mpd.shack
shack.shack
mpd.shack ist eine virtuelle Maschine über die zentral die Musik im Shack läuft. Siehe auch MPD Audio Server
Eckdaten: | |
---|---|
Betriebssystem | Debian 10 |
CPU-Kerne | 4 |
RAM | 4096MiB |
Speicher | 20GiB QCOW2-Image |
IP-Adresse | 10.42.2.13 |
MAC-Adresse | 52:54:00:52:1f:18 |
VLAN | <TODO> |
Die Musik wird über NFS von ibuprofen eingebunden.
/etc/fstab:
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 #UUID=e1abdede-579c-454c-bfce-35eb68f4ad1b /boot ext4 defaults 0 2 #/dev/mapper/mpd--vg-root / ext4 errors=remount-ro 0 1 #/dev/mapper/mpd--vg-home /home ext4 defaults 0 2 #/dev/mapper/mpd--vg-nfs /nfs ext4 defaults 0 2 #/dev/mapper/mpd--vg-swap none swap sw 0 0 #/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 tmpfs /run tmpfs defaults 0 1 tmpfs /tmp tmpfs defaults 0 1 tmpfs /var/lib/mpd tmpfs defaults 0 1 UUID=7a5b15fc-5674-4a6a-82c5-91641a6a6dce /boot ext2 defaults 0 0 UUID=f50087fc-f8c0-4e87-90b9-9fb63a994ba1 / ext4 defaults 0 0 10.42.2.2:/media/ext/mpd /home nfs defaults 0 0
Des weiteren gibt es auf mpd.shack mehrere NFS-Freigaben, über die die MPD-Clients in den Räumen übers Netzwerk mithilfe von PXE booten. /etc/exports:
/nfs/wyseterm/ 10.42.10.100/30(rw,sync,no_subtree_check,no_root_squash) 10.42.0.0/16(rw,sync,no_subtree_check,no_root_squash) /nfs/wyseterm2/ 10.42.10.100/30(rw,sync,no_subtree_check,no_root_squash) 10.42.0.0/16(ro,sync,no_subtree_check,no_root_squash) /home/shack/music/ 10.42.10.100/30(fsid=0,rw,sync,insecure,no_subtree_check,no_root_squash) 10.42.0.0/16(fsid=0,ro,insecure,sync,no_subtree_check,no_root_squash) #/home/shack/playlists/ 10.42.10.100/30(rw,sync,insecure,no_subtree_check,no_root_squash) 10.42.0.0/16(ro,insecure,sync,no_subtree_check,no_root_squash) #/home/shack/config/ 10.42.10.100/30(rw,sync,insecure,no_subtree_check,no_root_squash) 10.42.0.0/16(ro,sync,insecure,no_subtree_check,no_root_squash) #/home/shack/state/ 10.42.10.100/30(rw,sync,insecure,no_subtree_check,no_root_squash) 10.42.0.0/16(ro,sync,insecure,no_subtree_check,no_root_squash)
Auf die Musikbibliothek kann über sshfs (shack@mpd.shack:~/music/), NFS oder Samba (\\mpd.shack\music) zugegriffen werden. Hat man neue Musik hinzugefügt, sollte man per
mpc update
über ssh einen Rescan der Musikbibliothek anstoßen.
infrastruktur/rz/vmhosts/phenylbutazon/mpd.shack.txt · Zuletzt geändert: 2020-06-16 23:30 von neos