General :: Harddisk Formatting With Dd Return Error?
Apr 2, 2010
I tried to format my harddisk (160 GB) with the following command
dd if=/dev/zero of=/dev/sda
After some 3 hours, following error came up:
dd: writing to '/dev/sda' : No space left on device
312581809+0 records in
312581808+0 records out
160041885696 bytes (160 GB) copied, 10708.3 s, 14.9 MB/s
I have a Western Digital My Book World Edition external harddisk with blue rings. I filled it up and now want to delete the data and start over. I'm set in my ways and have been accustom to reformatting harddisks periodically (sector maintainance, etc.) It's worked for me as I've luckily have not had a disk crash in 25 years.My webapp is not helping me with the reformat and neither is Western Digital tech support. I've heard that it was factory formatted with something called Linux ext3. Does this make sense? Has anyone had any experience with reformatting external harddisks being used as a NAS (home use).
In vmware workstation 6/7 (using windows xp as host), how can I map virtual disk of my linux VM? When I try to map it, it maps but when I try to explore it, it gives me an error of formatting!
I installed win 7 and Linux Mint, however I've now decided to uninstall both and start with a fresh hdd. Anyway formatting went fine and started installing win 7 however there was a reading error from cd and canceled. Now ever time I try and start my pc it comes up with error: unknown filesystem and the grub rescue prompt. Now I don't know what to do as i can't seem to get around this and back to win 7 installer.
I've right now installed Fedora 12 in my laptop, and when I try to acces my external USB Woxter HardDisk I get this error:
Error mounting: mount exited with exit code 12: Failed to read last sector (1953525103): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...),
I need to flash my BIOS to get rid of an error: "Intel uCode loading error". On [URL] I have found a tutorial, that looks to be fine. I can even see in the comments, that somebody have done this with success from Ubuntu 9.04, the very same system, that I use. Nevertheless I cannot make this bootCD with my Ubuntu 9.04, as it doesn't know the loop option to mount the image.
In the tutorial it says: "Requirements for this step is that you have support for the vfat and loop file systems in the kernel. Or you can have those features compiled as modules. In the latter case you can load the modules before the next step, like this:
modprobe vfat modprobe loop"
loop doesn't seem to be present in my system, and the command modprobe loop returns an error that the module is not available. I tried to follow the tutorial anyway, but with no success. How can I get the module lopp? I also want to use it to make iso images bootsble from the harddisk.
how can I clone my installed ubuntu to a new harddisk? with 32bit ubuntu I have used:tar cvpzf -> create a tar file on my external nas system. after that I have done a restore tar xvpfz - worked with 32 bit.
Alternative I have mounted both disks and via another linux partition I have used: cp -rvbdR /source/* /target
both methodes worked with ubuntu 32 bit. With 64 bit ubuntu I can NOT get it to work. error message after booting the clone: /var/lib/gdm/.ICEauthoriy ..
I can see that /source/var/lib/gdm has different rights as /target - will be part of the problem. This did not happen with the 32 bit ubuntu - but why ?
I'm trying to format an external hard disk under Ubuntu 10.04. All starts well, but eventually I get the message: Error formatting volume Error creating file system: helper exited with exit code 1: Error calling fsync(2) on /dev/sdb1: Input/output error
I'm creating a usb device driver that needs to be able to read from two different endpoints. I couldn't see any way of having two read functions in the driver, so I got round this by reading from one of the endpoints with read, and the other with ioctl.However this hasn't worked, the ioctl call from c returns -1. I added a printk command in the driver in the ioctl function, however looking at kern.log I can see that this function is never being called. Does anyone have any ideas as to what the problem called be, or a better method of being able to read from two different endpoints?
I have new external usb drive which I'm trying to format to NTFS so I can also use in in windows. I've set it up using fdisk
Disk /dev/sdd: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x604a2a7d
Device Boot Start End Blocks Id System /dev/sdd1 1 60801 488384001 7 HPFS/NTFS
And tried formatting using mkfs -t ntfs /dev/sdd1
However I get the following error Cluster size has been automatically set to 4096 bytes. Initializing device with zeroes: 100% - Done. Creating NTFS volume structures. Error writing to /dev/sdd1: Input/output error. Error writing non-resident attribute value. add_attr_sd failed: Input/output error Couldn't create root directory: Input/output error
i have a dell server. its a couple of years old and has a perc 4 raid controller in it. When i do an install it shows the drives configured in the raid 5 configuration. i select the disk and do an auto partition. It goes for about 10min then errors with "error formatting drive volgoup00 the error is serious occurred press enter to reboot" or something like that can remember all the words. It doesn't give any info about the error.
i get the same error on centOs 5.5 and Ubuntu server 10.10
There is a firmware update for the raid controller that i could apply but dell's site was not letting me download it yesterday. Other than that I am not sure what to do. I could try an older version of CentOS 5.4 but i figure someone might tell me how to fix this so i can run the newest version.
I just bought a western digital of 3 TB. Unfortunately Gparted gives error. Gparted can create a about 2TB+1TB, but when it is the whole disk, it does not work. I tried JFS and EXT4.
I created 3 Volume Groups as you see up: VGRHEL, VGCENT, VGFEDORA; under every VG, i created 2 logical volumes ,just like below: VGRHEL=LVRHEL00(swap) + LVRHEL01(MountPoint: /) Below VG try to partition them the same as VGRHEL too. VGCENT=LVCEN00(swap) + LVCEN01(MountPoint: /) VGFEDORA=LVFEDORA00(swap) + LVFEDORA01(MountPoint: /)
I successed installed RHEL5.5 on VGRHEL, but when i try to use the same way to install CentOS 5.5, i got below error infromation: "Bootable Partitions cannot be on a logical volume" I don't why this happened, VGRHEL has logical volume too, but why i can install RHEL on it successfully.
I was having a problem on my squid server whereby 1 website would timeout daily and return a nscd not found error: [url]....There may be other sites but this is the only one I know of. A selection of other sites still work correctly, which is the strange thing.I have found that by restarting the dns cache everything works again: /etc/init.d/nscd restart.I never know quite when this will timeout so it is not very good for people accessing that site on the server.
Getting this error seemingly randomly at login: There was an error starting the GNOME Settings Daemon. Some things, such as themes, sounds, or background settings may not work correctly.
The last error message was: Launch helper exited with unknown return code 1 GNOME will still try to restart the Settings Daemon next time you log in. I thought I might be logging in to fast, but it happened again when I had waited several minutes.
For whatever reason /dev/sda3 (at /tydelik) does not mount itself (like all the other partitions) when the system reboots.
In YaST's expert partitioner it says that:
Quote:
An asterisk (*) after the mount point indicates a file system that is currently not mounted (for example, because it has the noauto option set in /etc/fstab).
Here is the /etc/fstab :
Quote:
I don't see a noauto option. Is it hiding somewhere?
Also, if I say the following then it seems that /dev/sda3 is ext2 and not ext3 (as YaST says).
Quote:
Firstly, how do I specify /dev/sda3 to be mounted by default (because I thought it would unless there is a noauto specified), and secondly, why is YaST not showing the same settings as when I say "mount" ?
I have just reinstalled Centos 5.3 on a new harddisk. I would like to copy some files from another harddisk which is also install with Centos 5.3. I have followed some guide in the internet but failed to mount the old harddisk. I got "unknown filesystem type 'lvm2pv'" error when trying to mount /dev/sdb2.