Running out of Space on my Asset Server Drive

Hi there,

I am having a disk space problem on my asset server. I am not a savvy linux user so I wanted to ask this question, see below my configuration and let me know if this should work

What I have: (note SDA1 is almost full)

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              46G   42G  1.9G  96% /
tmpfs                 1.7G     0  1.7G   0% /lib/init/rw
udev                   10M  780K  9.3M   8% /dev
tmpfs                 1.7G     0  1.7G   0% /dev/shm
/dev/mapper/d0-d0     831G  249G  541G  32% /usr

My Unity Asset server is on /dev/sda1 and I need to move it to /usr

This should work?.. I am asking before breaking stuff :smiley:

 > /etc/init.d/unity_asset_server stop
 > cd /opt
 > mv unity_asset_server /usr
 > ln -s /usr/unity_asset_server/ unity_asset_server
 > /etc/init.d/unity_asset_server start

Well I thought I answered this already but I guess not.

You don’t state which Linux “flavour” you’re using but before you do your move (mv) first take a backup, however you do that to tape or external disk make sure you have back out plan, then

du -s unity_asset_server

That will tell you how big that directory contents are. After the mv command

cd /usr

du -s unity_asset_server

If they match you’re OK if not revert to backup.

In fact try a “cp -r” command instead of mv as you can get away without a backup as long as the values match you can then “rm -r” the /opt/unity_asset_server but be very careful when using rm as it takes no prisoners!