How to increase Virtual Disk size


 
Thread Tools Search this Thread
Operating Systems AIX How to increase Virtual Disk size
# 1  
Old 05-27-2009
How to increase Virtual Disk size

Hello,

I am working AIX VIO server and extended Virtual Disk of one of the Partition with 10GB. After starting partition, i am not able to see increased size of disk.
Can you please help me what I need to do to increase the size of virtual disk from partition?

Thanks

Kishor

-----Post Update-----

FYI:
Virtual Disk which i extended is in rootvg.

-----Post Update-----

FYI:
Virtual Disk which i extended is in rootvg.
# 2  
Old 05-27-2009
Yes you will have to unmap the disk and remap it back to the Lpar

if the Lpar is up you may have to export the vg (not rootvg )
Unmap the disk in the vioserver ( rmdev -dev device_name )
remap the disk to the vhost (mkvdev -dev bla bla )
on the host ( cfgmgr )
re inmport the vg

check the disk size ( bootinfo -s hdiskxx )
# 3  
Old 05-27-2009
I have AIX 6.1 installed on this rootvg. will rmdev -dev device_name will remove data or affect to my existing AIX6.1 installation?

without above steps bootinfo -s hdisk0 is showing extended space, which i wanted to see. But through lspv hdisk0 it is still showing less 10 GB.

# bootinfo -s hdisk0
33792

# lspv hdisk0
PHYSICAL VOLUME: hdisk0 VOLUME GROUP: rootvg
PV IDENTIFIER: 0006a8815e7dbc31 VG IDENTIFIER 0006a8810000d600000001215e7dbcf2
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 128 megabyte(s) LOGICAL VOLUMES: 13
TOTAL PPs: 183 (23424 megabytes) VG DESCRIPTORS: 2
FREE PPs: 0 (0 megabytes) HOT SPARE: no
USED PPs: 183 (23424 megabytes) MAX REQUEST: 256 kilobytes
FREE DISTRIBUTION: 00..00..00..00..00
USED DISTRIBUTION: 37..37..36..36..37
MIRROR POOL: None
# 4  
Old 05-27-2009
Now then you use

chvg -G vgname


This will pick up the changes
# 5  
Old 05-27-2009
for normal vgs, you don't have to remap a disk to the lpar, just use chvg -g vgname
that works since vio 1.4 I think, before it was necessary to remap the lun

since it's rootvg, you have a problem, because chvg -g rootvg is not supported

the easiest way is to map a new bigger disk, and use migratepv hdisk0 hdiskx

or mirrorvg and unmirrorvg

edit:

Quote:
Originally Posted by ravager
Now then you use

chvg -G vgname


This will pick up the changes
as I wrote, this is
1. not supported
and
2. wrong, because -G changes the vg format to scalable
# 6  
Old 05-27-2009
try varyongvg rootvg without any flag.
# 7  
Old 05-27-2009
I got below msg.

# chvg -g rootvg
0516-1380 chvg: Re-sizing of the disks is not supported for the rootvg.
0516-732 chvg: Unable to change volume group rootvg.

I guess now I have only one option and that to add new disk with big size and migrate the vg.

-----Post Update-----

Quote:
Originally Posted by faruk
try varyongvg rootvg without any flag.
I didn't get that, which command you want me to execute?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Increase disk size of guest domain

Host System: SPARC S7-2 Server; 2x8-core CPUs; 128Gb RAM; 2x600Gb HDD. running Solaris 11.3. Last login: Tue Sep 19 14:42:42 2017 from xxx.xxx.xxx Oracle Corporation SunOS 5.11 11.3 June 2017 $ uname -a SunOS sog01 5.11 11.3 sun4v sparc sun4v $ Original physical systems: Sun... (0 Replies)
Discussion started by: apmcd47
0 Replies

2. SCO

Increase disk size on OS side on the fly

Hi, I'm Linux administrator who happens to 'administer' SCO Unix 5.0.7, which is virtual server on VMware - deployed from official ovf image. My problem is that root filesystem is almost out of disk space, and we've decided to do it as we do on every other virtual servers and extend disk on... (13 Replies)
Discussion started by: goldenboy
13 Replies

3. Solaris

Delete syslog but size disk can't increase

Hi Experts, I have a problem wih /var. Disk /var is full. After i investigate, i found file /var/log/syslog.0 is growing rapidly. The size is 4.3G. I tried to move syslog.0 to another disk and file was moved successfully. My question is why size /var can't increase? used space still 100%. ... (7 Replies)
Discussion started by: edydsuranta
7 Replies

4. Fedora

How to increase/Decrease Local Virtual consoles?

I m tring to figure out the option where i can increase/Decrease the count for local virtual consoles(vtys). I can able to take upto 6 vtys using (left alt+(F1-F6)) But is there any way i can increase the count ? One more query even though i can only take tty upto tty6 why there are tty... (2 Replies)
Discussion started by: pinga123
2 Replies

5. UNIX for Dummies Questions & Answers

Increase size to sd[b-c]

hi guys I am working on my vmware workstation. I have a /dev/sdb which is 5GB. I am using LVM. Now I increase /dev/sdb 2 more GB. fdisk -l shows 7 GB but pvscan still shows 5GB. how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and... (1 Reply)
Discussion started by: kopper
1 Replies

6. UNIX for Dummies Questions & Answers

Increase salt size

Unix protect its password by using salt It that mean larger the salt size the more secure? if the salt size increase greatly, will the password still able to be cracked? thank you for helping (1 Reply)
Discussion started by: cryogen
1 Replies

7. UNIX for Dummies Questions & Answers

How to increase process size ???

Hi All, Could anybody tell me how to increase/decrease a process size in UNIX HP machine ? Whether the process size limitation will cause core dump ? Thanks, Rohit.. (1 Reply)
Discussion started by: ronix007
1 Replies

8. Solaris

how to increase the size of the allotment

Hi all, I have a 130gb HDD of which 95b is taken up by various partitions of windows xp... I partitioned my HDD and gave solaris 10gb of space, but now owing to some development stuff i need to increase the space!!! How do i do it!! Please note that i do have ~20gb of space left still...... (2 Replies)
Discussion started by: wrapster
2 Replies

9. HP-UX

increase size

Hi All, one of the mount point in Hp ux server has reached 95% its a data base file and can not be deleted. so i want to know how to increase the size of mount point i am new to unix ,please help me (1 Reply)
Discussion started by: jyoti
1 Replies

10. UNIX for Dummies Questions & Answers

increase size of /tmp

My /tmp is full, and the oracle installation is crashing. How can I increase the size of /tmp, even though I have allocated all the available disk space to other partitions? (2 Replies)
Discussion started by: pkappaz
2 Replies
Login or Register to Ask a Question