As mentioned in many threads, mediaserver in asus router and usb ntfs disk are not really compatible. After collecting information from these threads, I decided to insert an USB stick, format in EXT3 and store the minidlna DB file here. I run Merlin FW 270.24.
Below the steps I followed.
After I finished the whole configuration, I streamed videos to 3 devices without any problem. Better performance compared to previous configuration where minidlna was stored on ntfs disk.
However, when I reboot, the media was not accessible anymore.
minidlna.conf and dms_dbdir are still referring to EXT3 minidlna folder.
Hope you can advise what I do wrong or what I should check...
Below the steps I followed.
• NTFS HDD with media files is /mnt/Elements
• Router-UI USB application - Server Centers 'Disable DNLA media server'
• Router-UI Administration-System: 'Enable JFFS Partition'
• Reboot
• Router-UI Administration-System: 'Format JFFS Partition at next reboot'
• Reboot
• Insert USB Flash
• Telnet session: (create 1 partition on USB Flash)
fdisk /dev/sdc (check if sda, sdb or sdc)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1020, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-1020, default 1020):
Using default value 1020
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
• Reboot
• Telnet session:
mke2fs -t ext3 /dev/sdc1
• Reboot
• Telnet session:
mkdir /mnt/sdc1/minidlna (folder where minidlna DB will be stored)
cp /tmp/etc/minidlna.conf /jffs/configs/
vi /jffs/configs/minidlna.conf (vi test editor - change: db_dir=/mnt/sdc1/minidlna)
nvram set dms_dbdir="/mnt/sdc1/minidlna"
nvram commit
mkdir /mnt/sdc1/configs
cp /jffs/configs/minidlna.conf /mnt/sdc1/configs (backup of updated minidlna.conf on USB Flash)
• Reboot
• Nvram get dms_dbdir (check if dms_dbdir is /mnt/sdc1/minidlna)
• Router-UI USB application - Server Centers
Check media server directory if correct (folder where media is stored)
Enable DLNA media server
After I finished the whole configuration, I streamed videos to 3 devices without any problem. Better performance compared to previous configuration where minidlna was stored on ntfs disk.
However, when I reboot, the media was not accessible anymore.
minidlna.conf and dms_dbdir are still referring to EXT3 minidlna folder.
Hope you can advise what I do wrong or what I should check...