VIOS: Extend virtual disk assigned to running lpar?


 
Thread Tools Search this Thread
Operating Systems AIX VIOS: Extend virtual disk assigned to running lpar?
# 1  
Old 08-19-2014
VIOS: Extend virtual disk assigned to running lpar?

Hello,

VIOS 2.2.1.4 using IVM.

I'm trying to extend a virtual disk assigned to a running lpar so that I can expand the lpar's datavg and grow some filesystems for the user.

Storage admin expanded the lun and new size was reflected in VIO right away. I then needed the storage pool to reflect the new size which I accomplished using:
Code:
chvg -chksize vgname

With storage pool showing new free space, I was looking for a command to extend the virtual disk assigned to the storage pool, which I had no luck. Instead I tried using IVM to extend the virtual disk, however I got a warning about the virtual disk assigned to a running partition.

You will either need to restart the partition after extending the size, or reconfigure the device using the partition's operating system. If you would like to proceed anyway, select the checkbox below, and select OK again. Force extend on running partition.

I'd like to attempt this without shutting down the lpar, however I can't risk a production outage either. Does anyone know the implications of using the "Force extend" option?
# 2  
Old 08-19-2014
If you are talking about the virtual disk you assigned to LPAR, then from LPAR run

Code:
chvg -g <vgname>

# 3  
Old 08-19-2014
I'm referring to the VIOS side. I need to get the VIO virtual disk expanded first, then from the lpar run
Code:
cfgmgr

and verify the PV size changes with
Code:
bootinfo -s hdisk*

Once those are accomplished, I can then expand the VG.

---------- Post updated at 01:35 PM ---------- Previous update was at 12:25 PM ----------

I was able to figure this out. Here are the steps for future reference.

This is for VIOS with logical volumes (virtual disks) based on storage pools.

1. Storage admin added 40gb to existing LUN.

2. Checked VIO for pv size increase
Code:
$ oem_setup_env
# bootinfo -s hdisk*

3. Checked VIO for vg size increase
Code:
chvg -chksize vg*

4. Increase size of logical volume (virtual disk)
Code:
chbdsp -sp sp* -bd lv* -size 40g
Backing device size changed.

5. Next, checked lpar for pv increase
Code:
bootinfo -s hdisk*

6. Checked lpar vg for size
Code:
lsvg vgname

7. Extend lpar vg
Code:
chvg -g vgname

8. Recheck lpar vg for new size
Code:
lsvg vgname

This was all done using command line; no need to restart the lpar. I checked within IVM just for reference.
This User Gave Thanks to j_aix For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

VIOS and virtual FC

Hello, In my environment, I have 2 VIOS. There is 1 lpar uses the first VIOS. Now we would like to move it to second VIOS. My question is, can we migrate the virtual FC on the lpar to second VIOS? If not, we have to create new virtual FC on second VIOS and map it to the lpar. This also... (3 Replies)
Discussion started by: Phat
3 Replies

2. UNIX for Advanced & Expert Users

Unable to install client AIX LPAR to vscsi hdisk provided from VIOS

Hi everybody, I have Power5 server with 4 internal hdisks each of 70Gb. VIOS server was installed via Virtual I/O Server Image Repository on the HMC. HMC release - 7.7.0 VIOS rootvg installed on 2 disk(these disks merged to one storage pool during VIOS install process),and 2 others hdisks... (2 Replies)
Discussion started by: Ravil Khalilov
2 Replies

3. AIX

Moving VIOS, LPAR's, HMC to different subnet

Hi, Just joined to new company with one Power 720 Express (8202-E4C) server and have no much experience with IBM systems. I am trying to move everything I mentioned to different subnet as required by customer contract (currently sitting on same subnet as company lan). Access to this subnet will... (8 Replies)
Discussion started by: spricer
8 Replies

4. AIX

VIOS LPAR Error 0518

I am trying to install AIX 5.3 on one of the LPARs through VIOS but I get this error 0518 Reference Code Selection 0518 (Time stamp: 12/18/12 12:10:20 AM UTC) Starting kernel (Time stamp: 12/18/12 12:10:15 AM UTC) AIX is starting. (Time stamp: 12/18/12 12:10:15 AM... (10 Replies)
Discussion started by: filosophizer
10 Replies

5. AIX

List LPAR from VIOS

Hi guys, does anyone know how to get a list of the LPAR running on VIOS? Thanks! (5 Replies)
Discussion started by: cecco16
5 Replies

6. AIX

What's the difference between VIOS and LPAR?

Hi All, Besides the licenses on VIO and LPAR. What's the main difference with the two? I have installed VIO, my manager told me so, because it's like a free hypervisor but I never installed LPAR before. How do you install it? And if you can give more info on the two, that would be great. ... (5 Replies)
Discussion started by: itik
5 Replies

7. AIX

VIOS to lpar Mapping

Hello, I have created mapping of 2 virtual adapters for Lpars using following command: mkvdev -vdev ipanalyzerlv1 -vadapter vhost11 mkvdev -vdev ipanalyzerlv -vadapter vhost13 The above two commands were succesfull but when I want to map the third virtual device to the same Lpar than... (3 Replies)
Discussion started by: Vit0_Corleone
3 Replies

8. AIX

DUAL VIOS & Client LPAR hangs at 25b3

I have a DUAL VIO ( IBM Virtual I/O ) setup on p 570. Two Vio server ( VIOS ) and many LPAR clients. VIO ( latest version + service pack + applied the fix ) and AIX 6.1 ML2 When both VIOs are running, and if I turn on a Client LPAR, the LPAR hangs at LED 25b3 for more than 1 hour then it... (2 Replies)
Discussion started by: filosophizer
2 Replies

9. AIX

Problem mapping LUN disk from VIOS to the LPAR

Hello guys, It would be so nice of you if someone can provide me with these informations. 1) My SAN group assigned 51G of LUN space to the VIO server.I ran cfgdev to discover the newly added LUN. Unfortunately most of the disks that are in VIO server is 51G. How would I know which is the newly... (3 Replies)
Discussion started by: solaix14
3 Replies

10. AIX

Help urgent : vio server - add extral disk on virtual lpar

Hi, I define 2 new LV on the vio server and run a cfgmgr on the partition and see my 2 new hdisk (hdisk6 and hdisk7). I extend my vg vg000 (on the partition) and add the 2 hdisks. I had a filesystem on the vg000 and when I added the disk I would like to increase the filesystem. But I cannot do a... (0 Replies)
Discussion started by: touny
0 Replies
Login or Register to Ask a Question