It is currently Sat, 25 May 2013 06:47:18 GMT



 
Author Message
 Expand var
I need to adjust the amount of HDD space given to my /var.  Can this be
done?  I have plenty of space in /usr.

Thanks



 Mon, 17 Jan 2005 21:26:00 GMT   
 Expand var

comp.unix.bsd.freebsd is not widely propagated, so you won't
necessarily get much help here.
See http://www.freebsd.org/support.html for better ideas...

Not unless you have some unallocated space.  
You could move a directory tree over to /usr/ and symlink it from its
proper location on /var, though.

See the Handbook (and, to some extent, the FAQ) for an assortment of
relevant information.



 Tue, 18 Jan 2005 01:35:58 GMT   
 Expand var
Thanks, I did do searches on freebsd.org for doing this.  Maybe I just did
not know the correct terms to use.  I am by no means any type of unix guru.
Below is what I have

/dev/ad0s1a     49583    27304    18313    60%    /
/dev/ad0s1f   3752462   521253  2931013    15%    /usr
/dev/ad0s1e     19815     8069    10161    44%    /var
procfs              4        4        0   100%    /proc

I would like to make /dev/ad0s1f smaller and give more space to /dev/ad0s1e.
I don't watch this machine much, so when the mail piles up and the log
files, spaces runs out pretty fast.

What is a good news group to be in?  There are lots of freebsd ones.

Thanks

news:44u1meo51d.fsf@be-well.ilk.org...



 Tue, 18 Jan 2005 02:07:59 GMT   
 Expand var

Searches are very useful, but sometimes there's no getting around
doing some actual reading.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-H...
includes some relevant material.

As I said previously, you can't do that easily.  The easiest way to do
that is to back up both partitions, delete them, re-create them with
new sizes, and restore them from the backups.  Moving /var/mail to
/usr/mail (and putting a symlink to it back on /var) is probably a lot
easier, and will probably solve your problem, but it isn't technically
what you asked for.

Yep.  I recommend redirecting the mail somewhere else, so it doesn't
pile up.

I already gave the standard pointers to the FreeBSD web site's list of
support sources, but if you want  a newsgroup, there's only one:
comp.unix.bsd.freebsd.misc.  Most of the others are gateways of the
official mailing lists, and in general posting to them will not work
effectively.  



 Tue, 18 Jan 2005 03:42:56 GMT   
 
   [ 4 post ] 

Similar Threads

1. how to expand $var from a file??

2. Expanding ~ from $var

3. trimming /var/adm/messages & /var/adm/syslog

4. Using RAMdisk for /var/lock and /var/run

5. Cannot create /var/adm/utmp or /var/adm/utmpx

6. unable to write to /var/adm/utmp and /var/adm/utmpx

7. HELP /var/tmp causes /var partion ot fill completely

8. INIT: Cannot create /var/adm/utmp or /var/adm/utmpx

9. INIT: Cannot create /var/adm/utmp or /var/adm/utmpx

10. Help with /var/adm/wtmp and /var/adm/wtmpx


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software