Minidlna
Minidlna is a dlna server with a small footprint, originally designed to run on consumers NAS devices. Installation is fairly simple.
For this setup we will use GlusterFS as the file store backend.
Software
Start by installing minidla
apt-get install minidlna
Filesystem
Configure your system as a GlusterFS client, so you have the following in your fstab.
/etc/glusterfs/video.vol /srv/video glusterfs defaults,_netdev,rw 0 0
Configuration