Date: Tue, 13 Feb 2007 12:20:52 -0800 From: David King <dking@ketralnis.com> To: freebsd-questions@freebsd.org Subject: Re: [SOLVED] restore: no memory to extend symbol table Message-ID: <273A8AD2-44D1-46AD-B1BC-2995C0B1A831@ketralnis.com> In-Reply-To: <9B5571FE-BB31-49CE-A5C8-5C27BC6CB5DB@ketralnis.com> References: <9B5571FE-BB31-49CE-A5C8-5C27BC6CB5DB@ketralnis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> When moving from one disk to another, I did a dump of a large > filesystem, like this: > mkdir ~/tmo && cd ~/tmp && dump -0f - /dev/devicenode | split > So now I have 99G in 100 files named xaa through xdv > However, when I try to restore it: > mount /mountpoint && cat ~/tmp/* | (cd /mountpoint && restore -rf -) > after cat spits out 2.18 GB (in the same spot every time), after > restore creates a number of directories (but no files), I get the > error: > no memory to extend symbol table > abort? [yn] I fixed this by adding the following to my kernel config: options MAXDSIZ="(1024*1024*1024)" options MAXSSIZ="(1024*1024*1024)" options DFLDSIZ="(1024*1024*1024)" So it really was running out of memory, probably due to the large, complex directory structures. > I've seen two other posts about similar errors: > <http://groups.google.com/group/fa.freebsd.questions/browse_frm/ > thread/c6fb6245f3f010dc/3b7762d8e1410102?lnk=st&q=%22no+memory+to > +extend+symbol+table%22&rnum=5#3b7762d8e1410102> > <http://groups.google.com/group/info.bsdi.users/browse_frm/thread/ > 4b547bccf96807bb/bb08c14f7aa4a5e6?lnk=st&q=%22no+memory+to+extend > +symbol+table%22&rnum=4#bb08c14f7aa4a5e6> > > I'm sure that I have enough space on /tmp (since I symlinked it to > a directory on a large disk), which is one proposed fix. Another > proposed fix is to allow restore to get more than 512MB of RAM, but > I'm not sure where to set that (since I'm not familiar with vm and > I have no such limit in /etc/login.conf, and can find nothing in > sysctl). It's not a RAM limit, because I have 1GB of RAM and 2.5 GB > of swap. > > The other proposed fix is to use interactive mode and restore less > at a time, but if I do that hardlinks between directories may be > broken and I need to retain those (unless they wouldn't be broken > between successive restores, in which case I can do that). > > Any ideas? > > I'm running 6.2-RELEASE > > -- David > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?273A8AD2-44D1-46AD-B1BC-2995C0B1A831>