An interesting problem happened in my work:
- I had a harddrive installed with RedHat Linux and was requested to send the RedHat image over to a team overseas.
- Following normal procedure, I ran another RedHat Linux and inserted the harddrive into one of the harddrive slots.
- The harddrive was detected as /dev/sda, so… I performed the dd command:
dd bs=1M if=/dev/sda of=/tmp/redhat.img &
- And then… I compressed the file:
- At this point of time, I had the redhat.img.gz on hand and was ready to send it to my colleagues overseas.
- Before I sent it to my colleagues, I did the final check by decompressing the file in another machine, it worked!
- I sent the file to my colleagues using FTP protocol.
- The next day, I was surprised to hear that the file was failed to be decompressed.
- I repeated the process from #1 to #8, but still they could not decompress it.
This is a very interesting and unexplainable mystery.
- I downloaded the image file to my Windows workstation.
- I compressed it with WinRAR and sent it to my colleagues using FTP protocol.
Did it work? Well… I didn’t work!!!
It looked like that the FTP server was not configured properly. Uploading to another FTP server was okay. A very interesting and challenging question, why oh why this FTP server fails to work properly.