General :: Block Size For Disk Cloning With Diskdump (dd)?

Jan 17, 2011

I use dd in its simplest form to clone a hard drive dd if=INPUT of=OUTPUT However, I read in the manpage that dd knows a blocksize parameter. I was wondering whether there is an optimal value for the blocksize parameter that will speed up the cloning procedure?

View 4 Replies


ADVERTISEMENT

General :: Cannot Mount Hard Disk: Block Count Exceeds Size Of Device

May 11, 2011

I have one hard disk (call her HDA) that contains nothing but a single ext4 partition containing a backup of all my important data. Last night I did a clean install of Ubuntu 10.10 on my primary hard disk (call her HDB) and from there proceeded to upgrade directly to Ubuntu 11.04 upgrade. In 10.10, I was able to read HDA just fine. However after the upgrade, I can no longer mount this drive. When mounting from file browser:

Code:

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda,missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so The end of dmesg said the following:

Code:

dmesg | tail
[ 82.130904] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)

my hard disk has a block count greater than the size of my device. I've done my background searching on this and tried a command line utility I've never heard of before:

Code:

# sudo e2fsck /dev/sda
e2fsck 1.41.14 (22-Dec-2010)
The filesystem size (according to the superblock) is 122096646 blocks
The physical size of the device is 122096381 blocks

[code]....

this is as far as I've gotten. This drive holds over a decade's worth of work for me and is extremely valuable. I really didn't think that the Ubuntu upgrade process would mess with this drive, seeing as the Ubuntu install was contained on an entirely different drive. What is it that I need to do to restore my drive to working status?

View 9 Replies View Related

General :: Cloning With The Dd Command - Source Being Copied Onto Bad Sectors On The Destination Disk?

Apr 17, 2011

To make a full backup I run a live Knoppix DVD and clone the computer's HDD to an external HDD using the dd command. Is there a possible problem with the source being copied onto bad sectors on the destination disk? If so is there a way to prevent this from happening? A typical dd command I use looks like: dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror. Is this the recommended command for cloning to a disk of equal size?

View 1 Replies View Related

General :: Dd Block Input/output Size?

Mar 8, 2010

I'm trying trying to understand dd, and I'd like to know why frequently do we have to use a block read/write size, like "dd bs=1024", "dd ibs=512"... If it executes the operation byte by byte, isn't it irrelevant? What is this block size then?

View 6 Replies View Related

General :: Cannot Mount Ext4 Fs With Block Size Of 65536

Feb 5, 2011

I am doing some benchmarking on EXT4 performance on Compact Flash media. I have created an ext4 fs with block size of 65536. however I cannot mount it on ubuntu-10.10-netbook-i386. (it is already mounting ext4 fs with 4096 bytes of block sizes) According to my readings on ext4 it should allow such big block sized fs. I want to hear your comments.

[Code]...

View 2 Replies View Related

General :: Block Size Explanation In Plain English?

Apr 8, 2011

what block size means in plain English? I know block size 4k has 2 TB of file size limit and 1024 has around 17 GB. How do they calculate this?

View 3 Replies View Related

General :: Mount An NTFS Drive Which Has A Different Block Size?

Mar 31, 2010

I have reformatted my hard drive with allocation size 64K(formatted on windows with 64k setting) for a better performance on my WDTV HD media player(dealing with large files).When I mount this drive on Linux, the properties tells me that"blksize=4096".If I keep writing files using this default setting(blksize=4096) to my NTFS formatted hard drive, will my WDTV be able to benefit from the performance improvement of 64k allocation size ?I am confused, Does it have anything to do with "blksize=4096". ?Should I try and mount my hard drive with a larger blksize ?I did some research on google but couldn't find an option to increase the blksize when mounting an NTFS pre-formatted drive

View 1 Replies View Related

General :: Generate Random List And Determine Size Of Arbitrary Block Of Files In Dir?

Mar 4, 2010

I want to generate a temporary random list from a directory of files and then determine the size of an arbitrary block of files from this list (say 1-25 or 26-50) and add their names to a file along with some other info for each name. I can generate a random list with file sizes like this: ls -l | sort -R | cut -d " " -f 6 but i'm not sure how to add up the sizes of just a certain block of these files and at the same time save the file names.

View 2 Replies View Related

OpenSUSE :: Fog Disk Cloning Solution

Jun 14, 2009

just wanting to know if anyone has implemented Fog (fogproject.org) on openSUSE. We use it at work throughout our enterprise for reimaging machines and it works very well.

View 4 Replies View Related

Ubuntu :: Cloning Disk W/o Unmounting

Apr 18, 2011

I've spent the better part of an afternoon looking for a solution to a problem: backing up my installation of 10.10 as an image file to an external hard drive. My research has yielded a lot of suggestions for clonezilla, dd, and partimage/particlone, but those don't seem very appealing, due to a number of issues (can't backup live, copies free space as well, doesn't handle ext4, etc). Also why is clonezilla 150mb?

