General :: Perform HDD Cloning / Mirroring?

May 10, 2011

Currently I backing up the MBR, the C and the other partitions to an external USB HDD and from there I restore them if needed. I use the SystemRescueCd and commands like dd if=/dev/sd* of=/mnt/PC_name/backupmbr.1 count=1 bs=512 and ntfsclone --save-image --output /mnt/PC_name/PC_name_c.img /dev/sd*1 etc. I want to clone the HDD the way, however, that I omit the external USB drive. I want to connect the new HDD to the PC and do the cloning directly from one disc to the other.

My questions are:

- Can you provide me with the exact command?
- Is that a difference if the disc is SATA or IDE?
- Can I copy the disc even if the old disc don't wan to boot?

The OS is Windows on the disc I want to clone.

View 14 Replies


ADVERTISEMENT

General :: Creating A Raid Device Which Has Both Stripping And Mirroring?

Mar 19, 2011

I just tried creating a raid Device which has both stripping and mirroring i have done as below Quote:

mdadm -C /dev/md00 -l1 -n2 /dev/sda7 /dev/sda8
mdadm -C /dev/md01 -l1 -n2 /dev/sda9 /dev/sda10
mdadm -C /dev/md02 -l0 -n2 /dev/md00 /dev/md01
pvcreate /dev/md02
vgcreate volgroup02 /dev/md02
lvcreate -n orac -L 9G volgroup02

[Code]...

Everything is fine until here but after reboot the device wont mount on /orac it says special device not available i found that that md02 device is not in active state
i tried deleting it and recreating it but no use still it wont persist a reboot

View 1 Replies View Related

General :: Bash - Mirroring Of Multiple Directories - Hard Linking

Apr 11, 2011

I have 5 FTP users that upload files (and subdirectories) in their home directory, i need to mirror theese directories beetween them and with a "master" directory (accessible from a 6th user). Files can contain spaces or others special caracters. All the files are in the same filesystem, and i want to use hard link because i don't want to waste 5 time the space of a single file. I tried with find but i cannot handle spaces in it.

View 1 Replies View Related

General :: Create A RAID1 (mirroring Only) Array With 3 Live Drives?

Jun 16, 2010

I'm not entirely a newbie, but this seems like such a simple question I'm not sure where else to ask it. I checked through the various HOWTOs and searched already and didn't find a clear answer, and I want to know for sure before we start investing in hardware. Is is possible to create a RAID1 (mirroring only) array with 3 live drives, rather than with 2 live plus a spare? Our goal is to have 3 drives in a hot-swap bay, and be able to pull and replace one drive periodically as a full backup. If I do:

[URL]

View 2 Replies View Related

General :: Cloning Using Clonezilla On HDD

Jul 28, 2010

I want to clone my fedora8 HDD using clonezilla.I have downloaded,and want to boot from that.I have created one partition sda8 with 740 mb and formatted with ext3 and mounted that on /mnt. I have extracted the files onto /mnt from clonezilla zip file. I appended the necessary lines told by website to the grub.menu.lst , after rebooting when i select that clonezilla from grub,it was telling unrecognized format and cant mount the partition.

how to mount the partition permanently in fstab. Tell me how to modify the grub file to work correctly to boot from that partition.

Output of fdisk

Disk /dev/sda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa95ea95e

[Code]....

View 2 Replies View Related

General :: Sed Command Does Not Perform Substitution

Jul 22, 2010

I've been trying to use a find command with -exec to find the differences between identically-named files in different paths. My initial attempt was to do something like this:
Code: find trunk/ -type f -not -path '*.svn*' -exec diff '{}' `echo '{}' | sed 's/^trunk///'` ;

Unfortunately this does not work at all as expected (the diff ends up executing on the same file)! I have narrowed it down to the subshell (inside the ``) but beyond that I have no idea. For some reason the sed, though written correctly, does not perform the substitution. I've changed the diff to echo and played with the sed command and the only way I can get it to perform _any_ substitution is to use .* as the regex. Even s/.*trunk.*/SUB/ doesn't work. Any insight into the inner workings of -exec/subshells/pipes or some crap I'm missing? Don't worry about rewriting the command to make it work; I simply swapped the paths and got rid of the subshell nonsense and everything works fine.

View 4 Replies View Related

General :: How To Perform A Hardware Inventory

Mar 3, 2011

is there an easy way for me to get the hardware specs of a linux machine, such as number and type of processors, RAM, BIOS version, # of power supplies, etc from a command line?

I'm dealing with Dell servers, but even if i can just get number and type of processors and RAM config, that'd be great. I know how to easily do it in Windows, no clue on Linux.

View 6 Replies View Related

General :: Steps To Perform OS Patching?

Apr 10, 2011

I need to perform patching on some RHEL boxes.
This the first time i am gonna do this. Kindly advise, how and what are the steps i should take to perform the OS patching.

View 6 Replies View Related

General :: Cloning Drive With DD - Progress Indicator?

Jan 20, 2010

I have a Shuttle XPC with 3 drives. /dev/sda is a 320GB SATA drive with a basic installation. Two partitions, a swap and the rest is on /. The other two drives are 1.5TB SATA configured as a software mirror as /dev/md0.

