[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9246.0. "restore core dumps on a 20gig UFS dump 3.2c?" by GIDDAY::SANKAR ("") Thu Mar 20 1997 22:29


A customer has been doing dump of a 20gig raid partition UFS f/s.

They found that restore core dumps as follows



jau501# mt -f /dev/nrmt1h rewind
jau501# pwd
/d2/zz
jau501# ls
users
jau501# rm -r users
jau501# restore -ivf /dev/nrmt1h
Verify tape and initialize maps
Tape block size is 126
Dump   date: Fri Mar 14 09:12:13 1997 EST
Dumped from: Thu Jan 01 10:00:00 1970 EST
Level 0 dump of /d1 on jau501.jorn:/dev/re1b
Label: No label
Extract directories from tape
Initialize symbol table.
restore > ls
.:
      2 *./            15360  common_code/  4301064  users/
      2 *../           4316591  rational/

restore > cd users

restore > add hanson
Segmentation fault (core dumped)

=================================================

there is plenty of swap space and tmp space

The customer is sending the core file for analysis.

Also vdump/vrestore of the file system works well.(workaround)

But dump/restore fails .

Customer would like to access the dumps already done and
would like to see restore working.

What are the things that can be done, which I have missed.

thanks for any info

ss
T.RTitleUserPersonal
Name
DateLines
9246.1DECWET::MARTINFri Mar 21 1997 14:203
Are they trying to restore to UFS or to AdvFS?

You cannot restore a 'dump' to AdvFS.  It just ain't gonna work.
9246.2NABETH::alanDr. File System's Home for Wayward Inodes.Fri Mar 21 1997 14:317
	Why not?  All of the file manipulation that restore does
	should be through the file system interface.  AdvFS can't
	know that it is restore reading a dump format tape, tar
	reading a tar format tape or an ordinary user doing open,
	read, write and close.

	Now, using dump on an AdvFS is a completely different matter...
9246.3DECWET::MARTINFri Mar 21 1997 16:346
OK.  To quote somebody, "I did not know that."

I simply extracted the restriction on "dump" to "restore".  Trust Alan on this
one, folks.  I dunno what I'm talkin' about.  :)

--Ken
9246.4it is an UFS file system.GIDDAY::SANKAR""Sun Mar 23 1997 17:5913

It is an UFS file system.

restore from the tape fails even before the file system is accessed 
( restore -i fails after the   restore>  add xxxx )

This failure is probably resource related and the process core dumps
(only my guess )

thanks for the inputs so far.

ss
9246.5SSDEVO::ROLLOWDr. File System's Home for Wayward Inodes.Mon Mar 24 1997 01:305
	If it is a stack-size limit, try raising the stack limit.  If
	a data size limit, you can change it with sysconfig and reboot.
	If a page/swap space limit, get more.  Memory usage of an
	interactive restore could easily be related to the size of
	dump.
9246.6thanksGIDDAY::SANKAR""Wed Apr 02 1997 02:1610

Thanks for all the suggestions.

I just wanted to make sure I am not missing something obvius and 
waste customer time.

Many thanks again for the replies

ss