Sponsored Content
Operating Systems AIX logical volume partially mirrored Post 302206620 by bakunin on Wednesday 18th of June 2008 05:53:58 AM
Old 06-18-2008
The paging space (at least one paging space) should remain on rootvg, as this is the volume group activated and mounted first on boot time. The machine needs to hve access to at least one paging space during boot.

You could delete the other swapspaces and create them anew on some SAN disk. Notice that all swap spaces should be of equal size: AIX uses them in a round-robin-schema. If you want to make the swap faster create more swapspaces and put all but one of them on the SAN storage. Do NOT create one big swap on the SAN and a small one in the rootvg, as is oftenly seen.

If the Websphere LV should be on rootvg or not is a matter of taste: some claim, that binaries should go along with the OS and only data should be on SAN storage. Others claim that binaries should reside with the data they work on.

In your case it is still not clear where the error comes from, as aside from the error everything looks normal. Maybe the error report (issue "errpt" and "errpt -a" respectively) might tell you something.

If you can, back up the LV, delete it and create it anew, then restore the data. Another possibility would be to backup the LV, create a new LV somewhere else, restore the data to it, then umount the original and mount the new one - takes 1 minute and an application restart.

Don't care if this is a production machine when proposing a downtime: if the management of the data center hasn't provided for some maintenance downtime then the management has made a GRAVE CONCEPTUAL error - it is well known that machines do not run for an infinite time - period. So it is their fault, not yours. You are just pointing it out. They may wince and they may whine, but in the end you'll get your downtime.

bakunin
 

10 More Discussions You Might Find Interesting

1. AIX

checking to see if logical disks are mirrored.

I have AIX 5.1 I ran these commands and was not able to see what disk were mirrored to what. I thought this is what I should do? lslv -m rd |more lslv -m db |more I get a error stating that it can't find or in the device configuation databse. Is there another way to look? I have a physcal... (1 Reply)
Discussion started by: rocker40
1 Replies

2. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

3. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

4. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

Hi! Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes? What items should I check, like where do I look at in smit? Or are there commands that I should execute? I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies

5. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

6. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

7. HP-UX

[Solved] How to extend a mirrored logical volume?

Want to extend the /home filesystem: Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol4 262144 260088 2056 99% /home root@server:./root # vgdisplay vg00 --- Volume groups --- VG Name /dev/vg00 VG Write Access read/write VG Status available Max LV 255 Cur LV 11 Open... (4 Replies)
Discussion started by: proactiveaditya
4 Replies

8. AIX

Position of the logical volume on the physical volume

Hello everyone, I just read that while creating a logical volume(LV) we can choose the region of the physical volume (PV) in which the LV should be created. When I say region I mean: outer edge - outer middle - center - inner middle and inner edge. Can anyone help me understand the utility... (11 Replies)
Discussion started by: adilyos
11 Replies

9. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

10. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies
swapinfo(1M)															      swapinfo(1M)

