1748266 Members
3147 Online
108760 Solutions
New Discussion

Re: /dev/vgoo

 
Chandrahasa s
Valued Contributor

Re: /dev/vgoo

Hi,

You can extract files from ignite image and copy to /dev/vg00 path.

Chandra
Chandrahasa s
Valued Contributor

Re: /dev/vgoo

Hi,
Procedure for recovering files from ignite is.

extract a file from an Ignite image
Tue, 01/01/2008 - 18:46 â liquid
Assume I have an archive:
$ archive=/var/opt/ignite/archives/iux11i32bit.gz

And I want to extract this file from it:
$ NameNarc=opt/hpws/util/ports.sh

I check to be sure the file is in the archive:
$ gzcat iux11i32bit.gz | tar -tvf - | grep ${NameNarc}
r-xr-xr-x 2/2 8094 Oct 9 16:56 2004 opt/hpws/util/ports.sh

I want to extract the file into a temporary location and with a different name:
$ NameNtmp=/tmp/dog.sh

So I use the following command:
$ gzcat ${archive} | pax -s,${NameNarc},${NameNtmp}, -rvf - ${NameNarc}
USTAR format archive
/tmp/dog.sh

AI have my original file from the archive in a new location, with a new name:
$ ls -aol ${NameNtmp}
-r-xr-xr-x 1 jpkole 8094 Oct 9 2004 /tmp/dog.sh
=========================================================


to extract any ignite use below coomand, it will extract complete image with its file structure
gzcat 2010-07-01,02:30| tar -xvf -

Chandra
DAVID99_1
Advisor

Re: /dev/vgoo

thanks chandra.
DAVID99_1
Advisor

Re: /dev/vgoo

hi chandrahas i got a brief idea on this thanks to David i think it must helps you