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
thanks
Last edited by rbatte1; 08-15-2014 at 06:15 AM..
Reason: Changed title to "filesystem" from "file"
I think i am missing the correct syntax for the command.
You were on the right track but went astray on the last centimetre: use a "M" (not "m") as the unit!
Y'know, UNIX is case-sensitive... :-)
If you omit any unit as you did in your last attempt, the number you give is interpreted as disk blocks (512 bytes).
Notice that every LV has a maximum number of LPs which you might hit when increasing the FS. You can simply increase this limit with the chlv command, but i suggest you use SMIT for this. It does the same and will guide you through the process.
For complete control over the process (which is not necessary any more in most cases nowadays), you may want to consult this little how-to.
Sweet! thanks that help. I tried smit on the production box but was not seeing fs I needed. Thanks for this I was able to get what I needed done on the prod box.
Last edited by rbatte1; 08-15-2014 at 06:32 AM..
Reason: Capital letter I for first person singular
You may want to place your LV on a specific hdisk(s) of your volume group. chfs (and chlv for that matter) don't respect that option, however it will make an intelligent guess. If you need to move partitions later on, it is possible with mirrors (using a map file) and/or the migratepv command. .
If you have mirrors, the space required in the volume group will be double or triple the increase you specify. Additionally, the PPs must not reside on the same hdisk (even if they are hardware protected by RAID, SAN delivered, VIO mirrors etc.)
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)
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)
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)
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)
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)
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)
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)
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)