MinimServer Forum
MinimServer - internal database location - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: MinimServer - internal database location (/showthread.php?tid=1506)



MinimServer - internal database location - michael123 - 20-05-2014 12:13

Hi

where does minimserver store its database and cache?
I could not see any property responsible for that

I want to install it on QNAP (the Java version), but don't want it to use the internal flash space, which is very small..

thanks,
Michael


RE: MinimServer - internal database location - simoncn - 20-05-2014 17:21

(20-05-2014 12:13)michael123 Wrote:  Hi

where does minimserver store its database and cache?
I could not see any property responsible for that

I want to install it on QNAP (the Java version), but don't want it to use the internal flash space, which is very small..

thanks,
Michael

On QNAP, the cache files are stored in one of these directories, depending on the QNAP model:

/share/MD0_DATA/.qpkg/MinimServer/data
/share/HDA_DATA/.qpkg/MinimServer/data


RE: MinimServer - internal database location - michael123 - 20-05-2014 19:44

(20-05-2014 17:21)simoncn Wrote:  
(20-05-2014 12:13)michael123 Wrote:  Hi

where does minimserver store its database and cache?
I could not see any property responsible for that

I want to install it on QNAP (the Java version), but don't want it to use the internal flash space, which is very small..

thanks,
Michael

On QNAP, the cache files are stored in one of these directories, depending on the QNAP model:

/share/MD0_DATA/.qpkg/MinimServer/data
/share/HDA_DATA/.qpkg/MinimServer/data

Is it possible to change these locations?
I think these are exactly these internally-mounted (small) storage partitions

Can I install it on a specific share?


RE: MinimServer - internal database location - simoncn - 20-05-2014 21:15

(20-05-2014 19:44)michael123 Wrote:  Is it possible to change these locations?
I think these are exactly these internally-mounted (small) storage partitions

Can I install it on a specific share?

The directories are part of a filesystem that can use the full size of the HDD, so there shouldn't be any problem. There isn't an option to change the location.


RE: MinimServer - internal database location - michael123 - 21-05-2014 04:09

(20-05-2014 21:15)simoncn Wrote:  
(20-05-2014 19:44)michael123 Wrote:  Is it possible to change these locations?
I think these are exactly these internally-mounted (small) storage partitions

Can I install it on a specific share?

The directories are part of a filesystem that can use the full size of the HDD, so there shouldn't be any problem. There isn't an option to change the location.

Then I don't understand something..
I had this issue with Twonky, which filled up full internal partition quite fast - I have some 40,000 albums and the partition size was merely 512MB


RE: MinimServer - internal database location - simoncn - 21-05-2014 06:25

(21-05-2014 04:09)michael123 Wrote:  Then I don't understand something..
I had this issue with Twonky, which filled up full internal partition quite fast - I have some 40,000 albums and the partition size was merely 512MB

Perhaps Twonky uses a different location for its database.


RE: MinimServer - internal database location - bbrip - 21-05-2014 08:09

(21-05-2014 04:09)michael123 Wrote:  Then I don't understand something..
I had this issue with Twonky, which filled up full internal partition quite fast - I have some 40,000 albums and the partition size was merely 512MB

Twonky is a piece of junk and I indeed remember in horror the (pre-MinimServer) days myself when it was clogging up my NAS.

Now you should not be mistaken assuming MinimServer being programmed to the same mediocre levels. It just works Wink

bbrip


RE: MinimServer - internal database location - michael123 - 21-05-2014 09:20

(21-05-2014 08:09)bbrip Wrote:  
(21-05-2014 04:09)michael123 Wrote:  Then I don't understand something..
I had this issue with Twonky, which filled up full internal partition quite fast - I have some 40,000 albums and the partition size was merely 512MB

Twonky is a piece of junk and I indeed remember in horror the (pre-MinimServer) days myself when it was clogging up my NAS.

Now you should not be mistaken assuming MinimServer being programmed to the same mediocre levels. It just works Wink

bbrip

Twonky filled up the partition up to the zero bytes left, so I even could not connect via telnet.. I had no choice to reformat the NAS..
And I did it twice, since I did not realize initially what's going on there..


RE: MinimServer - internal database location - simoncn - 21-05-2014 09:25

(21-05-2014 04:09)michael123 Wrote:  Then I don't understand something..
I had this issue with Twonky, which filled up full internal partition quite fast - I have some 40,000 albums and the partition size was merely 512MB

Here is the list of partitions on my QNAP TS-119:

Code:
[~] # df
Filesystem                Size      Used Available Use% Mounted on
/dev/ram0                32.9M     15.3M     17.7M  46% /
tmpfs                    32.0M    600.0k     31.4M   2% /tmp
/dev/sda4               356.5M    289.6M     66.8M  81% /mnt/ext
/dev/md9                509.5M    142.6M    366.8M  28% /mnt/HDA_ROOT
/dev/sda3                 1.8T    654.6G      1.1T  36% /share/HDA_DATA
tmpfs                    32.0M         0     32.0M   0% /.eaccelerator.tmp
[~] #

As you can see, the size of /share/HDA_DATA is 1.8 terabytes. There is another partition named /mnt/HDA_ROOT that is only 509.5 megabytes. Perhaps Twonky puts its database in the /mnt/HDA_ROOT partition.