Sponsored Content
Full Discussion: AIX extend VG error
Operating Systems AIX AIX extend VG error Post 303033820 by Phat on Friday 12th of April 2019 04:08:43 AM
Old 04-12-2019
Hi Bakunin,

Understand your recommendation. My aim is to know if we can go this way technically Smilie
For the current status, there is no need to add new disk to that VG, we just need to create new VG and that's all. The scalable VG with PP size 1 GB is created Smilie

I have 1 more point, can you explain to me the in-band and calculation of the percentage? In the docs it says this is used to calculate the usage percentage of disk, but somehow I can see 0%, 100% but the disk has data already on it and still has free PPs.

Code:
[root@xxx] / > lslv -l fslv03
fslv03:/export/images
PV                COPIES        IN BAND       DISTRIBUTION
hdisk19           1599:000:000  20%           320:320:319:320:320
hdisk20           1599:000:000  20%           320:320:319:320:320
hdisk21           1599:000:000  20%           320:320:319:320:320
hdisk22           1599:000:000  20%           320:320:319:320:320
hdisk23           1599:000:000  20%           320:320:319:320:320
hdisk24           1599:000:000  20%           320:320:319:320:320
hdisk25           1599:000:000  20%           320:320:319:320:320
hdisk26           1599:000:000  20%           320:320:319:320:320
hdisk17           968:000:000   18%           320:178:319:151:000

[root@xxx] / > lspv -l hdisk21
hdisk21:
LV NAME               LPs     PPs     DISTRIBUTION          MOUNT POINT
fslv03                1599    1599    320..320..319..320..320 /export/images

[root@xxx] / > lspv hdisk21
PHYSICAL VOLUME:    hdisk21                  VOLUME GROUP:     vg_3
PV IDENTIFIER:      00fa6d12ed215e81 VG IDENTIFIER     00c1cc1400004c0000000128174b7c57
PV STATE:           active
STALE PARTITIONS:   0                        ALLOCATABLE:      yes
PP SIZE:            64 megabyte(s)           LOGICAL VOLUMES:  1
TOTAL PPs:          1599 (102336 megabytes)  VG DESCRIPTORS:   1
FREE PPs:           0 (0 megabytes)          HOT SPARE:        no
USED PPs:           1599 (102336 megabytes)  MAX REQUEST:      256 kilobytes
FREE DISTRIBUTION:  00..00..00..00..00
USED DISTRIBUTION:  320..320..319..320..320
MIRROR POOL:        None

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

extend /usr on AIX

Hi! How to extend /usr partition in rootvg on AIX 4.3.3-09? I guess first I'll have to decrease the size of other partition(s) in rootvg? Thank you! (2 Replies)
Discussion started by: steve99
2 Replies

2. HP-UX

how to extend a vg on the same disk

on the disk array (EMC Clariion cx300): we added 3 disk and extended the LUN corresponding to HP-9000 (rp7410) on HP-UX 11.11: diskinfo /dev/rdsk/c10t0d0, show more disk space, but vgdisplay vg13 does not show more space So the problem is the disk had increased, but vgdisplay does not... (6 Replies)
Discussion started by: pedro_lezaeta
6 Replies

3. AIX

Extend a Filesystem with other LV

Hi Everybody, Is it possible to extend a Filesystem by adding a new LV that exist on different VG to this Filesystem? Thanks in advance. (6 Replies)
Discussion started by: aldowsary
6 Replies

4. Solaris

How to extend a filesystem

I am running solaris 10 with Veritas. I want to extend a filesystem. It's an oracle partition (/ora12). How can I find out if there is space available to expand the filesystem and then how does one extend it. I'm from the HPUX world and so LVM was always how I did things. Thanks jackie (5 Replies)
Discussion started by: jackiebaron
5 Replies

5. Filesystems, Disks and Memory

How to extend a filesystem??

OK I'm sure this question has been posed far too many times. I have solaris 10 x86 with NO Veritas or Disksuite filesystems. Below is the output of df -k # df -k Filesystem kbytes used avail capacity Mounted on / 10485760 547513 9317128 6% / /dev... (1 Reply)
Discussion started by: jackiebaron
1 Replies

6. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

7. Red Hat

Can't extend lv

Hi, I have recently increased the size of my pv and I am now attempting to increase the lv but I get the following error: # vgdisplay --- Volume group --- VG Name VolGroup00 System ID Format lvm2 Metadata Areas 1 Metadata... (7 Replies)
Discussion started by: Duffs22
7 Replies

8. AIX

How to extend mirrored VG?

Hi all, I need to extend a lv, but unfortunately I do not have enough space on my mirrored Volume group. I've planned to add 2 more disks to this vg (for mirroring) But ... what's the next steps to extend my lv using these 2 disks with a valid mirroring ? 1. extendvg myvg disk1 disk2... (3 Replies)
Discussion started by: unclefab
3 Replies

9. Linux

Unable to extend LV

Hi all. I have a Logical volume that I can't extend, with this error message: server171:root:/root# lvextend -L +1024M -v /dev/aplic_vg/siteminderwa_lv Finding volume group aplic_vg Archiving volume group "aplic_vg" metadata (seqno 75). Extending logical volume siteminderwa_lv to... (0 Replies)
Discussion started by: Gabriander
0 Replies

10. Red Hat

Is it possible to extend PV

Hello, I have redhat and centos systems that I've only been able to grow the VG by adding more disks. I've been searching the web for a way to extend a volume group by growing the physical disk only and not having to add a second disk. Is it possible? I can do this with AIX, by just... (0 Replies)
Discussion started by: bbbngowc
0 Replies
VGEXTEND(8)						      System Manager's Manual						       VGEXTEND(8)

NAME
vgextend - add physical volumes to a volume group SYNOPSIS
vgextend [-A|--autobackup{y|n}] [-d|--debug] [-h|--help] [-v|--verbose] VolumeGroupName PhysicalVolumePath [PhysicalVolumePath...] DESCRIPTION
vgextend allows you to add one or more initialized physical volumes ( see pvcreate(8) ) to an existing volume group to extend it in size. OPTIONS -A, --autobackup y/n Controls automatic backup of VG metadata after the change ( see vgcfgbackup(8) ). Default is yes. -d, --debug Enables additional debugging output (if compiled with DEBUG). -h, --help Print a usage message on standard output and exit successfully. -v, --verbose Gives verbose runtime information about lvextend's activities. Examples "vgextend vg00 /dev/sda4 /dev/sdn1" tries to extend the existing volume group "vg00" by the new physical volumes (see pvcreate(8) ) "/dev/sdn1" and /dev/sda4". DIAGNOSTICS
vgextend returns an exit code of 0 for success and > 0 for error: 1 no volume group name on command line 2 volume group name not given as first argument 3 no physical volume(s) on command line 4 invalid volume group name 5 error checking existence of volume group 6 inactive volume group 7 error reading VGDA 8 volume group is set to not extendable 9 maximum physical volume number of volume group exceeded 10 error reading all physical volumes 11 error setting up VGDA 12 error extending VGDA in kernel 13 error writing VGDA to physical volume(s) 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan(8)) 99 invalid command line ENVIRONMENT VARIABLES
LVM_AUTOBACKUP If this variable is set to "no" then the automatic backup of VG metadata is turned off. LVM_VG_MAX_BACKUPS This variable determines the backup history depth of kept VGDA copy files in /etc/lvmconf. It can be set to a positive number between 0 and 999. The higher this number is, the more changes you can restore using vgcfgrestore(8). See also lvm(8), vgcreate(8), vgreduce(8), pvcreate(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS VGEXTEND(8)
All times are GMT -4. The time now is 10:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy