05-24-2017
Do it on a block level if you can.
Use zfs send / receive using netcat (the data stream is not encrypted over network).
It really versatile, poor man enterprise level file system replication, features matching expensive storage arrays.
For local stuff, mirror the pool and use zpool split.
If you are using SVM, mirror, remove from mirror, use the copy.
Using cp/rsync on large number of files is bound to take longer on same hardware.
Alternatively, you can use dd as well if you want entire disks, but it's a one time crude operation and long requires downtime on source.
This User Gave Thanks to Peasant For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
Hi, Fairly new to the Unix worldand was wonderig without using tar and cp is there another way to copy files from one filesystem to a mount point but preserving all data, time stamp etc..
Cheers,
:D (2 Replies)
Discussion started by: Monkey007
2 Replies
2. UNIX for Dummies Questions & Answers
I have an Ingres database logfile that grows constantly, iircp.log. It is always "attached" to the Ingres process that uses it, and I do not want to screw up the data. I have been copying it to another directory and then using vi on the original to reduce the size 34000 lines at a time. What I want... (1 Reply)
Discussion started by: sarge
1 Replies
3. UNIX for Dummies Questions & Answers
Hi all
Is there a way to copy a unix filesystem (folders, subfolder and files) to windows (AD) and at the same time maintaine the unix permission (user/group) when copied to windows (AD) filesystem?
I want the same permission in windows as I had in unix in one copy job.
Is this... (8 Replies)
Discussion started by: tomjen
8 Replies
4. Shell Programming and Scripting
Here we have concern. We have a IBM software installed in a server S1 in the location : /opt/IBM.
In this server S1, we have /opt file system in local disk. We don't have any option to increase the file system there.
We have created a separate /opt/IBM_NEW file system with 10GB in S1 server.... (1 Reply)
Discussion started by: mehimadri
1 Replies
5. Solaris
Hi gurus
I configured raid 5 volume n ive created a filesystem and mounted it to a directory also...everythin is ready..the purpose of doing it is to move my data from an old filesystem pin02 to the newly created filesystem pin02_new...plz tel me the steps to move data without any... (10 Replies)
Discussion started by: madanmeer
10 Replies
6. Hardware
I am having trouble connecting my 4TB G-Raid Hard drive to my Compaq Hp laptop can anyone tell me how or what I need in order to connect the 4T and getting it working. (10 Replies)
Discussion started by: Jake Wolf
10 Replies
7. Solaris
Hi All,
We are not able to grow a UFS filesystem since its size will be going over a TB and it wasn't created using -T with newfs.
Hence we have decided to take the backup of all the files on another filesystem and recreate it using -T with newfs.
Please recommend the most reliable... (2 Replies)
Discussion started by: vishalaswani
2 Replies
8. Shell Programming and Scripting
I need to copy from specified lines and paste the data into several other lines.
XX123450008 xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x
XX123451895 xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x
......
XX123452012 xx.x xx.x xx.x xx.x xx.x xx.x xx.x... (13 Replies)
Discussion started by: ncwxpanther
13 Replies
9. Solaris
I have a query someone may be able to shed some light on...
We have a Solaris 10 OS Sun V490 server Sparc.
I have a SAN attached EMC Clarrion LUN which we have app data stored on.
Pseudo name=emcpower0a
CLARiiON ID=CK200070300470
Due to storage requirements - I need to migrate this... (4 Replies)
Discussion started by: ru4n1
4 Replies
10. UNIX for Advanced & Expert Users
Hi All,
I have dual boot on my laptop - Win8 And linuxMint.
From linuxmint i had copied all my data found on the NTFS partitions (on my laptop) to an
external hard drive (formatted with ext3). i used rsync for this.
Now after my hard disk crashed, am restoring the data back from ext3... (2 Replies)
Discussion started by: coolatt
2 Replies
LEARN ABOUT DEBIAN
debpartial-mirror
DEBPARTIAL-MIRROR(1) General Commands Manual DEBPARTIAL-MIRROR(1)
NAME
debpartial-mirror -- debpartial-mirror is a program to generate partial Debian packages archives mirrors.
SYNOPSIS
apt-get [-hvs] [-o=config string] [-c=file] {update | upgrade | dselect-upgrade | install pkg ... | remove pkg ... | source pkg
... | build-dep pkg ... | check | clean | autoclean }
DESCRIPTION
debpartial-mirror is a command-line tool to generate partial Debian packages archives mirrors. It is designed to work (in particular) in
Custom Debian Distributions framework, as an aid to create customization of debian systems.
Partial mirrors can be generated from different apt repositories (local created or remote ones) and can contain binary as well as sources
packages.
Generated partial mirrors have the structure of standard apt repositories: please referr to APT documentation for explanation about this.
debpartial-mirror uses a configuration file to determine which packages, are to be downloaded and monitored to generate a local partial
mirror. Packages can be specified by regular expressions, by list or by mirrors sections.
Default configuration file is /etc/debpartial-mirror.conf.
debpartial-mirror accept commands in the same way apt-get does, and unless the -h or --help is given, one of the commands below must be
presented.
update update update is used to resynchronize the package index files from specified sources.
upgrade upgrade upgrade is used to dowload selected binary and source packages from specified mirrors. The first time this command is ran
the partial mirror is generated: after this, only newer or updated packages will be downloaded into the mirror.
all all all is used to perform both update and upgrade commands.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-h --help
Show summary of options.
-v --version
Show version of program.
-cCONFIGFILE --configfile=CONFIGFILE
Select the confiruration file.
-s --simulate
Do nothing, only simulate all. Actually it is not implemented
-sf --skip-files
Skip downloading of files. Actually it is not implemented
-sp --skip-packages
Skip downloading of packages. Actually it is not implemented
AUTHOR
This manual page was written by Otavio Salvador (otavio@debian.org). Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
DEBPARTIAL-MIRROR(1)