Operating System - HP-UX
1752590 Members
2664 Online
108788 Solutions
New Discussion юеВ

Problem with generate medialif

 
SOLVED
Go to solution
Alberto Hurtado
Frequent Advisor

Problem with generate medialif

when iam trying to generate the medialif with make_medialif -a -r B.11.23 -f /opt/ignite/data/Rel_B.11.23/config -f /var/tmp/image/B.11.23archives.cfg -l /var/tmp/image/B.11.23.lifimage this failed with the follow message :
tar: usage tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...
make_medialif: ERROR: Cannot tar and gzip script files; possibly insufficient disk space in /var/tmp/make_medialif21977.

I am sure onle replace the file B.11.23.archives.cfg only with the estrict f.s. impacts = "/" 6902Kb
impacts = "/dev" 18Kb
impacts = "/etc" 143073Kb
impacts = "/home" 119513Kb
impacts = "/opt" 3283254Kb
impacts = "/sbin" 128727Kb
impacts = "/stand" 42188Kb
impacts = "/usr" 2521834Kb
impacts = "/var" 2192327Kb


Someone could helpme.
3 REPLIES 3
Christian Tremblay
Trusted Contributor

Re: Problem with generate medialif

It looks that you don't have enough free space in /var/tmp

impacts = "/var" 2192327Kb

You need at least 2192327Kb free there
and gzip needs some working space too on top of that.

Check if you have enough space in /var/tmp

Chris
Prashanth.D.S
Honored Contributor
Solution

Re: Problem with generate medialif

Hi Alberto,

I faced a same issue sometime bck, where in issue was due to a "-" directory in /, removing the same had resolved the issue.

Check if you have if any such directories in you case, if so move it or rename it. That should solve your issue.

Best Regards,
Prashanth
Alberto Hurtado
Frequent Advisor

Re: Problem with generate medialif

Yes, in fact the problem was a directory or mount point in root dir as " - "

When i delete this dir the command was successfully.

Thanks a Lot.