Computing.Net > Forums > Solaris > increase /var space decrease /home

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

increase /var space decrease /home

Reply to Message Icon

Name: rob merritt
Date: June 8, 2003 at 11:30:21 Pacific
OS: solaris 8
CPU/Ram: 128 meg ram pent 3 700
Comment:

Hi I did a default install of Solaris 8 intel
and ended up hith a huge /export/home slice and a small /var slice how can I , step by step, take some disk space from /home and give it to /var ???


bash-2.03$ df
/ (/dev/dsk/c0d0s0 ): 43428 blocks 20740 files
/usr (/dev/dsk/c0d0s6 ): 434176 blocks 291867 files
/proc (/proc ): 0 blocks 3753 files
/dev/fd (fd ): 0 blocks 0 files
/etc/mnttab (mnttab ): 0 blocks 0 files
/var (/dev/dsk/c0d0s3 ): 7260 blocks 12171 files
/var/run (swap ): 752248 blocks 43905 files
/opt (/dev/dsk/c0d0s5 ): 46034 blocks 14986 files
/tmp (swap ): 752248 blocks 43905 files
/export/home (/dev/dsk/c0d0s7 ):27869152 blocks 1760402 files
/usr/openwin (/dev/dsk/c0d0s1 ): 226348 blocks 157406 files




Sponsored Link
Ads by Google

Response Number 1
Name: Boardude
Date: July 9, 2003 at 07:06:31 Pacific
Reply:

If /export/home is not used... (empty)
try this :
$ ufsdump 0f - /dev/rdsk/c0d0s3 \
| (cd /export/home; ufsrestore xf -)

vi /etc/vfstab
change /export/home into /var and visaversa
init 6

hope this helps..



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: increase /var space decrease /home

how to increase var filesystem in solaris www.computing.net/answers/solaris/how-to-increase-var-filesystem-in-solaris/5106.html

Problem with tmp space www.computing.net/answers/solaris/problem-with-tmp-space/2169.html

ultra 5 help www.computing.net/answers/solaris/ultra-5-help/1036.html