How to identify which HDD is allocated to VIO server

Hello All,

I am new to AIX VIO LPAR server. We have VIO 1.5 server installed with few logical valumes and 3-4 Virtual machines running.

I wanted to restructer the space allocation to logical values. but don't know which harddisk, hold VIO server installation.

Can someone please help to me to identify which harddisk is allocated to VIO server installation?

Thanks

Kishor

I'm not sure I understand what you mean by 'VIO server installation'. Do you mean rootvg on the VIO? Or do you mean which hdisk is allocated to which vhost/lpar?

I mean base VIO server, which enables to create/launch LPAR servers.

I am searching for which harddisk is allocated to this VIO server.

Log in to your VIO Server

list all the disk in VIO Server
#lspv

you should see something like
hdisk0___________ PVID_ID_______volume_group_it_belongs_to

list it here ...

thanks

$ lspv
NAME PVID VG STATUS
hdisk0 0006a881c0e19a7a datavg active
hdisk1 0006a881c0e19b88 datavg active
hdisk2 0006a881c0e19cdb datavg active
hdisk3 0006a881c0e19e43 datavg active
hdisk4 0006a881bbfa0363 vg_client_mir active
hdisk5 0006a881bbf66858 vg_client active
hdisk6 0006a881bba6464f rootvg active
hdisk7 0006a8813cdb233a rootvg active

I got above result. but out of above 8 harddisks, on which harddisk vio server is installed?

looks like your rootvg is mirrored

hdisk6 0006a881bba6464f rootvg active
hdisk7 0006a8813cdb233a rootvg active

I think yes,

And if I delete all vgs :
$ lsvg
rootvg
vg_client_mir
vg_client
datavg

I will lost my vio server?

Please confirm.

Kishor

My requirement is to delete all vgs and restructure them with proper space allocation.

Thanks,

Kishor

Your VIO server is installed in rootvg. So don't delete that unless you mean to remove the VIO server.