Operating System - HP-UX
1819884 Members
2881 Online
109607 Solutions
New Discussion юеВ

pvlist, lvlist, lvmlist, vglist files in /

 
Sean OB_1
Honored Contributor

pvlist, lvlist, lvmlist, vglist files in /

Anyone know what these are:


-rw-rw-rw- 1 root sys 925 Feb 16 15:03 LVMLIST.13828
-rw-rw-rw- 1 root sys 925 Dec 8 10:26 LVMLIST.16976
-rw-r--r-- 1 root sys 925 Feb 15 03:02 LVMLIST.28867
-rw-rw-rw- 1 root sys 232 Feb 16 15:03 lvLIST.13828
-rw-rw-rw- 1 root sys 232 Dec 8 10:26 lvLIST.16976
-rw-r--r-- 1 root sys 232 Feb 15 03:02 lvLIST.28867
-rw-rw-rw- 1 root sys 64 Feb 16 15:03 pvLIST.13828
-rw-rw-rw- 1 root sys 64 Dec 8 10:26 pvLIST.16976
-rw-r--r-- 1 root sys 64 Feb 15 03:02 pvLIST.28867
-rw-rw-rw- 1 root sys 24 Feb 16 15:03 vgLIST.13828
-rw-rw-rw- 1 root sys 24 Dec 8 10:26 vgLIST.16976
-rw-r--r-- 1 root sys 24 Feb 15 03:02 vgLIST.28867


I'm seeing them on several servers.

3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: pvlist, lvlist, lvmlist, vglist files in /

It looks to me like the output of various LVM commands that someone was running at one time. The names vary a bit but the sizes seem to match up. I would guess that someone ran the commands, redirected the output, reviewed it, and then left it there.

After reviewing the contents, I would feel quite safe in deleting them.


Pete

Pete
Sridhar Bhaskarla
Honored Contributor

Re: pvlist, lvlist, lvmlist, vglist files in /

Hi,

Looks like someone created those files. Or it could be a cronjob that is running a script to save the configuration. Look at your 'crontab -l' as root and see if you can find any scripts. Since you are seeing them on several servers, I believe it is possibly a cron script.

I don't think anyone would want to output the files into / filesystem. This may be an error in the script where a variable is not defined. For ex., if it does something like

vgdisplay -v > $OUTPUTDIR/vgLIST.$$

If $OUTPUTDIR was not properly defined before in the script, then the above will resolve to /vgLIST.$$ . $$ is the pid name.

It is a good idea to put 'set -u' in the script so it will exit out with error if the variable is not defined.

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

Re: pvlist, lvlist, lvmlist, vglist files in /

They are exactly what you say, but I have no idea where they are coming from.

Some servers have 10-12 each, others have none.

The only other unix admin say he knows nothing about them.

Time to do some digging. :-)