PC Review


Reply
Thread Tools Rate Thread

clonezilla options

 
 
Tom Del Rosso
Guest
Posts: n/a
 
      15th May 2011
I'm using clonezilla in dd mode to clone some workstations with RAID 1
arrays. I made a separate dd image of each drive. After writing them to
one pair of target drives, they work and a RAID integrity test found no
error.

I wanted to get confirmation of some of my choices.

First, it might be better to image one drive and let the RAID controller
rebuild the other, although it takes longer, and the dd image looks 100%
good.

When restoring an image, what's the difference between the first option,
"use partition table from image", and the last option, "use dd to create
partition?"

What's the meaning of the option, "-e2 sfdisk uses CHS from EDD?" It's
selected by default, and sounds like it should be used (where else could it
get CHS data?), so I left it enabled.

I cleared all other options (resize partition, etc) but left the 2 obviously
desired ones enabled: "-c client waits for confirmation" and "-j2 clone
hidden data."

Thanks.


--
Reply in group, but if emailing add one more
zero, and remove the last word.


 
Reply With Quote
 
 
 
 
Rod Speed
Guest
Posts: n/a
 
      15th May 2011
Tom Del Rosso wrote:

> I'm using clonezilla in dd mode to clone some workstations with RAID 1 arrays. I made a separate dd image of each
> drive. After writing them to one pair of target drives, they work and a RAID integrity test found no error.


> I wanted to get confirmation of some of my choices.


> First, it might be better to image one drive and let the RAID
> controller rebuild the other, although it takes longer, and the dd image looks 100% good.


> When restoring an image, what's the difference between the first
> option, "use partition table from image", and the last option, "use
> dd to create partition?"


Presumably clonezilla doesnt always create the same partition table
as was originally used.

> What's the meaning of the option, "-e2 sfdisk uses CHS from EDD?" It's selected by default, and sounds like it should
> be used (where
> else could it get CHS data?), so I left it enabled.


Presumably it uses what is appropriate for itself when dd creates the partition.

> I cleared all other options (resize partition, etc) but left the 2
> obviously desired ones enabled: "-c client waits for confirmation"
> and "-j2 clone hidden data."



 
Reply With Quote
 
Arno
Guest
Posts: n/a
 
      16th May 2011
Tom Del Rosso <(E-Mail Removed)> wrote:
> I'm using clonezilla in dd mode to clone some workstations with RAID 1
> arrays. I made a separate dd image of each drive. After writing them to
> one pair of target drives, they work and a RAID integrity test found no
> error.


That is not a good approach, unless you wipe the original drives.
The problem is that if anybody ever adds one of the originals
to the new machine, you could get severe corruption due to the
same GUIDs being in original and clone RAID metadata.

The right approcah is to create a new RAID1 on the target and only
image the contens of the RAID array, i.e. image /dev/md<x>.
Also note that you need to recreate things like ssh keys,
and random seeds in order for the copy tio be secure, unless
you destroy the originals or never use them again.

> I wanted to get confirmation of some of my choices.


> First, it might be better to image one drive and let the RAID controller
> rebuild the other, although it takes longer, and the dd image looks 100%
> good.


Still not a good idea.

Arno


> When restoring an image, what's the difference between the first option,
> "use partition table from image", and the last option, "use dd to create
> partition?"


> What's the meaning of the option, "-e2 sfdisk uses CHS from EDD?" It's
> selected by default, and sounds like it should be used (where else could it
> get CHS data?), so I left it enabled.


> I cleared all other options (resize partition, etc) but left the 2 obviously
> desired ones enabled: "-c client waits for confirmation" and "-j2 clone
> hidden data."


> Thanks.



> --
> Reply in group, but if emailing add one more
> zero, and remove the last word.




--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: (E-Mail Removed)
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
 
Reply With Quote
 
Tom Del Rosso
Guest
Posts: n/a
 
      16th May 2011
Arno wrote:
> That is not a good approach, unless you wipe the original drives.
> The problem is that if anybody ever adds one of the originals
> to the new machine, you could get severe corruption due to the
> same GUIDs being in original and clone RAID metadata.


Do you mean, if somebody adds it as a third drive?


> The right approcah is to create a new RAID1 on the target and only
> image the contens of the RAID array, i.e. image /dev/md<x>.


It sounds like you're refering to a unix device, and this is Windows.

Only image the contents? Do you mean image the partition only? I thought
the partition table and RAID data would have to be included.


> Also note that you need to recreate things like ssh keys,
> and random seeds in order for the copy tio be secure, unless
> you destroy the originals or never use them again.


