×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

LPAR disk issue

LPAR disk issue

LPAR disk issue

(OP)
We are real new at anything to do with LPARS. We have a 520 that we are using to learn on. I purchased the CoD activation key and installed that . I was finally able to load the VIO software after deleting the partition that had AIX on it . I created a new partiton but the only way I can see the disk drives so that I can load AIX on that partition is to shut down the VIO server. With the new partition running I can't start the VIO server as the disks don't show up (actually nothing shows up at all when I look for bootable devices) VIO is loaded on hdisk1 and AIX partiton is loaded on hdisk0.

I did create a virtual SCSI adapter in the VIO and ran the command mkvdev -f -vdev hdisk0 -vadapter vhost0 and that completed OK but it doesn't show up as a vdisk that I can boot from when I fire up the AIX partition

Any idea what I am doing wrong
Thanks
Norm

RE: LPAR disk issue

You are doing it wrong.

The disk are part of Controller (few hdisks and a CDROM), you can dedicate the Controller it one System and cannot be seen on multiple server.

Ok,
Here is what you do, bring up the VIO on hdisk0
Create a VG (name it what ever you want - but a relevant name) on hdisk1
# mkvg -s 256 -y <vgname> hdisk1
size of each PP is 256mb, so 1 Gb will have 4 PPs.
Now create a lv on that newly created VG.

# mklv -t jfs2 -y <lvname> <vgname> <no of PP>
Ex: mklv -t jfs2 -y client_rootvg clientvg 120 --> 120=30GB

I assume you know how to create a virtual scsi adapter, create the adapter on client LPAR and VIO.

Once you create the adapters on both (client LPAR and VIO)

run the below on VIO server as padmin
$ lsdev -slots --> this will list you all vhost

$cfgdev --> This will determine the vhost

$mkvdev -vdev <lvname> -vadapter vhostX -dev <backing devicename>
Ex: mkvdev -vdev client_rootvg -vadapter vhost0 -dev rootvg_01

Now check if that is available

$ lsmap -all

Now, you can install the image on the client (LPAR).


Note: You can change the size of lv as per your company standard, but make sure it is not exceeding the total size of VG.

Hope this helps.

SARFARAZ AHMED SYED,
Sr. Systems Engineer

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close