EzDevInfo.com

data-transfer interview questions

Top data-transfer frequently asked interview questions

How do I move my PC to a VM instance?

Is there a way for me to take my current PC and transfer it to a VM running on the same machine or another machine?

I am currently running Windows XP.


Source: (StackOverflow)

Fastest way to change the type of a partition? NTFS -> HFS+

Currently I have a 1TB drive with the following arrangement

  • 500GB NTFS (with my data on it)
  • 500GB HFS+ (empty)

I would like to change this to:

  • 1TB HFS+ (with my data)

How can I effectively change the NTFS to HFS? I tried using Clonezilla but it can't clone a partition with a destination on the same disk.

I don't want to use traditional copy/paste/rsync etc because the data has a ton of tiny files, so it is MUCH faster to do it with something like clonezilla.

If no suggestions on here, I will probably image the 500GB data to an external drive, then image it back, but I think I tried that before and it didn't work so well....


Source: (StackOverflow)

Advertisements

How can I pin point a USB file transfer bottleneck in Unix?

I'm experiencing very slow data transfer speeds over USB 2.0 on my nix box and was wondering how I can pin-point the cause of the problem.

I've looked into iotop and top but the cpu and mem figures look normal (compared to guides I have checked).

The box which is affected is Ubuntu 12.04 32bit Server running on an Asus EEE 701 2G model and I am transferring from the OS over USB 2.0 to an external HDD (which transfers at 30MB/s+ on Windows 7 on other machine).

I get rsync write speeds of 1MB/s from OS to USB HDD which seems ridiculously slow. These speeds are consistent with other USB HDDs and sticks.


Source: (StackOverflow)

Backup data rate on Raspberry Pi maxing out at 5 Mb/s. Why?

I set up my Raspberry Pi as a Time Machine, as documented here.

At the moment, the Raspberry Pi is connected to my MacBook Pro using a direct Ethernet cable. Also, an external hard drive (laptop drive) is connected to the Raspberry Pi using the USB port. However, backups are pretty slow. Activity Monitor claims that the Network is transferring a very steady 5 Mb/s, where my Time Capsule is transferring up to 8 Mb/s with a lot of fluctuation.

The Raspberry Pi self-reports (top) that its CPU is only half-used, with about equal parts afpd, usb-storage and jbd2/sda1-8. Thus, I think that the processing power of the Raspberry Pi does not seem to be the problem here.

To me, this looks like there is some kind of bottleneck that maxes out at 5 Mb/s thus potentially having my backups run at less than their potential speed. To the best of my knowledge, this might be the afp-daemon, the usb-bus or the external hard drive.

So, my question is, how could I identify the true culprit and what can I do about it?


Source: (StackOverflow)

Does "Stopping" USB drives actually affect the drive?

I have always just unplugged my USB drives from my computer for years and nothing bad has happened; but I heard that you are supposed to use "Safely Remove Hardware" before removing a drive. What does the "Safely Remove Hardware" program do (besides flush the output buffer)?
Is this recommended just to ensure that all data transmission to the device has stopped, or is there another reason?


Source: (StackOverflow)

How do I test the speed of file transfers on my LAN?

I have a Macbook Pro (wirelessly connected to the Internet) and a G5 tower (connected via ethernet). The MBP wirelessly backs up to an external drive on the G5 tower. I would like to know how fast the data transfer is between the MBP and the G5. How do I go about doing this?


Source: (StackOverflow)

Transfer Windows 10 boot disk to another computer

I’ve had a laptop fail (CPU failure according to the blinking LED) and was wondering what steps I could take to transfer its hard drive to a new machine and have it boot. It currently has Windows 10 installed (upgraded from Windows 8.1, Windows 8 before that, and originally Windows 7).

