Hardware :: 'dd' Command Writing To Usb Pen Drive At Only 2.5mb/s?
May 12, 2011
I was just wondering is 2.5mb a second normal to write to a usb2 pendrive with the 'dd' command?
I know dd maybe having an influence on writing time, but it still seems really low for usb2 transfer?
Is there a command to measure the time a file takes to transfer from HD to usb pen? (not using dd).
View 11 Replies
ADVERTISEMENT
Jun 18, 2010
Code: cmd='date | wc'
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
View 4 Replies
View Related
Nov 19, 2010
I'm trying to write a 100MB file for example all with 0xFF so in the hex editor it should look like "FF FF FF FF FF FF" etc. I know you can write a 0x00 with this line:
Code:
dd if=/dev/zero of=myfile bs=1M count=100
But how to do 0xFF or another character?
I want to use the 'dd' command because with the 'bs=1M' argument it is 100 times faster than any other shell command I've seen.
View 1 Replies
View Related
Nov 11, 2010
I am running a java application on centos. For now I have a gsm modem connected via the the usb cable. Below is the message I get when I type the command dmesg | grep tty
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
usb 2-2: pl2303 converter now attached to ttyUSB0
[code]....
View 9 Replies
View Related
Jun 7, 2011
Currently we are using Unix machine & the activity are logged in the file using following code used in profile
.profile code
# /ln/aud_root/dds_ibm/.profile
trap 'print "not allowed"' INT
trap 'print "not allowed"' QUIT
trap 'print "not allowed"' TSTP
[Code].....
View 2 Replies
View Related
Mar 8, 2011
I am running Debian squeeze on a Seagate Dockstar. It boots Debian from a USB flash drive, and has two 1 TB usb hard disks hooked to it. The machine is used for only rtorrent and nfs. The flash drive contains only the system software and rtorrent. All of the data that rtorrent moves around is on the usb hard disks, including downloaded data, watch folder, and session folder. About once a day I run rsync with the source being usb_1 and the target being usb_2: # time rsync --progress --stats -a --delete /media/usb_1/ /media/usb_2 Since this machine boots from a usb flash drive, I'm interested in keeping the number of writes to the flash drive to a minimum. The machine used to boot from an Adata flash drive, which has no LED. That drive wore out after about five months. Completely dead, as in gparted would fail with an I/O error on write when trying to write a new partition table to it. No big deal - I restored the software to a new flash drive using an image I had made in Clonezilla.
The new drive (a Sandisk Cruzer 4 GB) has an LED and I assume this is showing me when the drive is being accessed, read and write. When the system is at idle, the LED sort of "breathes" off and on slowly. When rtorrent is downloading or uploading, it flashes a few times and goes back to breathing.
I'm assuming that once everything has been loaded and the system has been running a while that when the LED flashes, that means that data is being written to the flash drive. (Is this a good assumption?) With just rtorrent running, there's not much flashing, maybe 10 - 20 times/minute. However when rsync is running, the LED just flashes on and off like crazy. The daily rsync run takes anywhere from three to 30 minutes, depending on how much new data was downloaded each day. But no matter how long it takes, the LED just flashes like crazy the whole time.
I'm assuming this means that all the new data from the source drive is being written temporarily to the flash drive or something like that, and this is wearing the flash drive out prematurely. Does this sound likely? If so, is there a way to get rsync not to do this and to do its thing in RAM only and not write to the boot flash drive?
View 12 Replies
View Related
Jul 25, 2011
for the last three days, I have been trying to get my drive ( LiteOn iHas624 ) to work. Unfortunatly, it seems that I can only use the burner with Nero4Linux or Brasero, but not K3B.DVD-RAM/+RW packet writing seems neither to work out of the box, nor by the setup as suggested in /usr/share/doc/udftools/README.Debian or the media4linux howto(just to name the most promising, i definitly read more on the issue).
I tried to format the DVDs in various udf revisions, as well as ext2 just to check, but without success.As I am close to the point where I would rule out the possibility to obtain package writing capability, I dare to ask for help.I would be very grateful for any hint or reading recommendation on the issue.
Yours, Benjamin.
View 1 Replies
View Related
May 17, 2011
I am using a new install of Kubuntu 10.04 LTS. My system is a 64-bit AMD desktop.
I use a small partition for my entire Kubuntu install, and use separate, larger partitions for my media and work files.
I opened up Dolphin (my KDE file manager) via GUI, navigated to my media partition, and attempted to create a new folder by
right-click->
Create New->
New Folder-> etc
The Create New in the menu is ghosted out, as if I have no permission to access it.
How can I write files to the drive?
View 14 Replies
View Related
Nov 4, 2010
how to write a command (for loop) that would ping a Class C subnet to make it so that it only replies once and does not show the statistics?
View 2 Replies
View Related
Aug 22, 2011
restore a partition images on another machine to the unused space on my laptop. I'm using netcat and dd to restore the partition.
On laptop:
nc -l 192.168.192.254 9000 | dd bs=1024 conv=notrunc,noerror seek=<some block pos> of=/dev/sda
On W/S:
dd if=part.img bs=1024 | nc 192.168.192.254 9000
The problem is that fdisk -l displays start & end sectors of the partitions and I need to know blocks. How do I determine the block number after the last partition to start writing this image?
Quote:
cat /proc/partitions
Displays blocks per partition. I could add those numbers up but is sure would be nice to have a utility that just give you what you need.
View 4 Replies
View Related
Sep 8, 2009
I have a relatively common problem, but I don't seem to identify it's source. I have a SAMBA server on my LAN to which there are mapped a few shares as network drives in windows xp (as Y: ) and mounted as CIFS in linux [as /y]. The problem is that every time I save a file [either windows xp or linux] on the mapped drive / mounted folder, our IDEs alert us that the file changes right after the save. I am running SAMBA 3.3.2.
View 1 Replies
View Related
May 9, 2010
I was wondering how to get a script that i am writing with emacs over to possibly a flash drive or onto the desktop.?
View 4 Replies
View Related
Apr 16, 2010
When writing a script using command-line tools why is it more difficult using graphical tools?
View 3 Replies
View Related
Sep 2, 2010
I have the "top" command and I want to override its default behavior for every user, even for future users.
Writing with "W" in top is not an option as my top command somehow overrides the custom behavior per user and always turns to default behavior.
So, what I am asking for is, are there command line switches that override default behavior of top, for example:
Code:
top -<BLABLA>
to show me the load average per core which would be equivalent to starting top first and then pushing the key "1" on the keyboard.
Remember, writing to toprc is not an option for me as top for some reason ignores its config and just goes for default behavior.
Edit: it seems to me this is a bug in the procps package. That is why I updated it to the latest version for my distro CentOS 5.5 and procps to the following [URL] HOWEVER, it doesn't work even now.
View 8 Replies
View Related
Jan 16, 2011
This is on an old desktop system (1999-ish)with a 20Gb hard drive on which I had installed Linux distro. called BasicLinux 3.0.
The HDD was partitioned into 3 primary, 1 extended, and a swap.
I have lost total access to the drive. Nothing will report anything except the error as in post subject:
hda: drive not ready for command.
fdisk, e2fsck, badblocks, all give this error message plus a lot of other messages such as:
ide0: reset: success
hda: status timeout: status= 0xd1 (busy)
end_request: I/O error, dev 03:00 (hda)sector 0
ONLY thing that shows anything is:
cat /proc/partitions
major minor #blocks name
3 0 19938240 hda
Related (?) occurrance:
System did boot from CD into PuppyLinux once, but now will not boot into any Distro., but does "start" to boot, ie, first screen of distro. and then nothing, system hangs.
View 9 Replies
View Related
Jun 16, 2010
i want to image my pen drive using dd command. i tried
dd if=/media/disk of=/media/disk-1/images.img
where disk is my pen drive and disk-1 is my hard disk. I boot and run the pc using linux bootable cd
View 3 Replies
View Related
Jan 16, 2010
Command to switch to a different hard drive. I have multiple hard drives in my computer. One called storage and the other one called filesystem. I would like to know how can i access the Storage hard drive via the terminal.
View 6 Replies
View Related
Apr 1, 2010
I used to be able to mount usb media such as a digital camera like this:
mount -t vfat /dev/sdb1 /media/usbdisk
After upgrading to karmic, it no longer works. I get this error:
mount: special device /dev/sdb1 does not exist
Here's what I have in /dev:
Code:
adsp cpu_dma_latency hpet loop6 null pts ram3 rtc0 shm tty1 tty19 tty28 tty37 tty46 tty55 tty7 usbmon0 vcs7 vcsa8
audio disk input loop7 nvidia0 ram0 ram4
[Code].....
View 9 Replies
View Related
Feb 19, 2010
Recently we started getting these errors in syslog:
Code:
[31944.813993] hda: status timeout: status=0xd0 { Busy }
[31944.813993] ide: failed opcode was: unknown
[31944.813993] hda: drive not ready for command
[31949.822516] hda: status timeout: status=0xd0 { Busy }
[Code]....
Also the machine was under very high load and almost impossible to connect to.
I've searched, and found mostly answers involving broken hard disks or other hardware issues, but this is unlikely to be the case here: it started happening on several machines at the same time. They are HP DL580G5, and hda is the DVD player. It's not being used. The only thing we've recently changed is that we installed HAL (as a dependency of pcscd), and sure enough, killing HAL freed up the cpu and stopped the stream of errors. Sadly, pcscd requires HAL..
Has anyone seen this? Are there known problems with HAL in Lenny on HP hardware? I know I could do hal-disable-polling /dev/hda but I don't want to simply ignore a potential problem.
EDIT: versions used are HAL 0.5.11-8, pcscd 1.4.102-1 and kernel 2.6.26.2-amd64
View 1 Replies
View Related
Dec 18, 2009
I use to know this command but lost it and did not note the entire command on my Linux cheat sheet. Someone once showed me a simple very easy command I could use to simple format a USB flash drive as FAT32 and in the same command also name the label of the drive.I have the device /dev/sdc1 and I am formatting this as FAT32 so it's compatible across multiple systems but also want the drive to have the name 'my_usb'.
View 3 Replies
View Related
Oct 11, 2009
Code:
ntfs-3g /dev/sda1 /media/drive
Or
Code:
mount -t ntfs /dev/sda1 /media/drive
View 1 Replies
View Related
Jul 21, 2011
I wrote a part of a bootable image to the hard drive with the dd command and now i can't finish installing a linux without getting a grub fatal error.how can i restore my hard drive?
View 6 Replies
View Related
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
View Related
Jan 31, 2010
I wanted to know command to triggered "Safely Remove Drive".So I could implement it on Hardy 8.04
http://ubuntuforums.org/showthread.p...88#post8674988
View 6 Replies
View Related
Mar 6, 2011
If I click right-click on a drive in nautlius and do 'safely remove drive', the external hard-drive stops spinning.
What is the terminal equivalent? If I do 'pumount' it is unmounted, but the hard-drive continues spinning.
View 3 Replies
View Related
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 25, 2011
For some reason I cant get the syntax to switch to a directory in my external harddrive. I know I've done it before but now I can't get it to work. Here is what I've done.
cd /home/media/My Book/folder Where MyBook is the name of the hard drive.
View 6 Replies
View Related
Sep 30, 2010
I have a questions concerning tape drives.
Is it necessary to erase tape before recording ?
Do You know linux command to clean tape drive ?
View 1 Replies
View Related
Jan 19, 2011
I have a 32GB flash drive that I want to:- Have an installation o with no X-terminal. Only command-line.- Be bootable by plugging into any computer and turning that computer on.My wishes are strictly for writing purposes. I want to write in a minimal environment where there's no distraction by other programs or Internet. I don't care what programs exist on the linux distro as long as it has a text-editor.Please tell me how to proceed. What linux distro I should get. How to install it on a USB stick. Anything I need to know.
View 11 Replies
View Related
Mar 15, 2010
want to copy a file from my desktop to usb drive in command line...how can i do it...i have no gui interface..all i want to do it by command line.i.e how to mount the usb drive and copy the file to usb and then unmount it..i also want to access windows xp drive from linux in command line without gui interface...in opensuse there is windows folder under file system but in ubuntu there is no such option...so if i want to place a file from linux to windows drive such as d ..how can i manage it with command line...no gui interface is available...
View 1 Replies
View Related