| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
/var filesystem fuLL!!
|
Original Message
|
Name: Lostinkmart
Date: October 21, 2002 at 02:28:59 Pacific
Subject: /var filesystem fuLL!! OS: solaris 8 CPU/Ram: 170/138
|
Comment: my /var directory currently is only 30 megs. i have unassigned space on my hard drive and i need to make the /var directory bigger without lossin the data thats on it already any suggestions?
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: belov
Date: October 21, 2002 at 06:07:04 Pacific
|
Reply: Hi In order to grow file system and do not loose your data, use Solstice DiskSuite 4.2 You should install it from Software Disk 2 of 2 located there in Early Access directory run pkgadd -d /{directory path *(all packages) if you use CDE run metatool do replicas on unused slices then concatenate your var directory (I RECOMMEND to see docs.sun.com for step by step configurations of doing stripe sets and concatenations) In command line growfs -M slice1 slice2 (in graphics it construct concatination for you) It's a very flexible tool for solving such problems like yours Good luck Write me if you have questions
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Mark M
Date: October 21, 2002 at 13:17:30 Pacific
|
Reply: You know, you might be able to avoid doing this. The main reason for the var partition filling up so quickly is system accounting logs growing. change to /var/adm and ls -l to see if your wtmp and wtmpx files are huge. If they are then you can just do cat /dev/null > /var/adm/wtmp cat /dev/null > /var/adm/wtmpx Note that you won't have any last logs for the time previous to doing this if you do it. It's ok if this is just a personal machine though, the logs will start rebuilding. I always put a script on my machines (and servers at work) to backup these files every month and to create empty versions. It stops the var partition usage flying up through the roof.
Report Offensive Follow Up For Removal
|

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
Results for: /var filesystem fuLL!!
Identifying disks Summary: S-Boy, From the output of /etc/vfstab: The top line gives you the order of each entry. For example: 1st column = Device to mount 2nd column = Device to fsck (Filesystem check) 3rd column = Mount point...
www.computing.net/answers/solaris/identifying-disks/2425.html
Cannot access /var/adm/utmpx, Summary: i am working on sun v445 server with four internal disks. i created metadevices fo internal disks and updated the vfstab accordingly. but when i booted the system i got the message The /var file syst...
www.computing.net/answers/solaris/cannot-access-varadmutmpx/4935.html
forgot root password on ultra 5 Summary: i forgot the root password for solaris 8 on ultra 5 systems. When restarted an waring is raised[ unable to repair /var filesystem] Type ctrl+d to proceed for normal startup [or type root password for ...
www.computing.net/answers/solaris/forgot-root-password-on-ultra-5-/2359.html