[SLE] from hpux to suse - user account
Hi all, I have a linux directory exported and mounted on hpux box. In hpux box I copied the entire directory tree to <linux-exported> directory by using the command below: <hpux directory> # find . | cpio -pcvxdm /linuxnfs I have error message saying that "chown /directoryA/sub_dir error ". Obviously, "cpio" couldn't preserve the owner and its permission in /linuxnfs, because those group account and their users haven't existed in linux box. If I create the similar group and users account, am I able to preserve the originality of the data - is very important to the machine that uses it. Any suggestions ? Thanks in advance. Rgds, Nixien -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi all, Has anyone had similar enconters like me. Or you might have some comments ;-). I moved one step forward by creating similar user and it group in linux box. And then applied the similar command -cpio - in hpux. still having the same old problem. Appreciate any comments and pointers. Rgds, Nixien -----Original Message----- From: nixien [mailto:nixien@pd.jaring.my] Sent: Saturday, January 08, 2000 8:54 PM To: suse-linux-e@suse.com Subject: from hpux to suse - user account Hi all, I have a linux directory exported and mounted on hpux box. In hpux box I copied the entire directory tree to <linux-exported> directory by using the command below: <hpux directory> # find . | cpio -pcvxdm /linuxnfs I have error message saying that "chown /directoryA/sub_dir error[1] ". Obviously, "cpio" couldn't preserve the owner and its permission in /linuxnfs, because those group account and their users haven't existed in linux box. If I create the similar group and users account, am I able to preserve the originality of the data - is very important to the machine that uses it. Any suggestions ? Thanks in advance. Rgds, Nixien -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
nixien wrote:
Hi all,
I have a linux directory exported and mounted on hpux box. In hpux box I copied the entire directory tree to <linux-exported> directory by using the command below:
<hpux directory> # find . | cpio -pcvxdm /linuxnfs I have error message saying that "chown /directoryA/sub_dir error ". Obviously, "cpio" couldn't preserve the owner and its permission in /linuxnfs, because those group account and their users haven't existed in linux box. If I create the similar group and users account, am I able to preserve the originality of the data - is very important to the machine that uses it.
Any suggestions ?
I would guess that the problem is that root isn't root but nobody where NFS is concerned, you need to add no_root_squash to your exporting. Personally I prefer rdist or rsync, these use text user and group id'd so you aren't quite so constrained as with cpio, just remember to add the hpux machine to your root .rhosts. /Michael -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-----Original Message----- From: Michael.Salmon@uab.ericsson.se [mailto:Michael.Salmon@uab.ericsson.se] Sent: Sunday, January 09, 2000 5:09 PM To: suse-linux-e@suse.com Subject: Re: [SLE] from hpux to suse - user account nixien wrote:
Hi all,
I have a linux directory exported and mounted on hpux box. In hpux box I copied the entire directory tree to <linux-exported> directory by using
command below:
<hpux directory> # find . | cpio -pcvxdm /linuxnfs I have error message saying that "chown /directoryA/sub_dir error ". Obviously, "cpio" couldn't preserve the owner and its permission in /linuxnfs, because those group account and their users haven't existed in linux box. If I create the similar group and users account, am I able to preserve the originality of the data - is very important to the machine
the that
uses it.
Any suggestions ?
I would guess that the problem is that root isn't root but nobody where NFS is concerned, you need to add no_root_squash to your exporting. Personally I prefer rdist or rsync, these use text user and group id'd so you aren't quite so constrained as with cpio, just remember to add the hpux machine to your root .rhosts. /Michael -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ Hi Michael, Thanks for your reply. I went through rdist man page several times, unfortunately still can't figure out what it tries to explain. Also attempted several rdist commands ,failed too. what actually a distfile is ? or perhaps you could provide few sample commands on copying from one directory to another. Thanks in advance. Rgds, Nixien -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
nixien wrote:
-----Original Message----- From: Michael.Salmon@uab.ericsson.se [mailto:Michael.Salmon@uab.ericsson.se] Sent: Sunday, January 09, 2000 5:09 PM To: suse-linux-e@suse.com Subject: Re: [SLE] from hpux to suse - user account
nixien wrote:
Hi all,
I have a linux directory exported and mounted on hpux box. In hpux box I copied the entire directory tree to <linux-exported> directory by using
command below:
<hpux directory> # find . | cpio -pcvxdm /linuxnfs I have error message saying that "chown /directoryA/sub_dir error ". Obviously, "cpio" couldn't preserve the owner and its permission in /linuxnfs, because those group account and their users haven't existed in linux box. If I create the similar group and users account, am I able to preserve the originality of the data - is very important to the machine
the that
uses it.
Any suggestions ?
I would guess that the problem is that root isn't root but nobody where NFS is concerned, you need to add no_root_squash to your exporting. Personally I prefer rdist or rsync, these use text user and group id'd so you aren't quite so constrained as with cpio, just remember to add the hpux machine to your root .rhosts.
[...]
Hi Michael,
Thanks for your reply.
I went through rdist man page several times, unfortunately still can't figure out what it tries to explain. Also attempted several rdist commands ,failed too. what actually a distfile is ? or perhaps you could provide few sample commands on copying from one directory to another.
rdist requires a file called Distfile in the current directory or specified with -f that specifies the distribution that should take place. With rsync you specify it all on the command line though I find rsync's definitions a bit strange I presume that it's just lack of practice. A typical distfile: /source/directory -> dest.host install; This will copy everything in /source/directory to dest.host using the same directory, user and group names. If you want to change the destination directory add the new directory to the install command. You can also remove unwanted files with -R and not overwrite younger files with -y. A typical distfile that changes directory names and removes files as well looks like: /source/directory -> dest.host install -R /dest/directory; You can do much more than this of course but it probably covers 90% of cases. The man page is hard to read but it is worth persevering with. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
Michael.Salmon@uab.ericsson.se
-
nixien@pd.jaring.my