Operating System - HP-UX
1831698 Members
2165 Online
110029 Solutions
New Discussion

HPUX LVM process name in ps list

 
SOLVED
Go to solution
Fay_1
Contributor

HPUX LVM process name in ps list

I am trying to find out whether LVM is installed on a HPUX machine. But doing a swlist|grep -i lvm takes almost two minutes, so I am trying to use ps -ef to see if LVM is running. I saw some processes name lvmkd but I am not sure if seeing that means lvm is running so I can do pvdisplay etc and get valid result.
Thanks!
4 REPLIES 4
Uday_S_Ankolekar
Honored Contributor

Re: HPUX LVM process name in ps list

Hi,
pvdisplay or lvdisplay or vgdisplay gives you proper result then lvm is there in your server, And it's default product.

swlist grep -i lvm should show you some lvm patch list if it's there.

Good Luck..
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: HPUX LVM process name in ps list

Hi:

If you are running HP-UX 10.x or up, you have LVM and it is integral to the OS so that swlist will display nothing. Do an vgdisplay -v /dev/vg00; it that works, LVM is there and working.
If it ain't broke, I can fix that.
S.K. Chan
Honored Contributor

Re: HPUX LVM process name in ps list

First the command to check LVM fileset should be ..
# swlist -l fileset|grep -i lvm

The lvmkd are daemon processes that kindda manages the LVM request queue and yes if it's running you got LVM on your system. Try running ..

# vgdisplay -v

to find out if you got and VGs defined.
Patrick Wallek
Honored Contributor

Re: HPUX LVM process name in ps list

If you have HP-UX 10.20 or higher, then you almost certainly have HP-UX installed on your machine. Starting with 10.20, the default layout for disks uses LVM.

If you do a 'bdf' and you see stuff like /dev/vg00/lvol1 and other similar things, then you are using LVM.

Now if you are looking to see if you have the Advance JFS (also known as Online JFS) installed, then the swlist method is by far the easiest.