Not a straightforward fix, I'm afraid. I don't think you can reduce the filesystem in a simple way. If it is in-use, then there is pretty much no chance.
I've done this on Linux and it's messy. I ended up having to boot from media and forcing it from there, but I can't remember if AIX let's you do that anyway. If I was to be faced with this on AIX, then I would have two options but both of them are effectively Disaster Recovery options:-
Use mkszfile and then edit the control file it generates before running a mksysb. You can then restore from the backup using the changed filesystem size
An alternate to the first one might be to use savevg & restvg whilst adjusting the LV description file, but it's essentially the same.
They are pretty serious and obviously requires a chunk of down-time (as does the way I did with Linux) however you might be able to use one of these methods to clone your server to alternate hardware (or LPAR) and attach the application/data disks to it.
I'm sorry, but it's not a nice place to be.
When you say that you want to migrate hd10opt, may I ask why? I would hope that this is mirrored, or has someone managed to remove the mirrors to give themselves lots of free space to grow in to? Are these real, local disks? If they are virtualised by something, does that protect you against hardware failure? It might be, but that can be done wrong too.
Can you share the output from:-
Thanks, in advance,
Robin
Hi, I'm not good in scripting, maybe someone can help me.
I need to delete the lines that contains the last month date from a text file. Each line has the following date format:
So the script should check the actual month, and delete all the lines that contains the past month. The script runs... (2 Replies)
Hi folks,
I known how to incrase and reduce File System size on AIX 5.3, but my issue is that I have a Logical Volume without any filesystem.
So, how to shrink just the logical volume ?
Thanks,
Livio. (5 Replies)
I have a script which includes an FTP. The filename is too long for my target area. The filename is HD012_ABCD_EFGH_061004_F_300_40. I need to the filename to be HD012_ABCD_EFGH_061004_F_. Any ideas. (5 Replies)
New Question:
The purpose of an alternate disk install is in my opinion to have a ready-to-use-backup and i've read that it is possible to install filesets or software on the cloned disk for testing purposal while the normal system is still running.
The question is: how do you tell AIX (5.2... (5 Replies)
Hi,
I've entered the HP-UX 11i server in single user mode, and increased the filesystem /usr by mistake using
lvextend -l 3092 /dev/vg00/lvol7
extendfs /dev/vg00/rlvol7
I put small letter "l" instead of "L".
and as a result of this mistake the /usr take all the free space in the volume... (2 Replies)
Hello
I have a question
I have a box with Aix 5.3 with rootvg on mirror.
I deleted a filesystem and I create a new one to install some software but when I type lsvg -l rootvg all my filesystems has mirror unless the new one.
My question is I can mirror this fs only ??? or I have to... (9 Replies)
$ /backup_restore/backupDatabase -b 128 -s 45056000 -non-interactive
The above command is usually ran through cron on a daily basis. However it takes 2hrs to complete. The tape is usually inserted into the V890 server, and cron kicks off the backup around 1:10AM. It completes around 3:30 -... (0 Replies)
I'm trying to troubleshoot an issue with an AIX system here. I have no experience with system administration of IBM stuff. Our local admin is ... um ... not available at this time.
I found something online that said enter service mode - How the heck do I do that??? Why is IBM stuff lack proper... (2 Replies)
When attempting to extend rootvg to a new physical disk I received the following message:
0516-1162 extendvg: Warning, The Physical Partition Size of 64 requires the
creation of 1093 partitions for hdisk5. The limitation for volume group
rootvg is 1016 physical partitions... (4 Replies)
Hi All,
We have a T5140 server which has 128 threads in total. Is it possible to reduce the number of threads per core through some configuration changes? I am sorry for being so naive but I am one on this.
Why would I like to do this? Unfortunately we have this for an Oracle Database Server... (6 Replies)