Sponsored Content
Operating Systems AIX How to know exactly which physical partion contains data? Post 302929647 by bobochacha29 on Tuesday 23rd of December 2014 11:11:16 PM
Old 12-24-2014
Sorry for replying so late. It took me a few days to check the data I/O to do the migrate, and a few days more to check the result after the migration.

Quote:
This - the splitting you intend - makes sense only in a specific kind of situation, so please describe your hdisk-devices a bit better. What are they (single SCSI-disks, RAID-sets, LUNs from SAN, ...) and how do you access them?
They are SCSI Disk Drive.

Quote:
Further, please tell us which kind of data the FS holds. You already said "mostly writing log files", but a little more detail would help: many small files, a few very large files, do the files change often or are they mostly appended? How often are files deleted and recreated (like in log rotation)? How many processes write (typically) concurrently to the FS. It might be that you can gain a lot with different OS tuning parameters without even having to change the disk layout.
Yes, many small files and these small files are compressed to a tar file after each day. Depending on which kinds of log, these tar files are deleted after 1 week, 1 month or 1 years ...

This i's what I've done for the last few days. I used "lvmstat" to collect the information of I/O stat of each lp/pp of fslv00.
Code:
Log_part  mirror#  iocnt   Kb_read   Kb_wrtn      Kbps
       1       1  993851   1208612   3869488      3.01
       1       2  892710    595072   3869440      2.65
       2       1  494569   1453116   2206252      2.17
       3       1  484349   1480348   2106752      2.13
      94       1  480105   1716412   2667692      2.60
       4       1  441866   1397696   2095044      2.07
       2       2  401524    746264   2206260      1.75
      94       2  395993    994520   2667688      2.17
      66       1  394574   1960732   2910004      2.89
       3       2  385884    783876   2106748      1.71
      66       2  378052   1193540   2909996      2.43
      93       1  363708   1538244   2186696      2.21
       4       2  360660    762820   2095048      1.69
      27       1  359079   1828708   2038160      2.29
      11       1  312996   1613992   2138716      2.22
      93       2  290093    866932   2186692      1.81
      27       2  283805    916232   2038156      1.75
      28       1  281631   1596708   1727532      1.97
       9       1  267060   1564664   1815164      2.00
      11       2  266783   1002556   2138700      1.86
       5       1  264425   1067524   1360380      1.44
      10       1  257942   1689472   1991040      2.18
      25       1  236913   1244748   1377272      1.55
      15       1  231909   1622516   1983764      2.14
      13       1  229836   1634964   2080424      2.20
      28       2  221740    777552   1727532      1.48
      12       1  219561   1570800   1824384      2.01

Then I used this information to split the lp/pps to the disks, tried to make it balance.

And this is the result
Code:
Disk    Busy%     KBPS     TPS KB-Read KB-Writ  PgspIn        0  % Noncomp  40
hdisk5   51.5     1.4K   97.5     0.0     1.4K  PgspOut       0  % Client   40
hdisk4   54.0     1.4K   96.5     0.0     1.4K  PageIn        0
hdisk1   47.5   282.5    81.5     0.0   282.5   PageOut     378  PAGING SPACE
hdisk3   41.0   282.5    81.5     0.0   282.5   Sios        381  Size,MB   28672
cd0       0.0     0.0     0.0     0.0     0.0                    % Used      0
hdisk0    0.0     0.0     0.0     0.0     0.0   NFS (calls/sec)  % Free    100

It seems that the "Busy%" is balance , but the "KB-Writ" is not balance as expected.


