Operating System - HP-UX
1752587 Members
3950 Online
108788 Solutions
New Discussion юеВ

Re: Virtual Machine (Disk)

 
SOLVED
Go to solution
Eli Daniel
Super Advisor

Virtual Machine (Disk)

good morning, I need your help.
I like 3 vritual host machine, each virtual machine is assigned disks called: HP Virtual LVDisk and HP Virtual Disk
What is the difference between each of them?
These disks are assigned by the Host? They are internal disks the server?
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Virtual Machine (Disk)

Shalom,

With HPVM the guest system does not see the physical disks assigned to the host.

run ioscan -fncdisk to see.

The host system as you guess, presents disks to the virtual system which does not have direct access to the hardware.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Eli Daniel
Super Advisor

Re: Virtual Machine (Disk)

this is the output of ioscan-C disk

ANNEX
Steven E. Protter
Exalted Contributor

Re: Virtual Machine (Disk)

Shalom again,

Very interesting output.

SERVER:/> ioscan -C disk
H/W Path Class Description
================================================
0/0/0/0.0.0 disk HP Virtual LvDisk
0/0/0/0.1.0 disk HP Virtual LvDisk
0/0/0/0.2.0 disk HP Virtual LvDisk
0/0/0/0.5.0 disk HP Virtual Disk
0/0/0/0.6.0 disk HP Virtual Disk
0/0/0/0.7.0 disk HP Virtual Disk
0/0/0/0.8.0 disk HP Virtual LvDisk
0/0/0/0.9.0 disk HP Virtual LvDisk
0/0/4/0.0.0 disk HP Virtual LvDisk
0/0/4/0.1.0 disk HP Virtual LvDisk
0/0/4/0.2.0 disk HP Virtual LvDisk


The difference here appears to be some of the disks are configured with LVM, some not.

They are all vitrutal and should be usable on the system.

insf -C disk (not needed on 11.31 I'm told)
insf -e

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Eli Daniel
Super Advisor

Re: Virtual Machine (Disk)

i not understand the command

annex to information
Robert_Jewell
Honored Contributor

Re: Virtual Machine (Disk)

The insf command will install/re-install the special device files. In regards to the disk drives they would produce the /dev/rdsk/cxtxdx files (for 11iv3 the device files are differently shown as /dev/disk/diskX; but thats a different topic :-) )

Run the command ioscan as follows to show more details on these disk devices:

# ioscan -fnkC disk

-Bob
----------------
Was this helpful? Like this post by giving me a thumbs up below!
Steven E. Protter
Exalted Contributor
Solution

Re: Virtual Machine (Disk)

man insf


The insf command installs special files in the devices directory,
normally /dev. If required, insf creates any subdirectories that are
defined for the resulting special file. Both the legacy and
persistent device special files (see intro(7)) are created, unless
specified.

You can't talk to disk without device files. The commands I gave you improve your chances of actually doing something with the disk.

LVM - Logical volume manager. The disk is managed by LVM and logical disk volumes can be written to it. Versus whole disk, which two of the disks appear to be.

The LVM disks have been initialized with the pvcreate command and are probably already members of a volume group, which is a bunch of disks, theoretically put in a volume group for a common purpose.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Eli Daniel
Super Advisor

Re: Virtual Machine (Disk)

thanks for the info, I will document to better understand this topic