I want to use dd to clone the 320GB boot/OS drive to a 750GB SATA I have at home. Last night I put the 750 in a USB enclosure and at about 6:00 PM fired off: dd if=/dev/sda of=/dev/sdd

It's now 7:16 AM and the dd is *STILL* going. Is this unusually long to clone the drive? Is there any way to check the progress or a way to launch dd with a progress indicator?

View 3 Replies View Related

General :: Cloning A HD Or Partition Onto A Different Hard Drive

Nov 2, 2010

I want to move the entire contents of my backup HD to another HD. I could manually copy everything, but I was hoping to clone the entire backup hard drive. I tried to do it with Gparted, but as far as I can tell, I can't clone between drives, only between partitions on the same drive (I've done that before). So how can I do this in Linux? I think one of my drives came with a cloning utility on a CD, but I'm not sure I still have the CD.

View 2 Replies View Related

General :: Dumb Down The Process Of Cloning A Workstation?

Oct 7, 2010

Can some one dumb down the process of cloning a workstation.I have a working workstation that I want a image of and I have a server to put the imagen then I want to take that image and apply to two other work stations.

View 7 Replies View Related

General :: Possible To Perform An Up-to-date Installation Of CentOS 5?

Feb 15, 2010

Can one perform an installation of CentOS 5 (5.4) so that the system is up-to-date at the time of the first boot (i.e. Anaconda will pull and install the 'latest' versions of the packages directly, and the user needn't run `yum update` | `yum upgrade` after the system has been installed)?

If this is doable at all, is it possible to accomplish without making use of a personally custom-crafted-and-hosted repository (i.e. can one of the official CentOS mirrors be used)?

Also, I'm not talking about creating an install DVD containing the latest versions of the packages, but rather, if the netinstall media can be used to perform this particular type of installation.

View 2 Replies View Related

General :: Perform A Safe Upgrade In Debian?

Mar 20, 2010

I am using debian 5.04 + LXDE. In the past, I sometime encounter problems such as the distro broken after performed a full apt dist-upgrade or upgrade. Now, I am more conservative, I am using apt safe-upgrade.

I want to know are there anyway to do a better safe upgrade for debian without breaking the distro?

View 2 Replies View Related

General :: Perform An E2fsck -y On Only Two Volumes At Restart?

Mar 10, 2011

I want to perform an e2fsck with the y switch (so I dont have to answer yes to every question) on two volumes on a server the next time I restart it. I don't want to do a shutdown -rF because 1) I dont want to check the other volumes and 2) it seems when I do that, the e2fsck doesn't keep restarting itself over and over to fix all the problems. Seems like it runs once, then if it fails it drops you to the repair console in single user mode. I'd rather just have it start the check that will keep repeating over and over right away, because I know it'll take more than one pass.

View 5 Replies View Related

General :: Perform Root Level Tasks While In GUI?

Oct 5, 2010

There must be a way to perform privileged tasks in the Gnome desktop (or actually Nautilus, I guess)...similar to using SUDO in a terminal window.

For example I want to change the rights to a file, but Nautilus tells me I can't because I'm not the owner.

View 8 Replies View Related

General :: My Ubuntu 10.04 Restarts As Perform A Certain Task

Aug 24, 2010

Am have a little problem with my ubuntu 10.04 which restarts as i do some task for example..as i am copying...playing music..and any operation task.

View 1 Replies View Related

General :: Sed: Perform Replacement Only On Even-numbered Lines?

Jul 20, 2010

I'm sure this is possible but I can't figure it out. I have a file formatted like this:

Code:
>SEQUENCE1
FGFD665:?@663:BBBBAA?A@<<4!1004699<7444399>???888455555?AAA?AABBB@@@<<<34
>SEQUENCE2
>&<4!1004699<7444399>???888455555?AAA?AABBB@@@<<<34BBB@@
>SEQUENCE3
???888455555?AAA?AABBB@@@<<<341004699<7444399>???888BBB@@

The odd-numbered lines containing >SEQUENCE# are the headers and the even-numbered lines containing a variety of characters represent DNA sequence read quality scores.

I want to replace all of the greater-than (">") symbols in the quality scores (even-numbered lines) with a "0" but I want to leave the greater-than symbols on the odd-numbered lines alone. I would just use sed -i '/^>/! s/>/0/g' $FileName but sometimes the quality scores begin with a ">" as well.

I'm sure there is a simple modification of a normal sed command with an "n" inserted somewhere but I can't figure it out.

View 3 Replies View Related

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 View Related

General :: Cloning PC Image To External - Read Error

Nov 2, 2010

I have a pc I want to clone and it has 2 partitions sda1 which is vfat and sda2 ntfs. When I had mounted my external hdd it was seen as sdc1 and my Knoppix boot as sdb1. I tried using the following command to copy the pc image to my external but when it gets to 26Gb it gives read error.

mkdir -p mybackup
mount -t ntfs -o rw /dev/sdc1 ./mybackup
dd if=/dev/sda of=./mybackup/780.iso bs=4096 conv=notrunc,noerror

Where am I going wrong? Is there anything wrong with my above commands?

View 3 Replies View Related

General :: Cloning Dual Boot Drive Onto Smaller One

May 28, 2010

I've decided that I want to use another, smaller, hard drive for my OS and I'd like to clone /dev/sda onto /dev/sdc. I want it to be an exact clone except my partition for my "/home" will be smaller (since there's not room for it). I was gonna try with dd but I'm not sure if I should build the partition table and use dd-command on one partition at the time? Will this then include GRUB boot loader and will it be working properly?

Do I have to clone the disk completely for it to boot properly? I'm not sure how or where GRUB places itself on disks as you install it. Can I perhaps copy the partitions one by one and then install GRUB from CD afterwards? Should I leave some unallocated space somewhere in between the partitions as I build and clone them?

View 4 Replies View Related

General :: Cloning Logical Volume And Swap And Boot Partitions?

Feb 28, 2011

I have a RHEL4 system with 2 250GB physical volumes. There is a boot partition that is outside LVM and 2 logical volumes (swap and root) within a single volume group. This volume group bridges the 2 physical volumes.

I would like to clone this system onto a single 1 TB physical volume that will replace the 2x250GB currently in use.

View 2 Replies View Related

General :: Perform A Remote Network Boot (F12) In SLES?

Jan 11, 2010

Anyone know how to remotely boot a server so that a network boot (F12) automatically starts? For example, in Solaris, I can type "reboot -- net -s" (hope i remembered the syntax - been a while! )to reboot my server and begin a network installation without having to be at the console. I am looking for the same in SLES.

View 1 Replies View Related

General :: Perform Double Click With Single Stroke?

Jul 19, 2010

I am arthritic and I have considerable difficulty with a double click. I also have difficulty when using a mouse of moving the mouse as I select something (click the button) from whatever window I am working with and thereby selecting the wrong thing. To compensate for this difficulty, I use a Logitech trackball and program the center button to perform a double click with one stroke. I am currently struggling with Linux Mint 9 in my search for a Windows alternative. Is there any way to program my center button (scroll wheel) to perform a double click in this or any other Linux version? Alternatively, is there any way to program a keyboard key to perform a double mouse click with a single stroke? I do not want any multiple key combinations for this operation, I want something that works with a single click of one button.

View 4 Replies View Related

General :: Create A Cron File That Will Regularly Perform?

Jul 30, 2011

Will this:

* * 1 1-12 * #dump -0uf /dev/st0/
* * * * 0 #dump -2uf /dev/st0/
* * 2-31 * 1-6 #dump -5uf /dev/st0/

answer this question?How to create a cron file that will regularly perform the following backups:a. Performs a level 0 backup once per monthb.Performs a level 2 dump one day per weekc.Performs a level 5 dump every day that neither a level 0 nor a level 2 dump is performed. If not, I'm I close? This is homework, so I don't want a direct answer

View 14 Replies View Related

General :: Perform Some Tasks When New File Is Added In Folder

Feb 21, 2011

I have a folder named "logs" which contains log files. I would like to have a bash script or a cron job or something like this which will check the folder continuousy and perform some tasks (for example echo "New file is created") every time a new file with pattern like "Screen.log.***" is created in the folder "logs"
Is it possible in Linux?

View 14 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 :: Partitioning / Perform Bad Blocks Scan On Root Partition

Nov 28, 2010

My root partition is formatted as ext3 and I would like to perform a bad blocks scan on it. Normally e2fsck -c -c does this, but you can not run it on a mounted partition. I know it is possible to force a fsck to run at boot by creating the file /forcefsck but is it possible to specify that it should also check for bad blocks? If not, what is the recommended way to check for bad blocks on the root partition? I would like to avoid having to create a rescue disk and boot off of it.

View 2 Replies View Related

General :: Perform Action When Clipboard Contents Match Regex?

May 20, 2011

I use the Actions feature of KDE's Klipper utility to run certain commands when I copy something into the clipboard that matches a particular regular expression. Unfortunately, I have to turn on Enable Clipboard Actions and select the command from a menu every time I copy something that I want to run the command on. I'd like to have that command run automatically instead.

You'd think this was possible, as there is an automatic checkbox in the action settings dialog box:

Unfortunately, that appears to do nothing. The documentation included with Klipper does not indicate what that checkbox is supposed to do.

Is it possible to configure Klipper to run a command automatically if the contents of the clipboard matches a regular expression? If not, is there another way to accomplish this?

View 1 Replies View Related

General :: How To Perform Root Level Commands - Fedora - Live Media

Jul 21, 2011

I need to use Live Media to make changes to a hard disk drive. I tried to sudo to no effect.

Seems like it would be troublesome to authorize root access on Live Media or have sudo allow commands such as pvcreate,lvcreate,vgcreate, especially if the hard disk is not encrypted.

View 1 Replies View Related

General :: Create A Cron File That Will Regularly Perform A Level 0 Backup Once Per Month?

Mar 3, 2011

How do you create a cron file that will regularly perform a level 0 backup once per month?

View 2 Replies View Related







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