Software :: How To Copy Drive Using Dd And Tee Command Parallely?
Feb 10, 2010
i want to copy one harddisk to one or more harddsik simultaneously. i found from forum to use dd with tee command.it copy all the files from the source sda to sdb,sdc,sdd. But it take the source file from sda and copied first on sdb then sdc then sdd on squential manner. After it copied the first file, it takes the second file to copy to all drives.But i want to copy the file parallely all the drive simultaneously. i come to know tee is the squential file copying utility. Any body know about the parallel copy to all drive simultaneously.
View 1 Replies
ADVERTISEMENT
May 4, 2011
Ubuntu is getting stuck at the loading screen after an aborted attempt to upgrade to 11.04. It's my own fault - the install was running out of room on /, and I, like an idiot, decided to delete some package files under /var/something/archive, thinking they were "old"... I quickly realized they were in fact the new packages being installed... anyway after killing the thing and rebooting it is pretty damn broken (mostly because I can't get networking going so running in dpkg repair mode doesn't do much because, well, I deleted the packages).
I want to copy all the files off my /home and other meaningful partitions onto an external drive so I can just do a clean install. I can actually login to the command line under recovery mode, but I can't get the GUI started. I know it's possible to copy the contents of the partitions to an external
View 9 Replies
View Related
Jul 7, 2011
I have used various distro's but so far the interaction was always with standalone workstation, max few machines/servers.I was thinking of a scenario, where say - Linux has to be installed on 20 servers with similar packages and configuration, what would be the best solution to tackle such scenario....
View 4 Replies
View Related
Mar 1, 2011
How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).
More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.
View 1 Replies
View Related
Dec 4, 2009
i want copy files in ftfs drive to ext3 drive. how am I do this?
View 2 Replies
View Related
Mar 22, 2010
I have a 120 gig drive that I'd like to clone before it fails completely. I was thinking I'd pull the drive from the server and build a separate machine that has it's own os installed and the source and destination drive. Does anyone know of any linux tools will will do a full drive copy? Additionally, If possible, I'd like to move to a larger drive. how I'd migrate the 120 drive to a 400 or so? 1 idea I have is to install os on 2 new drives to where it they will boot, Then boot with one and copy source to the newly created destination drive.
View 6 Replies
View Related
Jan 17, 2010
I need to copy the contents of one drive to another new drive.I mean EVERYTHING on it including the OS itself. I am thinking Clonezilla at the moment.
View 9 Replies
View Related
Feb 27, 2010
I want to copy a file from my D-drive to E-drive through terminal.How can I do it?Do I've to mount the drives first?
View 1 Replies
View Related
Apr 10, 2015
Consider two directories, a and b. b has stuff in it, includling sub-directories and files that begin with ".". For the sake of making this post clear, there is a file named "1" in b. My goal is to copy all of b into a, such that a "diff --brief --recursive a b" indicates that a and b's contents are identical. a is empty.
Code: Select allcp -pr b a
The above copies b (and all contents) to a/, so that b/1 is copied to a/b/1. Our goal is to have a/1, not a/b/1.
Code: Select allcp -pr b a/
The above does the same as "cp -pr b a".
Code: Select allcp -pr b/ a
The above does the same as "cp -pr b a". Unexpected.
Code: Select allcp -pr b/ a/
The above does the same as "cp -pr b a".
Let's try something different, in a different way:
Code: Select allcp -pr b/* a
The above copies inside of b to inside of a, such that a file a/1 gets copied as b/1.
Good: this is the goal.
Problem: it skips hidden (starts with a dot) files.How can one copy the entire contents of a given directory ("b" in my examples) into a second directory ("a" in my examples) in such a way that everything in b is copied to a, but that another b directory is not made inside a, and such that all hidden (starts with a dot) files are copied in?
View 2 Replies
View Related
Jul 25, 2010
For example, if I type ':pwd' to get the current working directory, I can select the text in gvim but I can't figure out how to copy it to the clipboard. If I try the same in console vim, I can't even select it with the mouse. I would like this to work with all vim commands, such as set guifont to copy the guifont=Consolas:h10:cANSI output.
View 4 Replies
View Related
Apr 6, 2011
I am getting a SSD and I'd like it to become my new Linux boot drive. However, it is smaller than my current hard drive's root Linux partition, so I'd like to copy over the filesystem and exclude some directories (which I'll leave on another hard drive). So I can't just clone the partition with parted or similar because it is too big.
I want to make sure all the data, metadata, links and such are preserved. That seems to exclude "cp" because it doesn't preserve all the metadata and link information.
The two basic techniques I've been able to identify seem to be something like:
find / -xdev -print0 | cpio -pa0V /mnt/dst
and:
rsync -avP -H -S --numeric-ids / /mnt/dst
Can anyone chime in with what they've used in the past, whether one of these or a different method, or if they see any flaws in these approaches.
View 2 Replies
View Related
Aug 25, 2010
Im pretty sure there is a utility that copies byte for byte for linux that i could use to copy an image of a usb and later write it to another.
View 1 Replies
View Related
Dec 2, 2010
I installed Debian squeeze to 40Gig pata hdd on my AMD 1090T desktop, with1Tb sata hdd.
Now that I'm quite comfortable with dual-booting, I'd like to transfer 40Gig Hd(sdb) to sda3. I viewed this thread, which is similar to my situation, but not quite the formula.
[URL]
I intend on reading more on this 1 to see if what I'm looking for is include.
[URL]
I've never done the dd command, so it's not like I'm going to do it today, but would like a little bit more documentation to get a further understanding of the dd command.
View 14 Replies
View Related
Mar 19, 2010
Trying to copy ISO images over to a external hard drive, when copying it reaches 4GB then stops.I have tried the same with a external usb thumb drive as well and the same thing happens so it is not the external drives running out of space. The error reads.Error Writing to file is to large.
View 9 Replies
View Related
Mar 4, 2010
I have to transport a lot of files from one pc to another (both Linux). I would like to use scp for that, but scp only allows for transferring one file at a time. How can I do this?
I have No possibility to use rsync or any other protocol No possibility to use passphrase free certificates (but have a certificate with a passphrase) A list of files to transfer and a list with the destination path of the files on the other server The files are spread out over a lot of directories, and not all the files in the directories I want to copy If possible I would like to gzip and ungzip transparently to save bandwidth!
View 3 Replies
View Related
Jul 20, 2010
i use linux ubuntu..i try to copy db and type some mysqldump command..but at terminal show: The program 'mysqldump' can be found in the following packages:
* mysql-client-5.0
* mysql-client-5.1
Try: sudo apt-get install <selected package> bash: mysqldump: command not found
how to get mysqldump for my pc? i've tried to follow the instruction,but show like below:
Err http://ubuntu-ashisuto.ubuntulinux.jp jaunty/main libnet-daemon-perl 0.43-1 Could not connect to ubuntu-ashisuto.ubuntulinux.jp:80 (122.216.218.146), connection timed out
View 3 Replies
View Related
Aug 18, 2010
I would like copy a backup file from image vmware linux to windows but i don't know how to process it ?i tried :scp /source/backup.tar.gz admin@x.x.x.x:/c:ProgrammefilesC:Documentsand SettingsAdminMyDocumentsbut error and i know that it's not like that, so if you have solutions
View 2 Replies
View Related
Dec 14, 2010
I'm looking for a way to copy files with a certain file extension over to another folder. For exampleSource Folder: /home/user/downloadsFile Type: *.epubDestination Folder: /home/user/epubs/The downloads folder has several folders that may go as deep as 2 or 3 levels.I tried this but it didn't seem to work (and I'm not really sure what to do to modify it to get it to work).Quote:find . -maxdepth 1 -type f -exec grep -q "pattern" '{}' ';' -exec cp '{}' /path/to/destination
View 4 Replies
View Related
Jun 6, 2011
I started to copy a directory using Nautilus. I dragged and dropped a directory from my hosted server to my home drive. It got hung up, and wouldn't download. I clicked the red "stop operation" button, but I have a lingering icon in my upper panel saying that I still have file operations going on, even though it has supposedly stopped. How do I determine from the command line what this process is named and how do I kill it to remove the icon
View 4 Replies
View Related
Jan 20, 2010
Imaging-copying a working remote share on WindowsNT to a local Linux disk target is needed .
Is that possible with dd command(how if remote share is connected as smb://ipnumber/share) and do you need root privilleges on local and remote machine for that?Perhapson source machine:dd if=/dev/hda bs=16065b | netcat targethost-IP 1234on target machine:netcat -l -p 1234of=/dev/hdc bs=16065borrsh 192.168.xx.yy "dd if=/dev/sda ibs=4096 onv=notrunc,noerror" | dd of=/dev/sda obs=4096(any difference to dd/privilleges if you use it as windows dd version since remote is running windowsNT)?
View 1 Replies
View Related
Feb 25, 2010
I want to find files of a particular tyepe and particular date to be copied into a seperate folder.How do i do achieve this in a single line using the find and copy command.
View 8 Replies
View Related
Sep 18, 2010
Tried this, but there's no such a command in Arch.And this also doesn't work:Code:find ~ | grep -i pidgin | xclipboard Error: another clipboard is already running
View 5 Replies
View Related
Jul 21, 2010
I have a copy of Linux file system in /home/user/desktop/fs/how tp copy it to a usb drive preserving the links
View 2 Replies
View Related
Aug 15, 2011
I would like to understand the following:
I have a Debian installation CD that I can boot from. Now I copied that to an USB-stick using dd
dd if=/dev/sr0 of=/dev/sdc bs=1M
The CD-image should contain a boot-sector and everything else that is needed for booting, yet the USB stick does not boot.
What am I missing - why does the stick not boot?
PS: I am not interested in tips on how to create a bootable stick, I only want to understand why the above method does not work.
View 2 Replies
View Related
Mar 5, 2010
I am trying to use k9copy to simply copy the iso of a DVD movie to my hard drive. No matter what I select I can't get "copy" to enable - it stays grayed out. When I try to run the wizard it crashes after I select in my input source. I don't care what app I use, I just want something lightweight and easy to use that will copy the iso.
View 7 Replies
View Related
Aug 15, 2010
My Freenas server is currently off line for the moment pending the arrival of some thermo paste and I need to get some files off one of the drives. The drive is formatted in the UFS file system.I am using a usb to sata converter to hook the drive up to my laptop which is running 10.04.I am then able to browse the files by going to my /mnt folder. The problem is I cannot copy any of the files. I get a permission error. I have tried chmod 777 command to change the permission but I get an error about it being read-only. I tried running nautilus as root to copy the files but I still get a permission error. Using nautilus as root to change the permission or alter any of the read/write options fails because the drive is read only.
From what I understand I can only mount the drive as read only because its UFS and I can't change the permissions because its read only. Sounds a bit like an endless loop lol.Running Freesbie (freebsd live cd) didn't do me any good as it didn't even detect my hard drive and I don't want to learn a new OS just to transfer my files.ny advice would be appreciated. I really don't want to wait until my thermo paste comes and I will be on the road for the next couple of weeks so I won't even be able to get it setup. I need these files now.
View 1 Replies
View Related
Dec 8, 2010
i have ubuntu 10.04 on a partition of a drive,
i have bought a new harddrive and want to copy the content of the "ubuntu partition" to a new partition on the new drive.
can i just copy all the data and then run a live disc to make a new boot loader ?
View 9 Replies
View Related
Jan 9, 2011
I want to copy my ubuntu install to a bigger hard drive, and am not quite sure what to do. According to my google searches, I need to run ubuntu from a live cd, then in a partitioning program copy the ubuntu partition to the new one, then resize it. Is that all? Do I need a linuxswap partition on the new hard drive? I have been using kde partition manager to arrange my new partitions. On one hard drive I have the partition I want to install ubuntu on(what type should this be? ext4?) and a partition to share between ubuntu and windows, and then will use my old ubuntu partition for installing windows xp.
View 2 Replies
View Related
Jul 3, 2010
In my laptop I have a 200GB hard drive that is starting to make clicking and grinding noises and won't boot about every third try.
Code:
root@Frank2:/home/bruce# fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code]...
/dev/sdb is a usb flash drive that has pmagic (not sure of the version, but it's 2.6.32.9-pmagic kernel, so I think it's the latest version). I'm posting from pmagic right now because I don't want the failing disk to get any worse until I get this sorted. I also know there is a post here called something like 'learning the dd command' or 'mastering the dd command' or something to that effect, but I can't find it for the life of me (I have it bookmarked on the failing drive, of course). If someone could point me to that post,
View 8 Replies
View Related
Jul 11, 2011
i am putting a larger drive in my laptop, i have linux mint 10 KDE setup with all the software i need and running just the way i like it. is it possible to actually copy the entire partition to a external drive then place the partition back into my laptop with the new drive in it, and still have it all setup the way i had it?
basically so i dont have to reinstall everything and set it up again.if this is possible could you please explain how i can do it in the simpliest terms at all please.
View 6 Replies
View Related