I'd like a simple solution that can clone an entire disk (used space only) to an explorable image file on a separate hard drive and be able to do it while the operating system is running on the disk. I used to use apricorn ez gig to do this on windows and it worked like a charm, but I can't seem to find a similar solution that creates and explorable .iso image file with linux. I've used superduer on osx, which is awesome and i wish there was something like that for ubuntu/linux.

View 3 Replies View Related

Ubuntu :: Disk Cloning With Clonzilla Versus DD

Jan 1, 2010

Is there any reason why is DD still prefer over clonezilla for disk cloning?

View 6 Replies View Related

Ubuntu Installation :: Cloning To Smaller Disk?

Jun 3, 2010

I have my Mythbuntu 9.10 environment installed on an old 160GB PATA disk and have just purchased a new 64GB SSD that I want to transfer my installation to.In the past I've just used ddrescue to clone disks, however in this case the source disk is larger than the destination disk so it won't work. I only have a few GB of actual data on the 160GB disk, so the 64GB SSD is definitely going to be enough for me.

I guess I need someway of either cloning so that only the actual data and not the partition is brought across, or possible shrinking the partition(s) first on the source drive and then using the same ddrescue method I've used in the past.Just looking for some assistance on what method is the best/most reliable?

View 8 Replies View Related

Ubuntu :: Cloning Bootable Hard Disk

Feb 21, 2011

Recently my had disk crashed. It has taken me over a day to install and setup the drive - time I can't really afford. I'd like to know how I can clone a second as a bootable copy of the main hard drive and update from time to time. Therefore if the main hd fails again, I can simple boot from the second drive.How can I do this? I have two sata drives in the box, running 10.10 desktop.

View 1 Replies View Related

Ubuntu :: Cloning Bootable Hard Disk?

Mar 2, 2011

Recently my had disk crashed. It has taken me over a day to install and setup the drive - time I can't really afford.I'd like to know how I can clone a second as a bootable copy of the main hard drive and update from time to time. Therefore if the main hd fails again, I can simple boot from the second drive.

View 1 Replies View Related

Ubuntu :: How To Create Bootable Cd With Disk Cloning Software

Feb 3, 2010

I'd like to have a bootable cd which then allows me to clone a hard drive, much like the "Ghost" application. I need to copy Fat32, NTFS, as well as the various Linux formats. I've not created a bootable cd before, so a step-by-step would be rather handy.

View 2 Replies View Related

Ubuntu :: Cloning A Large Disk With Little Actual Used Space

Aug 10, 2010

I need to clone a laptop drive to a desktop drive. The laptop drive disk is 150 gb, however, only about 8 gb is used. Is it possible to clone this disk to a smaller drive?

View 3 Replies View Related

CentOS 5 Hardware :: Cloning Image Of Hard Disk

Nov 7, 2010

I just invested nearly 12 hours configuring a CCTV system using CentOS 5.5 Server and Zoneminder. I have it setup just the way I want it. I would like to make a clone image of the drive just in case disaster strikes (lightning strike, failed hard disk, etc). In the Windows PC world, I use a program called Ghost to make a mirror image of a hard disk. I power the computer down, run Ghost to make a block level clone of the drive, then power it back up. Can I assume that will work with CentOS without problem?

In the computer now is a 320GB SATA drive. One partition on it is swap, and the other is ext3. There is no raid setup on the drive. I have an identical 320GB drive I could use and keep it in the computer unplugged from the power and not spinning. That way if anything ever happens, I can power down, move the power and data cable to the new drive and power it back up. Granted, I will lose any new config and database changes, but it will be a lot better than starting back at square 1 and reconfiguring the entire OS and software.

View 10 Replies View Related

Hardware :: Partition Size Detected By Testdisk Bigger Than Disk Size

Mar 17, 2011

a client brought in an 160GB external HDD and wanted to get the files off it, there appeared to be no partitions on the disk but i thought it may have been formatted to use the whole disk. I tried to mount it as the various FS types the client thought it may have been to no avail.

I ran testdisk on it which told me that it previously had a mac partition table and a 210GB partition on it (which is larger than the disk) could anyone enlighten me as to whether or not this is even possible, and if so how could i retrieve the data?

View 2 Replies View Related

Fedora :: After Cloning To Bigger Hdd / Can Boot Only Over Super Grub Disk CD

Mar 21, 2011

I cloned F14 with Clonezilla from 80GB to 320GB hdd(both sata disks), and then resized the partitions with GParted.But I can not boot into fedora on the new/bigger disk, it stops and the display writes "Loading stage 1.5" if I remember corectly,I tried to fix it with the live cd but with no efect.