I've made the change to 5 servers. The last server remaining is also the most abnormal one
Code:
Disk    Busy%     KBPS     TPS KB-Read KB-Writ  PgspIn        0  % Noncomp  52
hdisk4   18.5     1.6K   40.5     0.0     1.6K  PgspOut       0  % Client   52
hdisk5   22.0     1.6K   40.5     0.0     1.6K  PageIn        0
hdisk0   84.5   573.4   122.5     2.0   571.4   PageOut     489  PAGING SPACE
hdisk3   82.0   571.4   122.0     0.0   571.4   Sios        505  Size,MB   28672
hdisk1    0.0     0.0     0.0     0.0     0.0                    % Used      0
hdisk2    0.0     0.0     0.0     0.0     0.0   NFS (calls/sec)  % Free    100

You can see that, however the "KB-Writ" of hdisk4 and hdisk5 is higher than these of hdisk0 and hdisk3, the "Busy%" of hdisk0 and hdisk3 is higher than these of hdisk4 and hdisk5.

It's so complicated.

Last edited by rbatte1; 12-29-2014 at 06:05 AM.. Reason: Change CODE tags to QUOTE tags for text quoted from bakunin. - RBATTE1 corrected some spelling.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Partion size

hi, just need to know the disk size and the partition size on machine.pls let me know how to do that.is their a way i can get to know the size of directory.like /,/var...etc. thanx (2 Replies)
Discussion started by: saood
2 Replies

2. UNIX for Dummies Questions & Answers

physical volume and physical disk.

Hello, I need explanations about physical disks and physical volumes. What is the difference between these 2 things? In fact, i am trying to understand what the AIX lspv2command does. Thank you in advance. (2 Replies)
Discussion started by: VeroL
2 Replies

3. Linux

Doing stuff to files on a NTFS partion from linux

I have a 50GB section of my hard drive on which I've kept all my music, movies and more back from when I had Windows. When I'm in linux it says that the NTFS section is a read only section. Is it possible to copy, rename, add, move or delete any files off of this section? I'm trying to get rid... (2 Replies)
Discussion started by: CTroxtell21
2 Replies

4. UNIX for Dummies Questions & Answers

Partion Magic problems.

Hiya people, A great big "HI" to everybody. I'm new to the Forum and now to my problem(s). I am about to partition my only 80GB HD and using the Partition Magic 8 software it looks fairly simple although here is my problem :- 1. Do I change the new partition to primary or logical? 2. Do I... (4 Replies)
Discussion started by: Syndrome_00
4 Replies

5. UNIX for Dummies Questions & Answers

Physical volume- no free physical partitions

I was in smit, checking on disc space, etc. and it appears that one of our physical volumes that is part of a large volume group, has no free physical partitions. The server is running AIX 5.1. What would be the advisable step to take in this instance? (9 Replies)
Discussion started by: markper
9 Replies

6. Solaris

How to create on partion from 2 disks?

Hi everyone :b: I'm glade to join this forum and I have one question I installed latest Solaris 10 release on SF V480 with 2 73 GB disks 8 GB RAM 4 CPU's My configuration is 10GB for root, 8GB for Swap and 12GB for var. I mirrored root, so disk 1 has 40GB free of space and disk 2 has... (11 Replies)
Discussion started by: HishamN
11 Replies

7. Shell Programming and Scripting

Auto XP partion restore

At my computer shop where I work, we got alot of used PC's from some place. It's my job to refurbish them for resale. Each computer comes with XP pro. So the boss man asks me if there is a way to put a XP restore option. I say yes if I install Linux on a small partion and use partimage to make a... (1 Reply)
Discussion started by: Zewbie
1 Replies

8. Linux

Centos 5 install. Partion order

I can't control the partion order during install. For example i need. hda5 /var 1GB hda6 /opt 2GB I created them in such order but OS adjust them to hda5 /opt 2GB hda6 /var 1GB It is frustrating during install, I pretty sure I can order the partion as i like... (0 Replies)
Discussion started by: honglus
0 Replies

9. AIX

Maximum Limit of HMC to handle Physical Power Virtualization Physical Machine

Hello All, Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time? Thanks, Jenish (1 Reply)
Discussion started by: jenish_shah
1 Replies
All times are GMT -4. The time now is 01:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy