DS212+ : Space requirements for administration and indexing

Topics pertaining to volume setup, boot/shutdown, initialization, DSM update, HDD migration.
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu

DS212+ : Space requirements for administration and indexing

Postby umuegge » Sun Apr 08, 2012 10:07 am

Hi everybody,

it seems that I have maneuvered myself into a corner (yet again). Running out of space on one drive and do not know how much more space is needed for system files.

I have two 2TB drives configured as "basic" volumes. Drive 1 was filled to the brim with rather large DV files that I would not want to move around, leaving a meager 30MB free. Drive 2 was meant for all the other stuff that changes frequently and needs to be indexed and served to intra-/internet. I thought that the pitiful remaining space on Drive 1 would not be a problem since all the stuff that needs to be indexed will (in the future) be on Drive 2 and any system files would be on the root partition. However, after I installed the package "photo station" (chose Drive 2 as a target during setup but still had to manually move shared folder "photo" there, btw) the remaining space on Drive 1 dwindled fast and is now gone completely.

Here's my question:
Will this have an effect on system stability? How can I get the 30MB back that photo station setup unnecessarily took on a volume that will not be indexed, at all. The file output of Drive 1 (volume1, see below) seems to show that quota management is serialized on the partition itself and the file name "@database" suggests more administrative or indexing size increases.

DiskStation212> df -h
Filesystem Size Used Available Use% Mounted on
/dev/md0 2.3G 401.5M 1.8G 18% /
/tmp 249.9M 1.1M 248.7M 0% /tmp
/dev/md2 1.8T 1.8T 36.0K 100% /volume1
/dev/md3 1.8T 12.8G 1.8T 1% /volume2

And this is the content of Drive 1(volume 1):
drwxr-xr-x 7 root root 4096 Apr 8 01:02 .
drwxr-xr-x 23 root root 4096 Apr 7 23:43 ..
drwxr-xr-x 3 admin users 4096 Apr 4 03:19 @database
drwxr-xr-x 17 root root 4096 Feb 9 2011 @postfix
drwxrwxrwx 4 root root 4096 Apr 7 12:54 @spool
drwxrwxrwx 2 root root 4096 Apr 7 12:53 @tmp
drwxrwxrwx 2 root root 4096 Apr 4 21:18 DSData1
-rw------- 1 root root 6144 Apr 8 01:58 aquota.group
-rw------- 1 root root 8192 Apr 8 01:58 aquota.user
umuegge
I'm New!
I'm New!
 
Posts: 5
Joined: Tue Apr 03, 2012 11:57 am

Re: DS212+ : Space requirements for administration and index

Postby maxxfi » Mon Apr 09, 2012 8:54 am

Hmm... cd to the /volume1 directory and issue the command "du -hs *", that will tell you how much space is used by the @<directories>
DS-411 (DSM 4.3-3810) w/ 2x WD10EFRX + 1x HD154UI
DS-106j (DSM 3.0-1357), PATA-to-SATA adapter, 2.5" HM250HI
User avatar
maxxfi
Programmer
Programmer
 
Posts: 5591
Joined: Sun Dec 27, 2009 12:13 pm
Location: Espoo, Finland

Re: DS212+ : Space requirements for administration and index

Postby umuegge » Mon Apr 09, 2012 6:44 pm

Those folders that I have access to do not seem to be holding a whole lot of data apart from @database:
DiskStation212> du -hs *
4.0K PG_VERSION
29.0M base
268.0K global
12.0K pg_clog
4.0K pg_ident.conf
28.0K pg_multixact
60.0K pg_subtrans
4.0K pg_tblspc
4.0K pg_twophase
32.0M pg_xlog
4.0K postmaster.opts

All I could find in the subdirectories were files with cryptic numeric names so that did not help. I think for now I'll just wait and hope for the best. Still, I wish I would have more insight into what data is stored on which partition.

Thank you for your reply!
umuegge
umuegge
I'm New!
I'm New!
 
Posts: 5
Joined: Tue Apr 03, 2012 11:57 am

Re: DS212+ : Space requirements for administration and index

Postby maxxfi » Mon Apr 09, 2012 9:00 pm

Unfortunately isn't much you can do on the @database directory (apart perhaps to move it to /volume2, but it's a risky operation).
Anyway, I think you should try to make some free space in /volume1, perhaps packing and transferring something that you don't access frequently from /volume1 to /volume2.
A more complicated workaround would be to move some data from /volume1 to /volume2 but make it appear like it is still inside /volume1, by using a 'mount -o bind' command, but it's kind of 'dirty' solution, so I'm not going into details unless you're interested to it.
DS-411 (DSM 4.3-3810) w/ 2x WD10EFRX + 1x HD154UI
DS-106j (DSM 3.0-1357), PATA-to-SATA adapter, 2.5" HM250HI
User avatar
maxxfi
Programmer
Programmer
 
Posts: 5591
Joined: Sun Dec 27, 2009 12:13 pm
Location: Espoo, Finland

Re: DS212+ : Space requirements for administration and index

Postby umuegge » Tue Apr 10, 2012 1:25 pm

Thank you for your offer to help with "mount bind" but I think I will refrain from messing with my NAS this time. I used to run a Linksys NSLU2 in the olden days and tinkered with it quite a bit but the DS212+ will stay mostly in "manufacturer approved" state ;-)

So, off to my favorite online retailer to buy a 3TB hard drive for the DV files.

Cheers,
umuegge
umuegge
I'm New!
I'm New!
 
Posts: 5
Joined: Tue Apr 03, 2012 11:57 am


Return to Installation, Configuration, Migration, Expansion

Who is online

Users browsing this forum: hYp and 7 guests