Then i found Super Grub Disk live CD, and with that i tried to use their fix, which was the same as with the Fedora live cd i tried before, again no efect.Then i played around with Super Grub, and found the option to boot GNU/Linux indirectly, and with that metod i got results, found my menu.lst file and chose the kernel i wanted and it boots into desktop.

But i would need a more permanent solution, because now i allways have to use the same procedure with Super Grub Disk CD to boot into my Fedora 14.

View 3 Replies View Related

General :: Method To Find Time For Accessing A Block From Disk?

Nov 23, 2010

Is there any way to find the time required for accessing a block
from disk?

View 1 Replies View Related

General :: Disk Size Mismatch Using Df

Feb 21, 2011

When I run df command, the sum of free and used space doesn't tally up to total space. Now I found an explanation in this thread: URL...The amount of "reserved" space seems a little too high as OP of the thread had commented, but may be that's what needed. Now my question is is there a way to change/specify this amount of "reserved" space manually?Also is there a way where you can see the actual disk usage for every mounted partition including the hidden "reserved" space? Because sometimes this mismatch makes the output of df very confusing!

I am attaching output of df, and fdisk from my NFS server. The amount of reserved space seems to be close to 5% of the total partition size.

View 3 Replies View Related

General :: How To Increase A Virtualbox' Disk Size

Jul 2, 2011

I created the disk and now I would like to increase its size. I know I could add a new one, but I don't want to.

View 1 Replies View Related

Ubuntu :: Command To Get Block Size?

Mar 1, 2010

In a book, I read tha cmchk command is used to get the disk block size. But in Ubuntu, it is not allowed as command is not available.Can some body tell me what is its equivalent in Ubuntu.

View 4 Replies View Related

SUSE :: Change The HD Block Size

Nov 24, 2010

Does anyone have a guide/instructions to change the Block Size on a Linux disk from 4096 bytes to 1mb or more?

View 2 Replies View Related

General :: Reduce Fedora's Disk Size In VMware Player?

Jan 3, 2011

I'm new to Fedora 14, vmware player. After getting Fedora up and running in VMware player. The disk size was 2.7 GB. After three hours of working with it, the disk size has bloated to 4.3 GB. I havent added software to account for the near doubling in size. How do I reduce the size back to 2.7GB range or lower. Im new to Fedora and superuser controls. Im removing more software than adding software. Is this a VMWARE problem or Fedora problem?

View 1 Replies View Related

Debian :: Du Command Without 1024 Block Size

Aug 20, 2011

i'm calculating the size of directories using "du"

PHP: function du($path)
{
exec ('du -sb ' . $path, $res[]);
$size = $res[0][0];

[Code].....

But then again, it doesn't calculate the actual file size, but rather a size aligned to 1024 bytes just as Windows does that with 4096 bytes cluster size. Is there a way to calculate the actual file size? eg. 1021 bytes

View 7 Replies View Related

Programming :: C Program - Getting The Raw Size Of A Block Device

Oct 16, 2010

How do you go about getting the raw size of a block device under Linux from within a C program? And I mean the raw size of the block device itself, not a file system that may or may not be installed on it. And I'd like to be able to get the raw size of any block device, from hard drives (e.g., /dev/sda) to LVM partitions (/dev/mapper/vg0-home) to loop devices to anything else that is a Linux block device.

View 3 Replies View Related

General :: Data On Disk Drive Management By OS - Getting Base I/O Unit Size?

Mar 31, 2010

I want to ensure I have done all I can to configure a system's disks for serious database use. The three areas I know of (any others?) to be concerned about are: I/O size: The database engine and disk's native size should either match, or the database's native I/O size should be a multiple of the disk's native I/O size. DMA: Disks that are capable of Direct Memory Access (eg. IDE) should be configured for it.
Write-caching: When a disk says it has written data persistently, it must be so! No keeping it in cache and lying about it.

I have been looking for information on how to ensure these are so for CentOS and Ubuntu, but can't seem to find anything at all. I want to be able to check these things and change them if needed. The actual hardware involved is very modest. The point is to get the most out of what hardware we do have, even though it's "not very serious hardware" from a broader perspective.

View 1 Replies View Related

General :: Find Out Maximum Size Of A Image Disk File Created By Kvm-img?

May 22, 2011

I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.

View 1 Replies View Related

Ubuntu :: Mounting NTFS Changing The Block Size?

Mar 31, 2010

I have reformatted my hard drive with allocation size 64K for a better performance on my WDTV HD media player(dealing with large files). When I mount this drive on Linux, the mount tells me that "blksize=4096".If I keep writing files usinghis default etting(blksize=4096) to my NTFS formatted hard drive, will my WDTV be able to benefit from the performance improvement of 64k allocation size ? Should I try and mount my hard drive with a larger blksize ?I did some research on google but couldn't find an option to increase the blksize when mounting an NTFS pre-formatted drive.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved