[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar on nfs freezes



Dimitri Maziuk wrote:
> 
> * Joerg Johannes (liste_joerg@gmx.de) spake thusly:
> > Hello list
> >
> > My friend just bought a new HD, and wanted to throw out the old one. So
> > what we did was
> > - mount an nfs directory from my server (/nfsroot)
> > - tar cplf - /root | (cd /nfsroot && tar xpf)
> > - threw the HD out
> > - started rescue system, partitioned, made filesystems
> > - mounted /nfsroot and /newroot (on the new HD)
> > - tar cplf - /nfsroot | (cd /newroot && tar xpf)
> > during the last step, his machine freezes (it's SuSE and SuSE kernel
> > with reiserfs), mine, the server, does not
> >
> > So, why could that be? (jumpers on the hd are all ok, one partition is a
> > windows one, and windows works, too)
> 
> Which last step: tar -c, cd or tar -x? Can he read from /nfsroot?
> Can he write to /newroot? Was it really "tar xpf" or was it "tar xpf -" (hint)?
> 
> Dima

Oh, sorry, it was "xpf -". The freeze appeared after about 1 GB has been
copied.
We worked around it: cp -a does the same job and does not freeze. (I
found it in "Linux in a nutshell". The tar way was suggested by the
german Linux-Magazin. that worked for me on local-only filesystems)

thanks

joerg



Reply to: