Increase space for /var/db/

samy lancher washville2003 at yahoo.com
Wed Dec 17 08:29:02 PST 2003


Dan Nelson <dnelson at allantgroup.com> wrote:
In the last episode (Dec 17), samy lancher said:
> Hello, I have a 4.5 FreeBSD server with mysql database. only 250MB
> was allocated to /var/db. Our database is increasing so fast that now
> i need to expand the memory for /var/db. I guess one way to do is to
> install a new hard drive and then mount it to /var/db. But i would
> like to know if there is any other way to solve that problem. Is
> making a soft link a good idea. i have 70GB in /usr/ so i would like
> to map /var/db/ to some location in /usr/. Please let me know if
> anyone has any suggestions.

That's what I do.

$ ls -l /var/db/pkg
lrwxr-xr-x 1 root wheel 20 Apr 14 2003 /var/db/pkg@ -> ../../usr/var_db_pkg

Hello, 

thanks for the quick response. 

Is this a soft link?, what happens to the existing data in /var/db. I do not want to loose that data.

thanks,

-- 
Dan Nelson
dnelson at allantgroup.com



---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard


More information about the freebsd-questions mailing list