Operating System - HP-UX
1753730 Members
4870 Online
108799 Solutions
New Discussion юеВ

Re: /sbin/lvchange.run command.

 
Ramesh Velu
Occasional Contributor

/sbin/lvchange.run command.

Any ideas about why this command is required?
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: /sbin/lvchange.run command.

Very good question. I don't have a solid answer but will try to deal it with some logic.

It is very interesting to see that there are no LVM related object files associated with this command - check the what output. Also, it is not even a linked file - ll. Obviously looks like an LVM cmmand but not really.

So, logically, it seems like it is not required to be there. But I may be wrong. I am also eagerly waiting for an expert to comment.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Carsten Krege
Honored Contributor

Re: /sbin/lvchange.run command.

This looks like a valid LVM executable. If you do the following:

# cp /sbin/lvchange.run /tmp/vgdisplay
# /tmp/vgdisplay

you can prove that it works. (Note: All LVM commands are hard links to lvchange and only the command's name decides what is done in the code.). For me it appears as if this binary is meant as an (unpatched) backup copy.
On 11.i the binary has been updated, but also remains unpatched.

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Shahul
Esteemed Contributor

Re: /sbin/lvchange.run command.


Hi

I am not verymuch sure. Anyway I don't think this a valid command. I will give U a suggetion, Please try this. Rename this file and try lvchange command, checkup whether it is working or not. And go to man page of lvchange command and search for lvchange.run.

Best of luck

Shahul
linuxfan
Honored Contributor

Re: /sbin/lvchange.run command.

Hi,

This command seems to be present only in 10.20 machines.

Secondly running the command errors out saying "it is not a valid LVM command"

Thirdly doing a strings on lvchange.run display output similar to lvdisplay, but i am not sure if it is used at all.

-Ramesh

They think they know but don't. At least I know I don't know - Socrates