General :: Copy Data In Chunks And With Timed Breaks?
May 2, 2011
I have a hard drive with a bad PCB board. It stays on when not under heavy load and it will restart if I copy too much data off it. So far I have had good luck doing folders under 500 MB in size if I copy one folder to my good hard drive, wait five minutes, copy another, etc.
If I mount the bad drive and try to copy a folder of several GBs in size it will start and then stop as the hard drive restarts. When I try to mount the drive again Linux says it can't read the superblock. I have several folders with over 30 GB of data in many different folders.
What I am looking for is a way of copying a folder in Linux such that the commands grab the whole folder in chunks with a timed break in-between.
View 3 Replies
ADVERTISEMENT
Jun 16, 2011
I want to copy about 40GB - to a partiton. There are two hard drives in my box one won't boot but I can aaccess it and mount partitions and I aim to move data from it to a new bootable hard drive. Doing a simple cp copy command may not be the best way to copy and paste such a large chunk? Also I want to backup the data I plan to copy/paste using a USB hard drive to backup. But I could also paste data from the backup to the new drive instead of from old internal hd to new hd. - that's another option.
View 1 Replies
View Related
Nov 5, 2010
As a curious side project I'm playing with mzXML data(an xml format for holding mass spec data). A typical scan can be quite large, even up into GB size. I'm wondering how would one go about parsing an xml file in sections, one section at a time. The idea being if the computer doesn't have enough memory to load up the entire data file, work on chunks of it at a time.
View 3 Replies
View Related
Apr 3, 2010
I am trying to copy the file on remote server, but I am getting error " ssh: connect to host 172.28.21.14 port 22: Connection timed outlost connection "My two server are bastion10 and newlink, I want to copy file from newlink to bastion10 buet unable. I am able to ping, when i run " lsof -i :22 " command on link3new server I am getting
link3-new:lsof -i :22
sshd 6992 root 4u IPv6 11878 TCP *:ssh (LISTEN)
while on bation10 it is ( ESTABLISHED ) ..
View 3 Replies
View Related
Jan 17, 2011
I've been using Excel from OpenOffice with moderate success for the last year. Now I've just tried to open a new spreadsheet and I'm suddenly getting a highly condensed view. The cells are about 1mm X 4mm. If I expand them by selecting and dragging, then try to copy data from another spreadsheet onto the new one, the data shrinks to the small scale -- unreadable.
View 4 Replies
View Related
Jan 26, 2010
I've got a CentOS 5.4 box and the following disks connected:
# parted /dev/sda print
Model: ATA WDC WD1600BEKT-0 (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 160GB 160GB primary lvm
# parted /dev/sdb print
Model: ATA WDC WD1200BEVT-0 (scsi)
Disk /dev/sdb: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 120GB 120GB primary ext3 lvm
the OS, data and programs are on /dev/sda.
I'd like to copy the full directories and files to the newly added /dev/sdb wich has, as you can see, less space. Also note that /dev/sda has only about 3.6Gigs uses, so it will no doubt easily go into /dev/sdb. How can I do the full copy, and yet make /dev/sdb bootable just like /dev/sda (just as if it was cloned by Ghost)? I've checked dd, but AFAIK, it needs that both source and target devices be the same in size.
View 1 Replies
View Related
Apr 12, 2010
I have a HDD that cannot be bootup (should be the boot file problem, I want to get back the data in it, so I plug it to another server and trying to copy the data from the failure HDD to this server. Now, the server is re-boot and in maintenance mode as the HDD cannot do the system check. when I try to copy data, it pops the server is read-only system.
1. How to let me write data to the server ; or
2. Let me boot up the server, then I will mount the HDD to it and copy the data to the server.
View 1 Replies
View Related
Jan 25, 2010
I have a PC with OpenSuse 11.1. Beside root there are two other users on the system. Now I have installed a new PC with OpenSuse 11.2. Only one user is set up until now. I installed the hard disk from OpenSuse 11.1 into the new PC on IDE Primary Slave, because I wanted to copy some files from the old system. OpenSuse 11.2 has mounted the old disk automatically in /media/disk and /media/disk-1. The problem is that I can't find any files or directories from the users. I could find only one file from root in /media/disk-1/root/Desktop. Why can't I see the files? Does it have anything to do with UID or SUID?
View 14 Replies
View Related
Aug 31, 2010
We have a test server in which we have not taken backup. Contents under /etc is entirely lost.
I need to execute scp to copy mysql data directory.
Also it is in remote location. Can I recover the data by scp by creating some /etc/passwd , /etc/shadow files ?
View 6 Replies
View Related
Sep 1, 2011
Tool like Media File Segmenter for Linux
I know that one can use ffmpeg to extract a smallfile.avi from a largfile.avi. But What I am looking for is an tool/command to split a large file into several files of a given size.
View 1 Replies
View Related
Feb 21, 2011
i want to upload my iso collection to adrive(.)comi have a slow upload and i want to split each iso file in chunks of 100 MB so they upload while every browsing session of mine.i figured i should use split and cat commands to do that.but i cant afford to upload some corrupt archives, so how may i go about checking the small chunks to the original file before uploading
View 7 Replies
View Related
Sep 13, 2010
Use file globbing to copy all the files in the /labs/data directory that end with a .out to the lab05 directory.
Use file globbing to copy all the files in the /labs/data directory that start with a c, d, or n into the lab05 directory.
View 5 Replies
View Related
Jun 22, 2011
How to move a data files from one Linux server to another in an online Internet environment, automatically daily, using a script?
View 1 Replies
View Related
Dec 8, 2009
I have two students whose windows laptops are riddled with malware and not working properly. They want me to help them install Linux (which we use in school), but they are concerned about their iTunes.
Having avoided iPods as "defective by design", I know nothing about iTunes whatsoever. However I remember reading about DRM locking and such problems that have me concerned that I won't be able to do it.
Where does iTunes store its stuff?
Can I copy its data store to an external drive, and then into a linux home?
Then will it work on wine, or can another manager (rhythmbox etc) access the itunes data?
Alternatively, if I partition the drive and install linux, can rythmbox/wine/something access itunes data on the win partition?
Supposing they are buying music through iTunes, what will happen to that account?
Finally, one of them has an iphone. Does that work with linux?
Ironic that an apple application is blocking migration away from windows.
View 9 Replies
View Related
Jan 19, 2011
I got 2 OS's right know, Debian Lenny in HDD1 and Windows 7 in HDD 2, everything works ok so far. But, when Im running W7 I only have 1 HDD visible, W7 one, and inside Debian is the same.Is there a way to "copy" data from one to another?
View 14 Replies
View Related
Dec 20, 2010
I'm running Ubuntu 10.04 and I'm upgrading to a new hard drive i have an 80GB and I'm going to a 250GB and I need to how can I transfer everything of the 80GB to the 250GB
View 6 Replies
View Related
Feb 17, 2011
I want to copy data from my ubuntu 10.04 to Virtual box , which is Windows XP. How can I do it ?
View 3 Replies
View Related
Feb 7, 2011
I am looking for a way to see if it is possible to copy the system state of a system to another system.Is it possible to simply move the folder structure over to another machine, and have it work? Do I need any special partitions for /var, /home, etc?My machine is dying slowly, and I really want the quickest way to migrate the system over to the new system.
View 7 Replies
View Related
Jul 18, 2011
how i can copy data from mysql server to local system or samba server. I want to know the command.
View 5 Replies
View Related
Dec 16, 2010
I have a text file with 3 million urls that I want split into chunks of 5,000.
Anyone have idiot proof simple instructions to accomplish this in the command line?
View 9 Replies
View Related
Apr 24, 2011
PPPOE connection Timed Out-i have downloaded the rp-pppoe utility and installed for PPPOE connection.As per the instruction given with the utility i followed that .i have given pppoe-setup and given all the parameters required like service name , username ,password,firewall as none ,dsn as server an all the option .finally i got the message as congratulation you have successfully setup the pppoe connection.you can use pppoe-start and pppoe-status.
View 11 Replies
View Related
Mar 21, 2011
i have two PCs A and B, both are connected via LAN PC A Configuration is
IP Address 10.102.6.232
Broadcast Address 10.102.6.255
Subnet Mask 255.255.255.0
Default Route 10.102.6.2
Primary DNS 144.16.192.55
[Code]...
I am trying to connect B from A using command shh -X devendra@144.16.205.236, and facing error like ssh port 22 connection timed out.
View 13 Replies
View Related
Jul 17, 2011
I have two HDDs in computer, one with ntfs and windows on it and second with btrfs. I want to get data on that btrfs disk. I boot with bootable USB stick with ubuntu on it but I found out that I cannot copy anzthing. I dont have permissions. How to change that. I am logged in as nobody here in USB stick, and files are probably locked as mz previous username when I create them.
View 1 Replies
View Related
Sep 17, 2010
I was using 9.10 Ubuntu and was going to update to 10.??. Being an intelligent person, I made four (4) backups of KMyMoney on different diskettes and thumb drives. Now, the problem, after reinstalling my O/S (new version) I reinstalled KMyMoney and found out that the newer version of KMM will not read the data I have backed up.What I need is a way to obtain an older copy of KMM so I can retrieve my data. Then I can update.
View 2 Replies
View Related
Apr 13, 2011
I am attempting to copy files from one server to an external USB drive on a second server. Both servers are running custom RedHat Linux, kernel 2.6. Both are setup as Check Point SecurePlatform (one is a log server and the other a management server). I am trying to archive files from one (HP DL380 G5) to the second (HP DL380 G6). I am not able to archive directly to the external usb drive when connected to the HP DL380 G5 (data gets corrupted and switches to read-only access). The external USB drive has no issues when connected to the HP DL380 G6 server, thus my reason for trying to copy the files across servers.
When I attempt to use scp to copy files between the server, I am prompted for the password. Once entered the debug shows the authentication is successful, but then no files are copied (see log below). I have tried searching for potential answers, but none have panned out. Unfortunately I can't yet post the actual scp debug log output as some of the text is viewed as a URL and not yet allowed for me. I have changed all the atsign symbols to '(a)' to avoid the URL inference.
Output log from scp attempt follows:
[Expert(a)server1]# scp -p -r -v /var/fromhere/* copyfile(a)server2:/media/disk/tohere/
Executing: program /usr/bin/ssh host server2, user copyfile, command scp -v -r -p -d -t /media/disk/tohere/
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090707f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: Connecting to server2 [192.168.10.3] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/identity type -1 .....
debug1: Exit status 1
lost connection
[Expert(a)server1]#
View 1 Replies
View Related
May 2, 2010
I have a server that I wanted to transfer it to a newer one both of them have CentOS but the newer one kernel is more up to date I wanted to know is it possible just to copy some directory contents exactly to another for transferring the server data (for example /var /usr /bin /home /etc). I have one website on my server with its mysql database
View 4 Replies
View Related
Mar 12, 2009
I am hosting some VPS, and I am wondering the best way to copy the VPS data to a secondary hard drive mounted on /backup on a daily basis.
View 5 Replies
View Related
Oct 22, 2009
I need to remove sections from video files (from the middle and the end) on the command-line. Generally these will be mp4 and avi files.
For instance, I have a .mp4 file which is 32:30 minutes long. I'd like to remove from 2:49 to 3:20, and remove the last 60 seconds.
Any ideas on how I can achieve this?
View 1 Replies
View Related
Sep 10, 2010
My C foo is terrible! I am working with some code which reads lines from a file and then reformats the lines and writes them to a new file.The input lines look like this:
Code:
+[NEOTEST?]
+[NEOTEST]
[code]...
View 2 Replies
View Related
Feb 22, 2010
I have my / partition on an SSD that I formatted in ext3 but I now realise that, in order to use TRIM, I need to be ext4. Can I use Partimage to make and image of the partition, format it (using GParted) and then restore the image? Basically, do Partimage files survive a filesystem change?
View 1 Replies
View Related