In what scenario is it insecure?

Can sysprep take care of that?


--

Reply in group, but if emailing add one more
zero, and remove the last word.


 
Reply With Quote
 
Arno
Guest
Posts: n/a
 
      16th May 2011
Tom Del Rosso <(E-Mail Removed)> wrote:
> Arno wrote:
>> That is not a good approach, unless you wipe the original drives.
>> The problem is that if anybody ever adds one of the originals
>> to the new machine, you could get severe corruption due to the
>> same GUIDs being in original and clone RAID metadata.


> Do you mean, if somebody adds it as a third drive?


Or swaps out one of the existing drives.

>> The right approcah is to create a new RAID1 on the target and only
>> image the contens of the RAID array, i.e. image /dev/md<x>.


> It sounds like you're refering to a unix device, and this is Windows.


Does not matter as long as the metadata is on disk.

> Only image the contents? Do you mean image the partition only? I thought
> the partition table and RAID data would have to be included.


You should create a new parttition table and a new RAID on
the target system in order to have different GUIDs in there.

>> Also note that you need to recreate things like ssh keys,
>> and random seeds in order for the copy tio be secure, unless
>> you destroy the originals or never use them again.


> In what scenario is it insecure?


If an attacker gets access to one of the machines, he
can potentially pretend to be the other.

> Can sysprep take care of that?


No idea.

Arno


> --


> Reply in group, but if emailing add one more
> zero, and remove the last word.




--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: (E-Mail Removed)
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
 
Reply With Quote
 
Tom Del Rosso
Guest
Posts: n/a
 
      18th May 2011
Arno wrote:
>
> > Only image the contents? Do you mean image the partition only? I
> > thought the partition table and RAID data would have to be included.

>
> You should create a new parttition table and a new RAID on
> the target system in order to have different GUIDs in there.


But is there a way to clone the partition after that? Not as far as I can
see. I would have to do it over from start to finish.

The problem is that clonezilla doesn't recognize the RAID controller, and
neither does any other drive image program I tried. Some of them might work
with an F6 disk, but no F6 disk is available for the controller. Windows
install requires a special boot CD that installs Windows with the driver.

Maybe there's a way to make an F6 disk by copying drivers from the install,
and maybe a Vista boot CD could use it, but I don't know how to make an F6
disk from scratch.


--

Reply in group, but if emailing add one more
zero, and remove the last word.


 
Reply With Quote
 
Arno
Guest
Posts: n/a
 
      18th May 2011
Tom Del Rosso <(E-Mail Removed)> wrote:
> Arno wrote:
>>
>> > Only image the contents? Do you mean image the partition only? I
>> > thought the partition table and RAID data would have to be included.

>>
>> You should create a new parttition table and a new RAID on
>> the target system in order to have different GUIDs in there.


> But is there a way to clone the partition after that? Not as far as I can
> see. I would have to do it over from start to finish.


No. What you would have to do is a filesystem clone instead of a
device clone. Typical way is to do a normal backup and restore on the
other system. Since backup is non-optional, you should have
procedure and tools in place anyways.

> The problem is that clonezilla doesn't recognize the RAID controller, and
> neither does any other drive image program I tried. Some of them might work
> with an F6 disk, but no F6 disk is available for the controller. Windows
> install requires a special boot CD that installs Windows with the driver.


Ah, sorry. That is indeed a problem.

> Maybe there's a way to make an F6 disk by copying drivers from the install,
> and maybe a Vista boot CD could use it, but I don't know how to make an F6
> disk from scratch.


Well, this is one way I do not use hardware-RAID anymore.
That and the fact that you have to keep a spare controller
handy in case the one in use breaks.

Arno

--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: (E-Mail Removed)
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 Indexing Options and Advanced Search options disabled Tim Microsoft Outlook Discussion 6 22nd Jun 2009 02:56 PM
"Clonezilla" (GPL software) for cloning systems witan Windows XP General 8 20th Feb 2008 12:01 PM
Outlook 2007, proofing options greyed out in Editing Options dialog Rojo Habe Microsoft Outlook 4 8th Oct 2007 11:33 PM
Tools,Options, Email Options, AdvancedE-mail Options, =?Utf-8?B?WWFrb3Y=?= Microsoft Outlook 4 5th Apr 2005 09:35 AM
Format Paragraph Spacing Options; also Inactive Borders and Shading options mrzed Microsoft Frontpage 1 7th Aug 2004 10:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:30 PM.