NAME
swapinfo - system paging space information SYNOPSIS
DESCRIPTION
prints information about device and file system paging space. also prints information about primary paging device for next boot. (Note: the term `swap' refers to an obsolete implementation of virtual memory; HP-UX actually implements virtual memory by way of paging rather than swapping. This command and others retain names derived from `swap' for historical reasons.) By default, prints to standard output a two line header as shown here, followed by one line per paging area: The fields are: One of: Paging space residing on a mass storage device, either taking up the entire device or, if the device contains a file system, taking up the space between the end of the file system and the end of the device. This space is exclusively reserved for paging, and even if it is not being used for paging, it cannot be used for any other purpose. Device paging areas typically provide the fastest paging. Dynamic paging space available from a file system. When this space is needed, the system creates files in the file system and uses them as paging space. File system paging is typically slower than device paging, but allows the space to be used for other things (user files) when not needed for paging. File system paging space (see above) on a file system residing on a local disk. File system paging space (see above) on a file system residing on another machine. This file system would have been mounted on the local machine via NFS. Paging space on reserve. This is the amount of paging space that could be needed by processes that are currently running, but that has not yet been allocated from one of the above paging areas. See "Paging Allocation" below. Memory paging area (also known as pseudo-swap). This is the amount of system memory that can be used to hold pages in the event that all of the above paging areas are used up. See "Paging Allocation" below. This line appears only if memory paging is enabled. The total available space from the paging area, in blocks of 1024 bytes (rounded to nearest whole block if necessary), including any paging space already in use. For file system paging areas the value is not necessarily constant. It is the current space allocated for paging (even if not currently used), plus the free blocks available on the file system to ordinary users, minus RESERVE (but never less than zero). AVAIL is never more than LIMIT if LIMIT is non-zero. Since paging space is allocated in large chunks, AVAIL is rounded down to the nearest full allocation chunk. For the memory paging area this value is also not necessarily constant, because it reflects allocation of memory by the kernel as well as by processes that might need to be paged. The current number of 1-Kbyte blocks used for paging in the paging area. For the memory paging area, this count also includes memory used for other purposes and thus unavailable for paging. The amount of space that can be used for future paging. Usually this is the difference between Kb AVAIL and Kb USED. There could be a difference if some portion of a device paging area is unus- able, perhaps because the size of the paging area is not a multiple of the allocation chunk size, or because the tunable param- eter is not set high enough. The percentage of capacity in use, based on Kb USED divided by Kb AVAIL; 100% if Kb AVAIL is zero. For device paging areas, START is the block address on the mass storage device of the start of the paging area. The value is normally 0 for devices dedicated to paging, or the end of the file system for devices containing both a file system and paging space. For file system paging areas, LIMIT is the maximum number of 1-Kbyte blocks that will be used for paging, the same as the limit value given to A file system LIMIT value of means there is no fixed limit; all space is available except that used for files, less the blocks represented by (see tunefs(1M)) plus RESERVE. For device paging areas, this value is always ``--''. For file system paging areas, this value is the number of 1-Kbyte blocks reserved for file system use by ordinary users, the same as the reserve value given to The same as the priority value given to This value indicates the order in which space is taken from the devices and file systems used for pag- ing. Space is taken from areas with lower priority values first. priority can have a value between 0 and 10. See "Paging Allocation" below. For device paging areas, the block special file name whose major and minor numbers match the device's ID. The command searches the tree to find device names. If no matching block special file is found, prints the device ID (major and minor values), for example, For file system swap areas, NAME is the name of a directory on the file system in which the paging files are stored. When used with -s option, also prints to standard output a three line header as shown here, followed by one line for the primary paging area configured for next boot: The fields are: swapon(1M) can configure primary paging area for next boot on a storage device only. The paging space configured for next boot resides on a mass storage device, either taking up the entire device or, if the device contains a file system, taking up the space between the end of the file system and the end of the device. For device paging areas, START is the block address on the mass storage device of the start of the paging area. The value is normally 0 for devices dedicated to paging, or the end of the file system for devices containing both a file system and paging space. This is same as the value given to swapon(1M) when configuring primary paging area for next boot. LENGTH is the maximum number of blocks that will be used for paging. This is same as the value given to swapon(1M) when configuring primary paging area for next boot. The block special file name whose major and minor numbers match the device's ID. The command searches the tree to find device names. If no matching block special file is found, prints the device ID (major and minor values), for example, Paging Allocation Paging areas are enabled at boot time (for device paging areas configured into the kernel) or by the command (see swapon(1M)), often invoked by during system initialization based on the contents of When a paging area is enabled, some portion of that area is allocated for paging space. For device paging areas, the entire device is allocated, less any leftover fraction of an allocation chunk. (The size of an allocation chunk is controlled by the tunable parameter and is typically 2 MB.) For file system paging areas, the minimum value given to (rounded up to the nearest allocation chunk) is allocated. When a process is created, or requests additional space, space is reserved for it by increasing the space shown on the line above. When paging activity actually occurs, space is used in one of the paging areas (the one with the lowest priority number that has free space available, already allocated), and that space will be shown as used in that area. The sum of the space used in all of the paging areas, plus the amount of space reserved, can never exceed the total amount allocated in all of the paging areas. If a request for more memory occurs which would cause this to happen, the system tries several options: 1. The system tries to increase the total space available by allocating more space in file system paging areas. 2. If all file system paging areas are completely allocated and the request is still not satisfied, the system will try to use memory paging as described on the line above. (Memory paging is controlled by the tunable parameter which defaults to 1 (on). If this parameter is turned off, the line will not appear.) 3. If memory paging also cannot satisfy the request, because it is full or turned off, the request is denied. Several implications of this procedure are noteworthy for understanding the output of o Paging space will not be allocated in a file system paging area (except for the minimum specified when the area is first enabled) until all device paging space has been reserved, even if the file system paging area has a lower priority value. o When paging space is allocated to a file system paging area, that space becomes unavailable for user files, even if there is no pag- ing activity to it. o Requests for more paging space will fail when they cannot be satisfied by reserving device, file system, or memory paging, even if some of the reserved paging space is not yet in use. Thus it is possible for requests for more paging space to be denied when some, or even all, of the paging areas show zero usage -- space in those areas is completely reserved. o System available memory is shared between the paging subsystem and kernel memory allocators. Thus, the system may show memory pag- ing usage before all available disk paging space is completely reserved or fully allocated. Logical Volume Manager (LVM) The command displays swap logical volume if the system was installed with LVM. To modify swap logical volume, refer to the LVM commands and manpages for and For example, to remove a swap logical volume, run the following LVM command: Options recognizes the following options: In addition to printing information about device and file system paging space that are currently in use, will also print information about primary paging area configured for next boot using swapon(1M). If the primary paging area for next boot has not been configured using swapon(1M), will not be able to display any informa- tion. In this case will display the error message - "Primary swap for next boot was not set using swapctl()" Display the AVAIL, USED, FREE, START, LIMIT, and RESERVE values in Mbytes instead of Kbytes, rounding off to the nearest whole Mbyte (multiples of The output header format changes from to accordingly. Add a totals line with a TYPE of This line totals only the paging information displayed above it, not all paging areas; this line might be misleading if a subset of is specified. Show all device paging areas, including those configured into the kernel but currently disabled. (These are normally omitted.) The word appears after the NAME, and the Kb AVAIL, Kb USED, and Kb FREE values are 0. The option is ignored unless the option is present or is true by default. Print information about device paging areas only. This modifies the output header appropriately. Print information about file system paging areas only. This modifies the output header appropriately. Categorize file system paging area information into areas and areas, instead of calling them both areas. Print information about reserved paging space only. Print information about memory paging space only. The and options can be combined. The default is Quiet mode. Print only a total "Kb AVAIL" value (with the option, Mb AVAIL); that is, the total paging space available on the system (device, file system, reserve, or memory paging space only if or is specified), for possible use by programs that want a quick total. If is specified, the and options are ignored. Print a warning about each device paging area that contains wasted space; that is, any device paging area whose allocated size is less than its total size. This option is effective only if is also specified or true by default. RETURN VALUE
returns 0 if it completes successfully (including if any warnings are issued), or 1 if it reports any errors. DIAGNOSTICS
prints messages to standard error if it has any problems. EXAMPLES
List all file system paging areas with a totals line: WARNINGS
needs kernel access for some information. If the user does not have appropriate privileges for kernel access, will print a warning and assume that the defaults for that information have not been changed. Users of must not rely on the exact field widths and spacing of its output, as these will vary depending on the system, the release of HP- UX, and the data to be displayed. The information in this manual page about paging allocation and other implementation details may change without warning; users should not rely on the accuracy of this information. AUTHOR
was developed by HP. SEE ALSO
lvlnboot(1M), lvrmboot(1M), swapon(1M), swapon(2), swapctl(2), fstab(4). swapinfo(1M)
All times are GMT -4. The time now is 06:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy