Unix Technical Forum

Copying a file system over network

This is a discussion on Copying a file system over network within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi, What do I have to do to copy a file system called /dbms from one aix box to ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 08:48 PM
MIKE U
 
Posts: n/a
Default Copying a file system over network

Hi,

What do I have to do to copy a file system called /dbms from one aix box
to another. They both are on a network. They both have each others ip# in
the hosts file as
123.456.78.90 = oldsystem
123.456.78.91 = newsystem

Just not sure what method to use to copy over.

Thanks


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 08:48 PM
MIKE U
 
Posts: n/a
Default Re: Copying a file system over network

actually I am wanting to use "rcp". I have the hostnames set up properly
and they can ping each other.
The local host is included in the remote host /etc/hosts.equiv file. I am
logged in as root on the local host box and issuing the command...

rcp -rp /directory/subdirectory newsystem:/directory/subdirectory

I recieve the error message saying

rshd: 0826-813 Permission is denied.

any ideas??

Thanks


"MIKE U" <lbpipe@nunyabusiness.com> wrote in message
news:cxOrb.5257$sC.3640@newssvr29.news.prodigy.com ...
> Hi,
>
> What do I have to do to copy a file system called /dbms from one aix

box
> to another. They both are on a network. They both have each others ip#

in
> the hosts file as
> 123.456.78.90 = oldsystem
> 123.456.78.91 = newsystem
>
> Just not sure what method to use to copy over.
>
> Thanks
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 08:48 PM
Jason Mather
 
Posts: n/a
Default Re: Copying a file system over network

MIKE U wrote:
> actually I am wanting to use "rcp". I have the hostnames set up properly
> and they can ping each other.
> The local host is included in the remote host /etc/hosts.equiv file. I am
> logged in as root on the local host box and issuing the command...
>
> rcp -rp /directory/subdirectory newsystem:/directory/subdirectory
>
> I recieve the error message saying
>
> rshd: 0826-813 Permission is denied.
>
> any ideas??
>
> Thanks
>
>
> "MIKE U" <lbpipe@nunyabusiness.com> wrote in message
> news:cxOrb.5257$sC.3640@newssvr29.news.prodigy.com ...
>
>>Hi,
>>
>> What do I have to do to copy a file system called /dbms from one aix

> box
>>to another. They both are on a network. They both have each others ip#

> in
>>the hosts file as
>>123.456.78.90 = oldsystem
>>123.456.78.91 = newsystem
>>
>>Just not sure what method to use to copy over.
>>
>>Thanks
>>



If you have ssh installed, then use scp instead of rcp.
If not, then in file

/.rhosts

make sure you have the line

oldsystem root

-- Jason

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-04-2008, 08:48 PM
Steve Nottingham
 
Posts: n/a
Default Re: Copying a file system over network

"MIKE U" <lbpipe@nunyabusiness.com> wrote in message news:<d3Rrb.7836$u57.935@newssvr25.news.prodigy.co m>...
> actually I am wanting to use "rcp". I have the hostnames set up properly
> and they can ping each other.
> The local host is included in the remote host /etc/hosts.equiv file. I am
> logged in as root on the local host box and issuing the command...
>
> rcp -rp /directory/subdirectory newsystem:/directory/subdirectory
>
> I recieve the error message saying
>
> rshd: 0826-813 Permission is denied.
>
> any ideas??
>


man rcp:

The remote host allows access if one of the following conditions is satisfied:

o The local host is included in the remote host /etc/hosts.equiv file and the
remote user is not the root user.
o The local host and user name is included in a $HOME/.rhosts file on the
remote user account.

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com