Sponsored Content
Operating Systems AIX Increase filesystem size AIX 5.3 Post 302913227 by fierfek on Thursday 14th of August 2014 03:31:05 PM
Old 08-14-2014
Increase filesystem size AIX 5.3

I an trying to increase the file size on an AIX 5.3 box. I think i am missing the correct syntax for the command. Here is was i am trying on a test box

Code:
# lsvg rootvg
VOLUME GROUP:       rootvg                   VG IDENTIFIER:  0000bd8b00004c00000
0010d8ed7a76e
VG STATE:           active                   PP SIZE:        64 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1084 (69376 megabyt
es)
MAX LVs:            256                      FREE PPs:       497 (31808 megabyte
s)
LVs:                13                       USED PPs:       587 (37568 megabyte
s)
OPEN LVs:           11                       QUORUM:         2 (Enabled)
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        yes
MAX PPs per VG:     32512
MAX PPs per PV:     1016                     MAX PVs:        32
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable
# df -k /page
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/page         2424832    394008   84%    21019     4% /page
# chfs -a size=+500m /page
chfs: Invalid attribute value: +500m
Usage: chfs [-n nodename] [-m newmtpt] [-u mtgrp] [-A {yes|no}] [-t {yes|no}] [-
p {ro|rw}] [-a attr1=val1] [-d attr] fsname
# chfs -a size=2425332m
Usage: chfs [-n nodename] [-m newmtpt] [-u mtgrp] [-A {yes|no}] [-t {yes|no}] [-
p {ro|rw}] [-a attr1=val1] [-d attr] fsname
# chfs -a size=2425332m /page
chfs: Invalid attribute value: 2425332m
Usage: chfs [-n nodename] [-m newmtpt] [-u mtgrp] [-A {yes|no}] [-t {yes|no}] [-
p {ro|rw}] [-a attr1=val1] [-d attr] fsname
# chfs -a size=2425332 /page
chfs: Cannot reduce size of file system

thanks

Last edited by rbatte1; 08-15-2014 at 06:15 AM.. Reason: Changed title to "filesystem" from "file"
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Reason for continuously increase filesystem size?

Hi my file system size /hd4 is keep on increasing continuously , i tried all the performance related command to identify which process is currently running........ for every minute my FS(/hd4) size is increasing ?what could be the problem? how to diagnose it ? is there any specific command... (3 Replies)
Discussion started by: aixteam
3 Replies

2. Solaris

What is the command to increase filesystem on solaris

I wanted to know what is the process or command to increase a filesystem on solaris. For example the /tmp directory. (3 Replies)
Discussion started by: strikelit
3 Replies

3. Solaris

how to increase the filesystem size under veritas control

Hi all, aloe:root-> df �k Filesystem 1024-blocks Used Available Capacity Mounted on /dev/vx/dsk/rootvol 8254263 2064133 6107588 26% / /proc 0 0 0 0% /proc mnttab ... (2 Replies)
Discussion started by: krishna176
2 Replies

4. Solaris

increase/decrease filesystem

Hi All, I need to increase the filesystem of / and /var (two different slices)? Space will be coming from /home slice so I need to decrease it. Is that possible without reinstallation or in a single-user-mode? Any idea or link please. Thanks in advance. (5 Replies)
Discussion started by: itik
5 Replies

5. UNIX for Dummies Questions & Answers

How to increase the filesystem size?

Hi.. I want to increase the file system size of any filesystem online, without using the Volume manager like LVMs, is it possible? & if yes then how? (3 Replies)
Discussion started by: Amol21
3 Replies

6. AIX

How to increase the filesystem size in HACMP

How to increase the filesystem size in HACMP. what is the difference between normal chfs command and increase the filesystem size in HACMP. (4 Replies)
Discussion started by: AIXlearner
4 Replies

7. AIX

Increase LUN size in AIX with VIOS and HACMP

Hello! I have this infraestructure: - 1 POWER7 with single VIOS on Site A. - 1 POWER6 with single VIOS on Site B. - 1 LPAR called NodeA as primary node for PowerHA 6.1 on Site A. - 1 LPAR called NodeB as secondary (cold) node for PowerHA 6.1 on SiteB. - 1 Storage DS4700 on Site A. - 1... (8 Replies)
Discussion started by: enzote
8 Replies

8. UNIX for Advanced & Expert Users

Physical disk IO size smaller than fragment block filesystem size ?

Hello, in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies

9. Red Hat

Increase the filesystem size

Hi I am using oracle linux 6.4. My hard drive capacity is 500 GB. my filesystem size onbly 50GB. I would like to extend my filesystem size to around 100GB. I tried many codes but still I am not able. this is the output of df -h : Filesystem Size Used Avail Use% Mounted on... (6 Replies)
Discussion started by: farshad
6 Replies

10. AIX

Increase filesystem and or logical volume

Hi all, Do i need to increase the logical volume each time i increase the filesystem? or is enough to increase the filesystem and the logical volume get increase automatically? extendlv hd4 1 chfs -a size=2G /tmp or just chfs -a size=2G /tmp Code tags! (4 Replies)
Discussion started by: prpkrk
4 Replies
wml::std::box(3)						     EN Tools							  wml::std::box(3)

NAME
wml::std::box - Easily Create Rectangular Box SYNOPSIS
#use wml::std::box <box [attributes]> ... </box> DESCRIPTION
The "<box>" container tag puts its body into a nice rectangular box which itself is build via a HTML "<table>" construct. ATTRIBUTES
"header" This attribute switches between two totally different box variants. When it is present, a headlined box is created by the use of one single table but with space GIFs. When this attribute is missing a standard box is created by the use of two nested tables but without any space GIFs. "bgcolor" This sets the background color of the box. "fgcolor" This sets the foreground (text) color of the box. "bdcolor" This sets the color for the border of the box. The effect of this attribute is the automatic generation of a nested table construct to achieve the optical effect. "bdspace" This sets the space between the border and the body of the box in pixels. Default is 4 pixel. "bdwidth" This sets the border width in pixels. Default is 1 pixel. "width" This sets the total table width in pixels. Default is no specific width for the standard box and 300 pixels for the headlined box (because the headlined variant needs to know a fixed size to create the GIFs accordingly). "summary" Add a description of this table. This attribute is recommended in HTML 4.0. EXAMPLE
<box bdcolor="#000000" bdwidth=1 bdspace=10 bgcolor="#ffffff" fgcolor="#000000"> Foo Bar Quux </box> <box header="Foo Bar Quux Header" bdcolor="#000000" bdwidth=1 bdspace=10 bgcolor="#ffffff" fgcolor="#000000"> Foo Bar Quux </box> AUTHOR
Ralf S. Engelschall rse@engelschall.com www.engelschall.com REQUIRES
Internal: P1, P2 SEE ALSO
HTML "<table>" tag. EN Tools 2014-04-16 wml::std::box(3)
All times are GMT -4. The time now is 08:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy