Sponsored Content
Full Discussion: Copy huge files system
Operating Systems AIX Copy huge files system Post 302510955 by bakunin on Tuesday 5th of April 2011 11:10:09 AM
Old 04-05-2011
Quote:
Originally Posted by Mr.AIX
I'm talking about dd command, can you please explain about dd command
Quite frankly, i don't understand your obsession with "dd", given that you have been offered several good alternatives. You will not gain anything by using "dd", not speed, not ease of use and definitely not safety. To me that starts to sound like homework.

Here is your solution, use at your own risk, i haven't tested it.

First find out the devices which are mounted at the respective mountpoints with the "mount" command, then use these devices as infile and outfile of "dd".

Example: copy "/ap101" to "/ap102".

Code:
# mount
  node       mounted        mounted over    vfs       date        options      
-------- ---------------  ---------------  ------ ------------ --------------- 
<...SNIP...>
         /dev/lvap101     /ap101           jfs2   Nov 29 11:33 rw,log=/dev/logapdev1vg
         /dev/lvap102     /ap102           jfs2   Nov 29 11:33 rw,nodev,nosuid,log=/dev/logapdev1vg
<...SNIP...>

# dd if=/dev/lvap101 of=/dev/lvap102 bs=512

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference between two huge files

Hi, As per my requirement, I need to take difference between two big files(around 6.5 GB) and get the difference to a output file without any line numbers or '<' or '>' in front of each new line. As DIFF command wont work for big files, i tried to use BDIFF instead. I am getting incorrect... (13 Replies)
Discussion started by: pyaranoid
13 Replies

2. UNIX for Advanced & Expert Users

Huge files manipulation

Hi , i need a fast way to delete duplicates entrys from very huge files ( >2 Gbs ) , these files are in plain text. I tried all the usual methods ( awk / sort /uniq / sed /grep .. ) but it always ended with the same result (memory core dump) In using HP-UX large servers. Any advice will... (8 Replies)
Discussion started by: Klashxx
8 Replies

3. UNIX for Dummies Questions & Answers

copy and paste certain many lines of huge file in linux

Dear All, I am working with windoes OS but remote a linux machine. I wonder the way to copy an paste some part of a huge file in linux machine. the contain of file like as follow: ... dump annealling all custom 10 anneal_*.dat id type x y z q timestep 0.02 run 200000 Memory... (2 Replies)
Discussion started by: ariesto
2 Replies

4. Shell Programming and Scripting

Compare 2 folders to find several missing files among huge amounts of files.

Hi, all: I've got two folders, say, "folder1" and "folder2". Under each, there are thousands of files. It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command. However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies

5. UNIX for Dummies Questions & Answers

Copy huge data into vi editor

Hi All, HP-UX dev4 B.11.11 U 9000/800 3251073457 I need to copy huge data from windows text file to vi editor. when I tried copy huge data, the format of data is not preserverd and appered to scatterd through the vi, something like give below. Please let me know, how can I correct this? ... (18 Replies)
Discussion started by: alok.behria
18 Replies

6. Shell Programming and Scripting

Copy files with pattern from ext4 to cifs file system

Hi I have a shell script to copy a pattern of files from Linux to Windows Filesystem. When i execute the below command cp -av TOUT_05-02-13* Windows/Folder `TOUT_05-02-13-19:02:37.tar.gz' -> `Windows/Folder/SYSOUT_05-02-13-19:02:37.tar.gz' cp: cannot create regular file... (5 Replies)
Discussion started by: rakeshkumar
5 Replies

7. Shell Programming and Scripting

Aggregation of Huge files

Hi Friends !! I am facing a hash total issue while performing over a set of files of huge volume: Command used: tail -n +2 <File_Name> |nawk -F"|" -v '%.2f' qq='"' '{gsub(qq,"");sa+=($156<0)?-$156:$156}END{print sa}' OFMT='%.5f' Pipe delimited file and 156 column is for hash totalling.... (14 Replies)
Discussion started by: Ravichander
14 Replies

8. Solaris

The Fastest for copy huge data

Dear Experts, I would like to know what's the best method for copy data around 3 mio (spread in a hundred folders, size each file around 1kb) between 2 servers? I already tried using Rsync and tar command. But using these command is too long. Please advice. Thanks Edy (11 Replies)
Discussion started by: edydsuranta
11 Replies

9. Solaris

Backup for NAS huge File system

Gents, I have NAS File System mounted in Solaris as \Sysapp with size 8 TB the problem once the backup stared it is impacting the performance of the OS. Do you have any idea how to can we backup this FS with fast scenario without impacting the OS. Backup type : Netbackup (3 Replies)
Discussion started by: AbuAliiiiiiiiii
3 Replies

10. Solaris

Split huge File System

Gents I have huge NAS File System as /sys with size 10 TB and I want to Split each 1TB in spirit File System to be mounted in the server. How to can I do that without changing anything in the source. Please your support. (1 Reply)
Discussion started by: AbuAliiiiiiiiii
1 Replies
AUDIOCFG(1)						    BSD General Commands Manual 					       AUDIOCFG(1)

NAME
audiocfg -- configure default audio device SYNOPSIS
audiocfg list audiocfg default index audiocfg test index DESCRIPTION
The audiocfg utility helps maintaining the audio and mixer device symlinks. Run with ``list'', it lists the available audio devices and shows the currently selected default audio device. Called with ``test'', it plays a tone of 2 seconds for each channel of the device with the index index. Called with ``default'', it sets the default audio device to the one with the index index. audiocfg needs access to /dev/drvctl and write access to /dev (when used with ``default'') to work. FILES
/dev/audio Symlink to default audio device. /dev/audio[0-9]* Available audio devices. /dev/audioctl Symlink to default audio control device. /dev/audioctl[0-9]* Available audio control devices. /dev/drvctl Used for finding the corresponding audio driver to an audio device. /dev/mixer Symlink to default mixer device. /dev/mixer[0-9]* Available mixer devices. /dev/sound Symlink to default audio device (for the difference to /dev/audio, see audio(4)). /dev/sound[0-9]* Available audio devices. SEE ALSO
audioplay(1), audiorecord(1), audio(4), drvctl(8) BSD
September 1, 2010 BSD
All times are GMT -4. The time now is 11:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy