Operating System - Tru64 Unix
1752609 Members
4581 Online
108788 Solutions
New Discussion юеВ

Regarding "_vrestore_tmp.PID" file size.

 
SOLVED
Go to solution
Minoru Asano
Frequent Advisor

Regarding "_vrestore_tmp.PID" file size.

Hello,

I would like to know regarding "_vrestore_tmp.PID" file.

[ENVIRONMENT]
Tru64 UNIX V5.1B BL25
2Gbytes Memory, 4G swap system.

[SITUATION]
He found the temporary file when he execute vrestore command.
The file is "_vrestore_tmp.PID" file at restored directory.
According to him, the file continue to increase and decrease the size.
He afraid that the file system become full due to temporary file.

[QUESTION ]
- Have you ever heard this phenomenon ?
- Could you tell me the max size of "_vrestore_tmp.PID" file ?
The data he attempt to restore is about 20G bytes.
- Is there possibility to generate the temporary file when we using gtar command ?
If so, could you tell me the max size of temporally file ?

Thank you for advice.
Best Regards.
/Minoru.Asano
3 REPLIES 3
Mulgund
Frequent Advisor
Solution

Re: Regarding "_vrestore_tmp.PID" file size.

Hi,

- Have you ever heard this phenomenon ?

Yes, vrestore will create this tmp file and it will be created in the restore dir. The file will eventually be deleted just before the vrestore exits.

- Could you tell me the max size of _vrestore_tmp.PID" file ? The data he attempt to restore is about 20G bytes.

Number of dirs x 512 bytes.
Generally it is suggested to have 10% more space in your restore dir. So pl. ensure you have 22GB free space at least for this restore.

- Is there possibility to generate the temporary file when we using gtar command ?
If so, could you tell me the max size of temporally file ?

I guess tar would create a similar tmp file in /tmp area.

Hope this helps.
-Srinivas
Minoru Asano
Frequent Advisor

Re: Regarding "_vrestore_tmp.PID" file size.

Hello,

Thank you for quick reply and answer.
Can I ask some question again ?

[QUESTION]
- Is there any possibility to change the "_vrestore_tmp.PID" file name ?
For example, the file name was changed during restore data, so on.
If so, what is naming rule ?

- Could you tell the mechanism for function of temporary file more ?

The customer concerned the temporary file size.

Thank you for advice.
Best Regards.
/Minoru.Asano

Mulgund
Frequent Advisor

Re: Regarding "_vrestore_tmp.PID" file size.

[QUESTION]
- Is there any possibility to change the "_vrestore_tmp.PID" file name ?
For example, the file name was changed during restore data, so on.

Rename it but place it on the same mounted fileset.

If so, what is naming rule ?
No rule as such.

- Could you tell the mechanism for function of temporary file more ?

But what is the intent of rename a tmp file?
Are you going low on the diskspace and so you want to mv it to a different mounted fileset?
No. not possible. Since vrestore uses the open file descriptor for this file for the first level scan of the data to be restored. It basically creates a record of 512 bytes for each dir that it encounters in the dump. That is how I said this tmp file size will be (number of dirs in the dump x 512) bytes.

-Srinivas