02-15-2007
increase fs /var
Question
I am not a hp admin but aix admin.
I am wondering if to increase the fs /var we really have to umount the fs so means stop the system ... just to do an extendlv ?
It is what I saw on man page of extendlv and that surprise me. On aix we can dynamically increase a fs and with version 5.3 can dynamically also reduce a fs. I would like to assume that on HP-UX we can also dynamically increase a fs... I hope so that I have to add some space to /var as it is a little full and the only files that I found big is belong to legato networker and don't know how to free space and nobodies no !
/var/nsr/index/hostname/db # ls -ltr
total 1033440
-rw------- 1 root root 472162304 Feb 16 10:51 sr.0
-rw------- 1 root root 28491776 Feb 16 10:56 sr_i0.0
-rw------- 1 root root 32768 Feb 16 11:11 sr_i1
-rw------- 1 root root 28336128 Feb 16 11:11 sr_i1.0
-rw------- 1 root root 8192 Feb 16 12:33 VolHdr
-rw------- 1 root root 32768 Feb 16 12:33 sr
-rw------- 1 root root 32768 Feb 16 12:33 sr_i0
Please if you can give me some help it will be cool.
Cheers.
Al.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi, guys, I have a big problem.
I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It soon becomes a large file.
I wander if there are some mistakes configuring the workstation.
the /var/adm/message is as follow:
... (1 Reply)
Discussion started by: cloudsmell
1 Replies
2. UNIX for Dummies Questions & Answers
Hi, guys, I have a big problem.
I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It becomes a large file in a short time.
I wander if there are some mistakes configuring the workstation.
the /var/adm/message is as follow:
... (3 Replies)
Discussion started by: cloudsmell
3 Replies
3. Filesystems, Disks and Memory
Hello,
I need to increase /var on a DG-UX R4.2 AViion Pentium Pro box - having never used DG-UX I'm unsure how to do this - can anyone point me in the right direction? Also, can I do it with the system up or do I have to take it to single user mode??
MAny thanks. (0 Replies)
Discussion started by: AnneliseW
0 Replies
4. AIX
Is there a limit of 512Mb when doing a "chfs -a size=XXXXX /myfs" ?
I managed to increase /var to 512MB fine, no issues, then i wanted to increase /usr to 2Gb, but when i enter:
# chfs -a size=2260992 /usr
chfs: 0506-908 Cannot reduce size... (5 Replies)
Discussion started by: craigp84
5 Replies
5. 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
6. Solaris
what is the difference between tha /var/adm and /var/sadm files in solaris 10 Os
please can any one respond quickly
thanking you (2 Replies)
Discussion started by: wkbn86
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. 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
9. Solaris
Hi
Please can I have some help in increasing /var in my solaris 10 server.
At the moment the size configured is small and I need to expand it:
df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 869M 510M 307M 63% /
/devices ... (16 Replies)
Discussion started by: fretagi
16 Replies
10. Solaris
I need to increase the /var (UFS) filesystem and root disk under veritas control or root disk is encapsulated
# df -k /var
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/var 13241195 12475897 674524 96% /var
# fstyp /dev/vx/dsk/var
ufs
# pkginfo... (1 Reply)
Discussion started by: amity
1 Replies
LEARN ABOUT SUNOS
volmgt_root
volmgt_root(3VOLMGT) Volume Management Library Functions volmgt_root(3VOLMGT)
NAME
volmgt_root - return the Volume Management root directory
SYNOPSIS
cc [ flag ... ] file ... -lvolmgt [ library ... ]
#include <volmgt.h>
const char *volmgt_root(void);
DESCRIPTION
The volmgt_root() function returns the current Volume Management root directory, which by default is /vol but can be configured to be in a
different location.
RETURN VALUES
The volmgt_root() function returns pointer to a static string containing the root directory for Volume Management.
ERRORS
This function may fail if an open() of /dev/volctl fails. If this occurs a pointer to the default Volume Management root directory is
returned.
EXAMPLES
Example 1: Finding the Volume Management root directory.
To find out where the Volume Management root directory is:
if ((path = volmgt_root()) != NULL) {
(void) printf("Volume Management root dir=%s
", path);
} else {
(void) printf("can't find Volume Management root dir
");
}
FILES
/vol default location for the Volume Management root directory
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
cc(1B), vold(1M), open(2), volmgt_check(3VOLMGT), volmgt_inuse(3VOLMGT), volmgt_running(3VOLMGT), attributes(5), volfs(7FS)
NOTES
This function returns the default root directory location even when Volume Management is not running.
SunOS 5.10 1 Feb 2001 volmgt_root(3VOLMGT)