Sponsored Content
Operating Systems AIX Different sizes with getconf DISK_SIZE and lspv Post 302965793 by -=XrAy=- on Wednesday 3rd of February 2016 06:17:06 AM
Old 02-03-2016
Hi,

i guess the size of the disk has changed in the past and the LVM is currently not aware of this.

man chvg
Code:
   -g
            Will examine all the disks in the volume group to see if they have grown in size. If any disks have grown in size attempt to add
            additional PPs to PV. If necessary will determine proper 1016 multiplier and conversion to big vg.

            Note: The user might be required to execute varyoffvg and then varyonvg on the volume group for LVM to see the size change on the
            disks.

Normaly this happens when we increase the size of LUN on the storage layer. Decreasing a LUN where the LVM is not aware of it should result in a IO failure...

Regards

Last edited by -=XrAy=-; 02-03-2016 at 07:24 AM..
This User Gave Thanks to -=XrAy=- For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Directory sizes

Can someone tell me how to read these damn sizes. i mean, i prefer to see sizes in MB but that is not the case when you do an ls -l on directories. i have a had time converting these to MB just for verification purposes, what would a directory size like this = 3499990308 represent in MB or... (3 Replies)
Discussion started by: TRUEST
3 Replies

2. UNIX for Advanced & Expert Users

AIX p570 lspv, lslv etc... not working

Hi we are running a VIO server on a AIX p570 we cannot run and of the command the query the ODM has anyone seen this problem or has a solution the command just hangs. (1 Reply)
Discussion started by: truma1
1 Replies

3. Solaris

invalid getconf output and Perl compile

I was compiling perl on a Solaris 10 server. The compile failed because the output of getconf is wrong (it indicates xarch is generic64 not v9. This is a known bug but I cannot find a fix. I wrote a script as suggested that changes it but when you run getconf again it goes back to generic64. ... (2 Replies)
Discussion started by: csross
2 Replies

4. UNIX for Dummies Questions & Answers

getconf LONG_BIT and isainfo conflict

I wish to programmatically determine whether a solaris system is 32-bit or 64-bit. Investigation on the web suggested that the following commands were the right way to test this: # isainfo -kv # getconf LONG_BIT Strangely, on all three of the solaris systems I have access to, isainfo... (2 Replies)
Discussion started by: nosrednayduj
2 Replies

5. Shell Programming and Scripting

Awk command for search a string in lspv

I want to know wich hdisk have only one pvid and also display hdisk with two pvid. hdisk1 00c3fcd4e516183f testvg active hdisk2 00c3fcd4e516189b testvg active hdisk3 00c3fcd4e51618ec testvg ... (1 Reply)
Discussion started by: khalidou13
1 Replies

6. Shell Programming and Scripting

Awk command for search a string in lspv

I 've got this retourn when i tape the commande lspv: hdisk0 00c3fce454950416 rootvg active hdisk1 00c3fce454950416 rootvg active I want to verify if hdisk0 et hdisk1 have the same pvid (ex : 00c3fce454950416)? Can... (8 Replies)
Discussion started by: khalidou13
8 Replies

7. Shell Programming and Scripting

Help with file sizes

I have 2 big files in the size of gb. They are same with respect to content, both are “,” delimited. Now both of them are created by two different processes but has the same logic. The problem is they are differing only in few bytes for e.g one file is 202195751 bytes other is 202195773. So... (2 Replies)
Discussion started by: dsravan
2 Replies

8. AIX

Lspv -free command on VIOS

Hi all, When we run lpsv -free command on VIOS, it will take lot of time to display free disks i.e around 8 to 10 minutes. VIOS ioslevel is 2.2.1.4Can you have any solution for this problem? Many Thanks (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

9. AIX

Lspv -free command on VIOS

Hi all, We have observed that lspv -free command tooks 15 to 20 minutes to display the free disks and we have only 77 MPIO disks on VIO Server. Our VIOS version is 2.2.1.4. Please let us know what could be the reason that lspv -free command taking long time to display the output. Thank (4 Replies)
Discussion started by: m_raheelahmed
4 Replies

10. UNIX for Beginners Questions & Answers

Partition Sizes

Good Morning, What's a good way to get partition/slice sizes down to the byte on Solaris 9? I've tried a few ways, but only see results like 8.21GB which rounds the number. Thanks! (5 Replies)
Discussion started by: Stellaman1977
5 Replies
pvremove(1M)															      pvremove(1M)

NAME
pvremove - remove LVM data structure from a physical volume SYNOPSIS
DESCRIPTION
The command clears the LVM data structure on a disk, so that it is no longer an LVM physical volume. The device may then be used by the file system or by other volume managers. The operation is denied if pv_path is assigned to a volume group. The command only clears the LVM data structure on a disk if the disk does not belong to a volume group. This avoids accidentally removing a valid physical volume under a volume group. If the physical volume to be removed belongs to a volume group, use the command to first remove the volume group associated with the physical volume. Arguments recognizes the following arguments: pv_path The character (raw) device path name of a physical volume. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). EXAMPLES
Remove LVM data structure on the physical volume SEE ALSO
lvremove(1M), vgremove(1M), intro(7), lvm(7). pvremove(1M)
All times are GMT -4. The time now is 04:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy