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

Re: [Sheflug] NFS the hard way



Well, I am not that optimistic this time, but anyway - some ideas...

1) AFAIU, you just need to copy something from your disk somewhere on
another machine. disconnect the drive and reconnect to the other one.
2) Can you boot from a CD? e.g. SuSE live-eval might do the job for you...
3) Run this machine as client, not server - the other one as server. In
this case you might be able to boot, say, from a single-floppy Linux
(e.g. tomsrtbt)...

Some more vague ideas...

Can't remember, is it 'by definition', that in single mode you 'don't have
the network'? And if so - what does it mean in reality. If you were able
to setup the interface, get ping to work... can't remember - does portmap
start ok? In all your configuration files (/etc/exports, etc.) do you have
machines as IPs or as names? Need IPs, I guess - no DNS. So, you get
ifconfig right (copying lines from NAG - just in case):
ifconfig eth0 vstout netmask 255.255.255.0
routing
route add -net 191.72.1.0

..HA! Wait a minute! NFS works over UDP, not TCP... (rpcinfo -p)... How
do you configure that one manually?... or am I speaking nonsense (I mean,
we anyway DEFINETELY need IPs - to be able to talk to server / clients)...

Good Luck
Guennadi

On Fri, 23 Feb 2001, James Wallbank wrote:

> Hi Barry (and everyone else!)
> 
> Yes, I was running in single user mode. Let me tell the story, and 
> you'll see why:
> 
> If I simply boot the server, then I can mount it via NFS no problem. 
> However, I'm trying to clone the whole install. Of course, the server 
> boots into all sorts of active processes, and it's those active 
> processes (which respawn, incidentally, so I can't kill them) that 
> I'm interested in. As you'll realise, it's those active processes 
> which are exactly the things I can't copy from the client (I get a 
> "Permission Denied" message).
> 
> So, I have to boot in such a way that the hda1 is as passive as 
> possible - for example via floppies, or in single user mode.
> 
> However, as you will realise, once I'm in single user mode, or when 
> I've booted from floppies, rpc.nfsd isn't active, so I can't mount 
> the machine over the network, so I can't copy the hard disk!
> 
> Argh!
> 
> Now I've got as far as being able to get eth0 active enough so that I 
> can ping and be pinged, but I still can't make an NFS connection to 
> do the copying.
> 
> Any suggestions? Anyone? How about a boot floppy which gets nfsd up and at 'em?
> 
> Thanks,
> 
> James
> =====
> 
> 
> >Are you running the server in single user mode - no network (init 1)?
> >If so, I don't think you want to do that...
> >
> >Go to init 3 - multiuser with network.
> >
> >Is the network definitely up? Run ifconfig and see what interfaces it
> >returns.
> >
> >James Wallbank writes:
> >  > Hi Guennadi,
> >  >
> >  > Unfortunately, when I try 'rpc.mountd' I get the error message
> >  > "Network is unreachable" i.e. The same error message that I get when
> >  > I try 'rpc.nfsd' or 'nfs start'. I suspect that there's some
> >  > precursor to mountd which I haven't activated, or my ifconfig-ing
> >  > (detailed below) lacks some crucial parameter.
> >  >
> >  > Please keep the suggestions coming - I'm a desperate man!
> >  >
> >  > Cheers,
> >  >
> >  > James
> >  > =====
> >
> >
> >--
> >Barrie J. Bremner
> >
> >email: baz at barriebremner.com | OpenPGP ID: 5164F553
> >
> >http://barriebremner.com/
> >[Contact information available at website]
> >
> >    "Linux? Is that some kind of MacOS?"
> >       -- BT technical support
> >
> >---------------------------------------------------------------------
> >Sheffield Linux User's Group - http://www.sheflug.co.uk
> >To unsubscribe from this list send mail to
> >- <sheflug-request [at] vuw.ac.nz> - with the word
> >  "unsubscribe" in the body of the message.
> >
> >   GNU the choice of a complete generation.
> 
> -- 
> who: James Wallbank
> org: Redundant Technology Initiative
> tel: +44 114 2495522
> fax: +44 114 2495533
> eml: rti [at] lowtech.org
> web: www.lowtech.org
> loc: Access Space
>       1 Sidney Street
>       Sheffield
>       S1 4RG
>       UK
> ---------------------------------------------------------------------
> Sheffield Linux User's Group - http://www.sheflug.co.uk
> To unsubscribe from this list send mail to
> - <sheflug-request [at] vuw.ac.nz> - with the word 
>  "unsubscribe" in the body of the message. 
> 
>   GNU the choice of a complete generation.
> 
> 
> 

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.