Need help with following case. I am trying to shring filesystem size and reduce few luns from volume group. Situation looks like that :
While executing command :
there is very high IO acitivity on affected disks :
Filesystem above hung - application is not able to write there and hung until chfs is completed (-10G take about 6 mins...so 30MB/s - same value as iostat shows)
Question is what is happening below chfs command? LPs are fragmented across all disks...but LVM should remove last LPs (from hdiskpower9) and shrink filesystem. What data is written to hdiskpower0? Where to look?
So if you've got data spread around those PPs, would you just like to lose it? The OS is moving the data to PPs that will survive the reduction. It will be doing this for every copy of an affected LP, so with mirrors, you've just doubled/tripled up.
Yes, the IO for the filesystem will lock. If you were working to keep space clear on certain PPs, how would you like it if another process looked and said "Oh lovely, a nice contiguous area of free disk to write in."
From your iostat you need to read the display clearly. Disk hdiskpower9 is reading. Writes are to hdiskpower0.
I hope that this helps your understanding, but organise downtime to take such actions as they are more complex then growing a filesystem.
Its just more to this than file system size reduction.
You have around 1.1TB of storage, you have emc MPIO. Now,
1. How are the disks configured? NPIV or vscsi or direct fibre (Have you configured the fscsiX setting?)
2. Disk allocation is absolutely wrong, 500 GB disk will definitely degrade the performance.
3. Did you configure the disks queue depth values?
4. What version of OS are you using?
5. What version of oracle are you using?
If the version of Oracle and OS require you to enable CIO, was it done.
Frankly %tm_act is way beyond, generally it should be within 30
You want to reduce the size of disks and evenly strip the LV across them.
These are few of the many question to ask.
Also, can you paste the %utilization of each File system (using df -g),
Is this a production system?
There is other way, by bringing down (and if required umount and remount the FS) the DB and try to reduce the FS (which I don't do/recommend in realtime)
df output looks like that - i want reduce size to +/-300G per filesystem
iostat output was captured while chfs command was running - during normal operation is not above 30% for sure.
Regarding your questions :
1. NPIV
2-3. System doesn't have performance issue. LUN size depends on storage system and application above. Queue depth is optimal for powerpath devices.
4. What version of OS are you using? AIX 6.1TL8SP1
5. What version of oracle are you using? 11G - no cio option need
Can filesystem defrag be helpful here? Is there a way to match inode/filesystem block to particular LPs? Any other "online" solution?
What about assign one big lun, move all PPs by migratepv and shrink filesystem size (once lv will be on one PV).
Using migratepv will just move the PPs. Their contents will remain the same through the process, although you are right, you can do this with the filesystem in use. The problem is, you will still have your data spread over all the PPs.
What is the eventual aim of all this anyway? It could be to free a LUN or to create another LV for another purpose. It would be good to know.
Robin
P.S. if you considered adding a mirror, synchronising them and then dropping the original, you are still going to have data across your PPs as the mirror is at the PP level.
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
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)
Hi All,
Currently for filesystem /usr/sap/ccms we have allocated 50 GB of size and its mounted. Is there any procedure to remove 10 GB from it without disturbing data and allocate that 10 GB to another file system say /usr/sap/sapdata1.
Thanks,
Rohan (2 Replies)
i am new in the field 3months to be precise. how do i come up with size, i want to change for the filesystem? assuming there is enough space on the volume group.
do i just assign any value? (5 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)
I did
cat < myFile >> myPipe
I was hoping that if I did ls -l, myPipe would now be holding the contents of myFile, and would be the same size. But it was 0.
Also strange was that when I did the command above, cat did not return control back to the shell. Why?
thanks (4 Replies)
Scenario............
ufsdump 0uf /dev/rmt/0n /
root has 10GB available but only 5GB are used. Does the backup record the entire 10GB regardless of whats actually used or just the 5GB being used? (1 Reply)
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)
Hi there,
can i change the size of filesystem afterwards.
i want give some more space to my /export/home and want take some space from /opt.
is it possible in solaris ?
Any help will be appriciated.
Abid (2 Replies)