Sponsored Content
Top Forums Shell Programming and Scripting UNIX file system to Linux file system migration Post 302805821 by jlliagre on Saturday 11th of May 2013 10:56:30 AM
Old 05-11-2013
It would help if you tell what file systems are used on the source and destination machines, what Unix OS is used, and what method you plan to use to perform the copy.

In any case, "du" is the wrong tool to check the proper copy.

If you really want to make sure all the files are copied without any corruption, create a hash/checksum of every file on the source side and use it to check it is correct on the destination one for each file.

You would also need to make sure all (empty) directories are created and possibly decide what to do with files taht are neither plain files nor directories.

Finally, you might also want to check the permissions, owner/group, extended attributes and ACLs if any.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I send a file as an attachment (gzip file) on a Unix system

Hi, How do I send a file as an attachment (gzip file) on a Unix system ? Using sendmail. Please help me. :confused: (3 Replies)
Discussion started by: lacca
3 Replies

2. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies

3. Programming

compare XML/flat file with UNIX file system structure

Before i start doing something, I wanted to know whether the approach to compare XML file with UNIX file system structure. I have a pre-configured file(contains a list of paths to executables) and i need to check against the UNIX directory structure. what are the various approches should i use ? I... (6 Replies)
Discussion started by: shafi2all
6 Replies

4. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

5. Programming

Linux file system insight

I have a basic knowledge of the various structures like file, dentry, inode, superblocks of linux virtual file systems. I want to get a more deep insight as to how these structures are utilized in reality. I mean I want to get an understanding of how and where these structure come up in picture... (4 Replies)
Discussion started by: rupeshkp728
4 Replies

6. Infrastructure Monitoring

Nagios: How to read the Linux system file?

hi 2 all i installed nagios in my linux srvr . check_ftp file is in format of system format . i wants to see the syntax for that script how can i read that file .. ??? please help me ! (4 Replies)
Discussion started by: ponmuthu
4 Replies

7. Shell Programming and Scripting

File name on linux system

Hi, One of the customer wants to receive the file with name //CEC821.K003GUK.DOMD(+1) on their linux system. I am using Java application to send the file to remote system, but I am not able to send the file with that name ane even i am not able to create the file with that name on linux system. ... (6 Replies)
Discussion started by: Satyak
6 Replies

8. HP-UX

how to mount a file system from a solaris server into an hp-ux system

Hi all I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge. The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data. Any help will be appreciated FR (2 Replies)
Discussion started by: fretagi
2 Replies
ipsec_migrate(1M)														 ipsec_migrate(1M)

NAME
ipsec_migrate - HP-UX IPSec configuration file migration tool SYNOPSIS
DESCRIPTION
is a utility for migrating HP-UX IPSec configuration files to the current version. The utility stores backup copies of the following files in the directory before converting them: If the certificate data files and exist on the system, prompts for the HP-UX IPSec password and uses the password to decrypt the certifi- cate data files. The utility then converts and stores the certificate data in new files under the directory. requires the optional HP-UX IPSec software. Migrating HP-UX IPSec version A.02.01 to version A.03.00 The utility performs the following tasks when migrating configuration data from HP-UX IPSec version A.02.01 to version A.03.00: o Converts policies to policy objects. The utility ignores the IKE authentication value in policies. IKEv1 policies do not include a value for the IKE authentica- tion method. The IKE authentication method is specified in authentication records using the and arguments. The converts the value to a value for perfect forward secrecy IKEv1 policies do not include a value for maximum quick modes. If the value is 1, creates an policy with If the value is greater than 1, creates an IKEv1 policy with Note: Do not enable IKEv1 PFS with a system using an HP-UX IPSec release prior to A.03.00. The converts values in the hash field to IKE DES encryption is obsolete. o Adds a priority value to authentication records. The utility sorts existing authentication records using the address prefix length (longest to shortest). The migration utility sets the priority for the first record to the value of the priority parameter value in the AuthPolicy-Defaults section of the HP-UX IPSec profile file; the default priority value is 10. The utility increments the priority value for each subsequent record by the priority value. o Replaces DES transforms and nested transforms in host and tunnel policies with the default actions in the file. For host poli- cies, the default action is For tunnel policies, the default action is the transform. o If the and files exist, the extracts and converts the private key, local certificate, and CA certificate from these files and stores them in new files under the directory. o If the file exists, creates a softlink to the file. The file is a script that retrieves the CRL from an LDAP directory and can be executed from a cron job. RETURN VALUE
Upon successful completion, returns 0; otherwise it returns 1. ERRORS
fails if any of the following conditions is encountered: o Command used incorrectly - Usage message is returned. o The user is not the superuser. o The file specified in the option does not exist. o The file specified in the option is not a regular file. o The file specified in the option is not readable. o The file specified in the option is not an valid configuration file. o The file specified in the option exists. o The file is missing or corrupted. o Based on the information in cannot build a valid set of transformations to transform the file specified in the option to the file specified in the option. WARNINGS
requires the optional HP-UX IPSec software. AUTHOR
was developed by HP. FILES
SEE ALSO ipsec_config(1M), ipsec_config_add(1M), ipsec_config_batch(1M), ipsec_config_delete(1M), ipsec_config_export(1M), ipsec_con- fig_show(1M), ipsec_policy(1M), ipsec_report(1M). HP-UX IPSec Software Required ipsec_migrate(1M)
All times are GMT -4. The time now is 03:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy