Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VIO server, mklv & jfs2

Status
Not open for further replies.

jprabaker

Technical User
May 31, 2001
185
GB
All,

When using the ios mklv command I can't see an option to set the type of logical volume. To create a jfs2 logical volume I have to go into oem_setup_env.

Can someone shed some light on the correct procedure for creating a jfs2 logical drive on ios?

Thanks,
John
 
I don't remember havnig the option to choose between jfs or jfs2 when creating a virtual logical volume in vio server!

I will check and come back to you

regards,
Khalid
 
yeah that's what it says in course manual i attened!

To create a logical volume:

mklv [ -lv NewLogicalVolume | -prefix Prefix ] VolumeGroup Size [PhysicalVolume ... ]

and before that ofcouse to create a vg:

mkvg [ -f ] [ -vg VolumeGroup ] PhysicalVolume ...

To do the mapping you can then use a whole physical volume or just the lv created above!

mkvdev -vdev TargetDevice -vadapter VirutalServerAdapter [ -dev DeviceName ]

for example:

mkvdev -vdev hdiskx -vadapter vhostx

or

mkvdev -vdev lvx -vadapter vhostx

regards,
Khalid
 
It's not an issue as I'm just using oem_setup_env, but that command is "supposed" to only be used for installing storage device drivers....
 
What do you need a jfs2 lv for on a VIOS for? You just need LVs (or complete disks for that matter) to act as backing devices for a VIO client target device.

The type of the LV on the VIOS is irrelevant.


HTH,

p5wizard
 
p5,

I've got 2 internal disks on each VIO server for client rootvgs. These are being split into 15G logical volumes. I suppose I don't need them to be jfs2, I just want them to be!
 
Yes, the LV type is irrelevant:

- create LV with command mklv in the VG containing the disks you have on the VIOSs (could even be spare diskspace in the VIOSs rootvg if you're short on diskspace)
- create target device with mkvdev with hte created LV as backing device.
- client LPAR then 'sees' a virtual SCSI disk with the size as the size of the LV on the VIOS, with the SCSI address as defined for the vtscsi device.


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top