I’ll probably start by taking a backup image of the disk. The replacement laptop hasn’t arrived as yet, it’s of a similar vintage. The old machine was a HP ProBook (don't recall the model off the top of my head), and the replacement a Dell Latitude 6420.

I of course want to avoid having to reinstall and reconfigure all the applications on the drive.


Source: (StackOverflow)

An abnormal high pitch sound is coming from my hard drive

My hard drive is making a high pitched sound. And it has now for a few months, however in the past week or so the sound has gotten worse. What surprises me is that my laptop is not even a year old. I know that it's the hard drive because I have narrowed the sound to coming from the hard drive.

My first question is what does it mean and next, does it mean that my hard drive is ready to fail? If my hard drive is about to fail then how can I go about saving all my applications and transferring them onto my new hard drive?


Source: (StackOverflow)

Copy all contents of an Amiga harddrive to a PC

I have an old Amiga hard disk drive (CP2088 Conner drive). It is a 2.5" IDE drive (see bottom).

How can I connect this to a PC, what software is needed, and how can I convert the entire disk to a WinUAE image?

Can a normal 2.5" IDE to 3.5" IDE work?

I understood that I cannot use an IDE/USB box for this?

CP2088 Conner IDE drive


Source: (StackOverflow)

When does ethernet cabling need to be shielded?

I run IT for a small business that does primarily office type work (no manufacturing or high levels of electrical interference), and we're looking to build additional office space onto our current building. Because there is lots of internal file transfers, we're going with Cat6 to reduce bottlenecking.

Adding shielding in the Cat6 is costly and I want to make sure we actually will benefit from it before trying to sell my boss on it.

So my questions are:

  1. When should ethernet be shielded?
  2. Additionally are there environments that should use S-FTP over FTP?

FTP (Foiled Twisted Pair) - The UTP cable is surrounded by an outer foil shield. S-FTP (Shielded and Foiled Twisted Pair) - The FTP cable is surrounded by an outer conductor of braided shielding.


Source: (StackOverflow)

Extremely slow USB transfer speed

I am using Windows 7 32-bit, and have a Transcend 8 GB USB 2.0 flash drive. I have formatted the drive to NTFS using the Windows format tool.

The problem is that when moving or copying files to and from the drive I get write speeds of only 1.5 - 2.5 MB/s. I read articles on the net, and changed the caching policy to "better performance" and formatted to NTFS. Still no change.

How do I fix it?

UPD:

I meant NTFS.

My pen drives a Transcend JetFlash 500.

I used it on a different computer with Windows XP, and a particular 2.55 GB folder took 5 minutes to copy. The time to copy to my computer with Windows 7 was 6 minutes.

So I guess the problem is not with the reading, rather writing mostly.

I have read, people writing at 20MB/s.

So how do I optimize my writing speed?


Source: (StackOverflow)

What's the difference between a hardware register and a memory-mapped register?

This has been puzzling, so I'll lay it all out here. Apparently, through MMIO, you can access external devices using a certain memory-mapped address, which would then be re-routed to that device itself(through a write, command packet, etc.). However, I've been hearing mixed descriptions of both hardware registers(e.g. like a CPU/GPU register, or even sound chips), and memory-mapped registers used interchangeably. Are they the same thing?

When you say a "memory-mapped register", aren't you referring to the address from which a data byte is re-routed to a specific address inside that device(e.g. theoretical: GPU's 0x500 address is for register TEXTURE_BUFFER). However, a memory-mapped device can't map a physical register inside RAM.

So basically, what is the difference between a memory-mapped register and just a hardware register?


Source: (StackOverflow)

Sending text file contents to server using netcat?

There is a daemon process listening on port 5144, which I cannot to modify.

I want to use netcat to send the contents of a text file to the server, but this causes netcat to hang the terminal until I press Ctrl+C:

cat file.txt | nc -u 127.0.0.1 5144

The only way I am able to get it to work is by running nc -u 127.0.0.1 5144 and copy/pasting the contents of the file manually.

Any ideas?


Also note:

  1. cat file.txt | ... leads to bash: ...: command not found and I can continue to use the terminal
  2. using nc -u 127.0.0.1 5144 < file.txt leads to the same behavior as using | above

Source: (StackOverflow)

Performance difference between SD and MicroSD cards?

If you compare a MicroSD card with an advertised speed of 48 MB/S to a full size SD card with an advertised speed of 48 MB/S (from the same manufacturer), should their performances be identical?

Or is there anything about the size reduction of a MicroSD card that makes it perform better or worse?

Similarly if you take that MicroSD card, and place it in a MicroSD-to-full-size-SD converter (from the same manufacturer), will it perform identically to the equivalent full size SD card?

As examples, one could compare the SanDisk Ultra PLUS microSDXC card with the SanDisk Ultra PLUS SDHC card. In this example, the comparison would be both with and without the MicroSD-to-full-size-SD converter.

BTW, on the packaging, the specs are identical, but I'm interested in knowing if, in the real world, there are any performance differences.


Source: (StackOverflow)

How long (maximum length) can USB 2.0 signal travel using hubs?

I know that the maximum distance USB 2.0 cable can be is 5mtrs.

I'm not sure of the implementation using hubs and the length it can reach.

Are there alternate methods of increasing the signal to reach longer distances, to defy the 5mtrs limit of data transfer?


Source: (StackOverflow)