01-23-2009
grow /var size how
Hi all,
I am using SLES 9 and have following partitions mounted
Quote:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-root_lv
4.0G 527M 3.5G 13% /
tmpfs 8.0G 8.0K 8.0G 1% /dev/shm
/dev/sda3 204M 45M 160M 23% /boot
/dev/mapper/system-home_lv
30G 9.3G 21G 31% /home
/dev/mapper/system-opt_lv
4.0G 560M 3.5G 14% /opt
/dev/mapper/system-srv_lv
4.0G 34M 4.0G 1% /srv
/dev/mapper/system-tmp_lv
3.0G 243M 2.8G 8% /tmp
/dev/mapper/system-usr_lv
8.0G 2.8G 5.3G 35% /usr
/dev/mapper/system-var_lv
3.0G 850M 2.2G 28% /var
I would like to make /var 10G atleast.
fdisk -l
Quote:
Disk /dev/sda: 218.2 GB, 218238025728 bytes
255 heads, 63 sectors/track, 26532 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 8 64228+ de Dell Utility
/dev/sda2 9 792 6297480 8e Linux LVM
/dev/sda3 * 793 818 208845 83 Linux
/dev/sda4 819 26530 206531640 5 Extended
/dev/sda5 819 949 1052226 82 Linux swap
/dev/sda6 950 26530 205479351 8e Linux LVM
Quote:
/dev/system/root_lv / reiserfs acl,user_xattr 1 1
LABEL=boot /boot reiserfs acl,user_xattr 1 2
/dev/system/home_lv /home reiserfs defaults 1 2
/dev/system/opt_lv /opt reiserfs acl,user_xattr 1 2
/dev/system/srv_lv /srv reiserfs acl,user_xattr 1 2
/dev/system/tmp_lv /tmp reiserfs acl,user_xattr 1 2
/dev/system/usr_lv /usr reiserfs acl,user_xattr 1 2
/dev/system/var_lv /var reiserfs acl,user_xattr 1 2
/dev/sda5 swap swap acl,user_xattr
This system is doing RAID5(HW).
Can someone help me with this issue?
Thanks
10 More Discussions You Might Find Interesting
1. Solaris
Hi experts,
I am facing a big problem. i use solaris 9. i found size of /var is increasing day by.
snapshot of a yester moring-
/dev/vx/dsk/var 15G 14G 1.1G 94% /var
snapshot of a yesterday everning-
/dev/vx/dsk/var 15G 14G 824M 95% /var
I am... (11 Replies)
Discussion started by: thepurple
11 Replies
2. Solaris
Hi experts,
sometimes i notice in my Solaris 9 /var/adm/messages size 0.
It continues for 1/2 days then again /var/adm/messages is start filling up with logs!!!
What could be reason behind it. and if its a problem what could be the solution.
//purple (1 Reply)
Discussion started by: thepurple
1 Replies
3. Solaris
hi sirs
can u tell the difference between /var/log/syslogs and /var/adm/messages
in my working place i am having two servers.
in one servers messages file is empty and syslog file is going on increasing..
and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
4. UNIX for Dummies Questions & Answers
How can one limit the size of user mailboxes in /var/spool/mail? (0 Replies)
Discussion started by: proactiveaditya
0 Replies
5. UNIX for Dummies Questions & Answers
I have a 146Gb drive and want to grow the size from 12G to the max available left. I think 20G is being used so I want to max out from 12 G to 126G. Is this possible? Can you help with the command.
root@WRPDWI6k-BU # df -h
Filesystem size used avail... (3 Replies)
Discussion started by: udubya
3 Replies
6. AIX
Hi all.
I have a strange case on one of my AIX boxes. /var/adm/wtmp on server01 is ~ 400MB large but it only has ~1200 lines. For example on server02 there are ~85000 lines and the file is ~158MB large. I check lines through 'last | wc -l'. But when I check line directly with 'wc -l... (2 Replies)
Discussion started by: robroy
2 Replies
7. Solaris
Hi,
Is the contents in /var/log/syslog and /var/adm/messages are same??
Regards (3 Replies)
Discussion started by: vks47
3 Replies
8. Red Hat
Hi,
inode size reached its 100% in /var
Due to this i'am getting the error No space left on device
my crond process is stopped and when i want to restart it
it is showing the below error
Starting crond: crond: can't open or create /var/run/crond.pid: No space left on device
df -i o/p
... (3 Replies)
Discussion started by: Mohamed Thamim
3 Replies
9. Shell Programming and Scripting
i try to find way to make string concatenation in csh ( sorry this is what i have )
so i found out i can't do :
set string_buff = ""
foreach line("`cat $source_dir/$f`")
$string_buff = string_buff $line
end
how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies
10. Fedora
Hello,
One Fedora server is facing the issue that daily /var/log/btmp grows to 2.2Gb or more.
I need your help to determine the cause and isolate it.
Thank you! (6 Replies)
Discussion started by: feroccimx
6 Replies