my questions would be ->
1) is there any side effects to my current ./usr if I add space to it. Any risk of losing any data in the directory?
2) would this command be correct?
or
I can see that free PP is 1004, not so sure 1 PP stands for how many MBs. I just assume 139776 devide by 1004 = 139.219 mb per 1PP.
my intention is just to create a space with at least 3G of free space in one location.
please advice.
---------- Post updated at 03:02 PM ---------- Previous update was at 12:39 PM ----------
I just tried
before ->
after ->
seems that everythings fine. It did add 3G i guess.hmm..Now lets hope all the original files in /usr are there
+ One additional question.
Can I keep on adding the size? meaning lets say after this I still find 3G not enough and I want to add more, would it effect anything? My assumption is No.
seems that everythings fine. It did add 3G i guess.hmm..Now lets hope all the original files in /usr are there
+ One additional question.
Can I keep on adding the size? meaning lets say after this I still find 3G not enough and I want to add more, would it effect anything? My assumption is No.
chfs works fine and does not affect existing data. you can keep adding space as long as you have physical space available. I would strongly suggest moving non-OS data out of /usr though. This will make backup/restores go much smoother and avoid having an application affect the OS in a negative way.
chfs is normally the only command that is needed for this. be *very* careful with LVM commands. They are very powerful and can make for a bad day if used improperly.
Last edited by frank_rizzo; 09-16-2010 at 01:59 AM..
Reason: add comment
I can see that free PP is 1004, not so sure 1 PP stands for how many MBs. I just assume 139776 devide by 1004 = 139.219 mb per 1PP.
Wrong. As your own output shows:
Quote:
PP SIZE: 128 megabyte(s)
You do not have to extend /usr ever - as it is supposed to be used only for package installations - and these have the capability to extend the filesystem according to their needs. If it runs full, commit old packages that are only applied - this makes a lot of space free.
Quote:
Can I keep on adding the size?
Sure - as long as you haven't reached the size you defined when creating your logical volume filesystem. If you did reach you will get an error message and need to change this size to a greater value.
btw - if you run df -g instead of df -k, it makes the entire output a lot more readable.
For future, read the LVM redbook or at least a basic system administration redbook - these are written for AIX 5L but basic commands never change on AIX. If you are switching from Solaris or HP to AIX there are very good redbooks for this as well.
Kind regards
zxmaus
Hi Guys
We have a VM machine, now I want to increase the size of the filesystem.
We are running RHEL6 O/S.
I have filesystem that is 500GB I want to increase that filesystem to 1.5 TB.
The guy who manages the VM increased the size on the VM machine, now how do I make sure that the... (7 Replies)
Hi Friends,
I have a problem while increasing the fileystem. Actually the filesystem is 256 gb
and i have to add another 256 gb.So i got a new lun(hdisk) with 256 gb.
I added to the vg using the extendvg command.
It was successfully added, and when i checked the free pp's in vg it was showing... (4 Replies)
Hello,
Does HACMP have bugs ? I have version 5.4 on AIX 6.1 and when I try to increase filesystem space or logical volume partitions which are under HACMP VG it gives me error:
# lsvg
rootvg
pr0oravg
px0oravg
pb0oravg
pr0sapvg
px0sapvg
pb0sapvg
pr1_pr2_vg
pr2_px1_vg
#
#... (11 Replies)
we are using aix 5.3 and we notice that the filesystem /usr is almost full. we have an oracle database running on the server.what are the cause why this filesystem is almost full.what should we do to free some space on this filesystem beside increase the size?thanks (4 Replies)
http://i44.tinypic.com/2cmq7vn.jpg
Please help me on this issue i'm using solaris on vmware x86 even i runed fsck on root disk like 'fsck -Y /dev/rdsk/c0d0s0 ' but again after reboot it is going to maintanance mode reply soon (6 Replies)
Hi, got a nice surprise this morning. I have an alert saying I have a server with the filesystem /usr/nsr full at 100%.
Upon looking at its content I have no idea what to clean up. The only files that were created within the past few days are kind of small. So I suspect it was always almost... (3 Replies)
Hi All,
I have mount /usr directory as a seperate filesystem.The /usr directory includedd in / root file system.I have to mount it as seperate.
Please Help me,
Thanks and Regards, (7 Replies)
Hi Everybody,
I have AIX 4.3 and I have a FileSystem with 400GB size, which called /db/run. Because of grow up of the application's data, more storage has been added 200GB. To add this space without affecting the application & the application's requirements, I have to add this 200GB to the existed... (9 Replies)
Now, i know a ufs file system can be increased using mkfs but hwo do I take space from a file system and add it to another file system? at my job here, that seems to be possible because I see request on it almost every day.
what is the exact command to do this and does the system need to be... (1 Reply)