View Single Post
  #5  
Old February 1st, 2007
drax's Avatar
drax Offline
Junior Member
 
Join Date: January 2007
Location: Melbourne, Australia
Posts: 26
Unhappy Re: importvg from a collection of virtual scsi disks

Hmm, scary no-man-page command...google...aha. I'm using HDS SAN storage and this looks like an IBM DS400 specific command.

I think I see where your headed though, and it's not going to work...

From what I've seen/read so far presenting storage via a VIO scsi device requires me to present storage as follows:

1. Present storage via SAN as per usual to the VIO partition with physical fibre adapters. Eg 32GB LUN presented and configured as hdisk2

2. Create a volume group on that storage
Eg. vvg00_rootvgs is created on hdisk2

3. Create logical volumes on that storage
Eg vlv0000 is created (32GB in size) in vvg00_rootvgs

4. Map the logical volume for use by your target virtual scsi equipped partition
Eg vlv0000 is mapped to my virtual server rs0023 and becomes hdisk0 on that server.

As you can see, I can only present logical volumes to a virtual server, not entire volume groups. Given the hdisk-ified LV appearing on the server there's no way the contents are any use even if I was crazy enough to try importing my original volume group and mapping bits of it to the server

It looks as if you have two options (after configuring free space as above):
• restore the data into the "hdisks" appearing on the virtual server
• configure a physical fibre adapter to the virtual server, present and importvg as per a "normal" AIX server. Then extendvg to your virtualized space and migratepv your data across. Reducevg and release the phsyical fibre adapter afterwards.

I'm giving option 2 a go just to see if it'll work...

Source: Redbook sg247940, section 4.4
Reply With Quote