Drbl/clonezilla and softawre raid

View: New views
10 Messages — Rating Filter:   Alert me  

Drbl/clonezilla and softawre raid

by loic2707 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Helle everybody, at first, please forgive me for my bad english, but i'm french and not used to write or speak in english. I'll try to avoid using google translator at least ;)
So what happenned to my fabulous Drbl/clonezilla server ? For my job, i have some Linux ubuntu station, they are both files servers and working station. I receive them in order to use ( just a little bit configuration to do), but when one or more of them are "broken", i have to do a complete install and i'd like to use my drbl server to pass this step and be more reactive for the users.
But those stations are configured with 2 hard disks in raid ( software). there are 5 partitions, 4 in raid 1 and one swap in raid 0. when i want to clone, it use DD, and after clonning, when i put back the image, the station doesn't works ( initramfs appears and when i check the raid ( cat /proc/mdstat ) they are broken.
Does anyone has an idea for me ? ( if possible with a english easy to use :p )thanks a lot.

Re: Drbl/clonezilla and softawre raid

by loic2707 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, i answer myself : after searching and translating ( very very hard for me :) ) it seems that the problem comes from the superblocks written by the raid, but i didn't succeed to find a solution to restore those superblocks. It would really help me if someone could give me just a link in order to find how to clone those superblocks ( even after restore the image, and by making a script with DRBL/Clonezilla ).
For information, i have to manage 1500 computers and it's so faster with that cloning solution   i just would like to make the same with my linux computers

Re: Drbl/clonezilla and softawre raid

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi loic2707,
I did not read your previous mail, maybe it's filtered by our mail
filter, could you describe your question again ?
Thanks.

Steven.

loic2707 wrote:

> Hi, i answer myself : after searching and translating ( very very hard for me
> :) ) it seems that the problem comes from the superblocks written by the
> raid, but i didn't succeed to find a solution to restore those superblocks.
> It would really help me if someone could give me just a link in order to
> find how to clone those superblocks ( even after restore the image, and by
> making a script with DRBL/Clonezilla ).
> For information, i have to manage 1500 computers and it's so faster with
> that cloning solution :jumping: :clap: i just would like to make the same
> with my linux computers :confused:
>

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Drbl/clonezilla and softawre raid

by loic2707 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, thanks for your answer. i may have made a mistake in filling the forms for the mailing list : not really good in english and quite not used to use mailing lists, sorry... so i copy paste my first message :
Hello everybody, at first, please forgive me for my bad english, but i'm french and not used to write or speak in english. I'll try to avoid using google translator at least ;)
So what happenned to my fabulous Drbl/clonezilla server ? For my job, i have some Linux ubuntu station, they are both files servers and working station. I receive them in order to use ( just a little bit configuration to do), but when one or more of them are "broken", i have to do a complete install and i'd like to use my drbl server to pass this step and be more reactive for the users.
But those stations are configured with 2 hard disks in raid ( software). there are 5 partitions, 4 in raid 1 and one swap in raid 0. when i want to clone, it use DD, and after clonning, when i put back the image, the station doesn't works ( initramfs appears and when i check the raid ( cat /proc/mdstat ) they are broken.
Does anyone has an idea for me ? ( if possible with a english easy to use :p )thanks a lot.


End of copy

So i think i've found a first way to answer myself, if i've good understood what i read and translate : it seems that when the raid is mounted ( software), it put some superblocks somewhere on the hard disks, with the UUID and when i clone it ( with D, in fact the others doesn't seems to succeed ) it keep the same uuid, but my destination disks aren't the same, so i obtains just an iniramfs- busybox, and when i ask for my raid ( cat /proc/mdstat) it answer that anything works....
Do you have a suggestion ? i love that drbl/clonezilla and hope that it could help me in that case too.

Re: Drbl/clonezilla and softawre raid

by Les Mikesell-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

loic2707 wrote:

> Helle everybody, at first, please forgive me for my bad english, but i'm
> french and not used to write or speak in english. I'll try to avoid using
> google translator at least ;)
> So what happenned to my fabulous Drbl/clonezilla server ? For my job, i have
> some Linux ubuntu station, they are both files servers and working station.
> I receive them in order to use ( just a little bit configuration to do), but
> when one or more of them are "broken", i have to do a complete install and
> i'd like to use my drbl server to pass this step and be more reactive for
> the users.
> But those stations are configured with 2 hard disks in raid ( software).
> there are 5 partitions, 4 in raid 1 and one swap in raid 0. when i want to
> clone, it use DD, and after clonning, when i put back the image, the station
> doesn't works ( initramfs appears and when i check the raid ( cat
> /proc/mdstat ) they are broken.
> Does anyone has an idea for me ? ( if possible with a english easy to use :p
> )thanks a lot.

I'll second this request - at least to be able to clone 1 disk out of a
linux software RAID1 pair and have it come up working and bootable.  The
  mirror disk can always be rebuilt by cloning the partition table and
using mdadm to add and sync the partitions.

--
   Les Mikesell
    lesmikesell@...


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Drbl/clonezilla and softawre raid

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's true. Clonezilla so far has not support software raid. We will
try to make it in the future release.
BTW, what kind of software RAID are you using ?

Steven.

loic2707 wrote:

> Hi, thanks for your answer. i may have made a mistake in filling the forms
> for the mailing list : not really good in english and quite not used to use
> mailing lists, sorry... so i copy paste my first message :
> Hello everybody, at first, please forgive me for my bad english, but i'm
> french and not used to write or speak in english. I'll try to avoid using
> google translator at least ;)
> So what happenned to my fabulous Drbl/clonezilla server ? For my job, i have
> some Linux ubuntu station, they are both files servers and working station.
> I receive them in order to use ( just a little bit configuration to do), but
> when one or more of them are "broken", i have to do a complete install and
> i'd like to use my drbl server to pass this step and be more reactive for
> the users.
> But those stations are configured with 2 hard disks in raid ( software).
> there are 5 partitions, 4 in raid 1 and one swap in raid 0. when i want to
> clone, it use DD, and after clonning, when i put back the image, the station
> doesn't works ( initramfs appears and when i check the raid ( cat
> /proc/mdstat ) they are broken.
> Does anyone has an idea for me ? ( if possible with a english easy to use :p
> )thanks a lot.
>
>
> End of copy
>
> So i think i've found a first way to answer myself, if i've good understood
> what i read and translate : it seems that when the raid is mounted (
> software), it put some superblocks somewhere on the hard disks, with the
> UUID and when i clone it ( with D, in fact the others doesn't seems to
> succeed ) it keep the same uuid, but my destination disks aren't the same,
> so i obtains just an iniramfs- busybox, and when i ask for my raid ( cat
> /proc/mdstat) it answer that anything works....
> Do you have a suggestion ? i love that drbl/clonezilla and hope that it
> could help me in that case too.
>
>  


--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Drbl/clonezilla and softawre raid

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK. +1... We will do our best to make it in the future.

Steven.

Les Mikesell wrote:

> loic2707 wrote:
>  
>> Helle everybody, at first, please forgive me for my bad english, but i'm
>> french and not used to write or speak in english. I'll try to avoid using
>> google translator at least ;)
>> So what happenned to my fabulous Drbl/clonezilla server ? For my job, i have
>> some Linux ubuntu station, they are both files servers and working station.
>> I receive them in order to use ( just a little bit configuration to do), but
>> when one or more of them are "broken", i have to do a complete install and
>> i'd like to use my drbl server to pass this step and be more reactive for
>> the users.
>> But those stations are configured with 2 hard disks in raid ( software).
>> there are 5 partitions, 4 in raid 1 and one swap in raid 0. when i want to
>> clone, it use DD, and after clonning, when i put back the image, the station
>> doesn't works ( initramfs appears and when i check the raid ( cat
>> /proc/mdstat ) they are broken.
>> Does anyone has an idea for me ? ( if possible with a english easy to use :p
>> )thanks a lot.
>>    
>
> I'll second this request - at least to be able to clone 1 disk out of a
> linux software RAID1 pair and have it come up working and bootable.  The
>   mirror disk can always be rebuilt by cloning the partition table and
> using mdadm to add and sync the partitions.
>
>  


--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Drbl/clonezilla and softawre raid

by loic2707 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steven Shiau wrote:
OK. +1... We will do our best to make it in the future.

Steven.
Thank you for your interest and your answers. I would be very interested if you succeed in making this possible, i would spend less time on basic configuration and more for the users.
Bye and thanks again

Re: Drbl/clonezilla and softawre raid

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Will do that in the future release. I can not promise when it will be
done, but will do our best. Please keep pushing us. :)

Steven.

loic2707 wrote:

> Steven Shiau wrote:
>  
>> OK. +1... We will do our best to make it in the future.
>>
>> Steven.
>>
>>
>>
>>    
> Thank you for your interest and your answers. I would be very interested if
> you succeed in making this possible, i would spend less time on basic
> configuration and more for the users.
> Bye and thanks again :jumping:
>  


--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Drbl/clonezilla and softawre raid

by Sturla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Push push push ;)
I'd like support for mdadm too, but I have one more question:
Is it possible to get support for changing the windows id, workgroup and name directly from drbl/clonezilla?
I don't have the programming skills myself, but I bet I'm not the only one willing to pay somebody to make this happen.
Any suggestions?

Thanx

Sturla


Steven Shiau wrote:
Will do that in the future release. I can not promise when it will be
done, but will do our best. Please keep pushing us. :)

Steven.

loic2707 wrote:
> Steven Shiau wrote:
>  
>> OK. +1... We will do our best to make it in the future.
>>
>> Steven.
>>
>>
>>
>>    
> Thank you for your interest and your answers. I would be very interested if
> you succeed in making this possible, i would spend less time on basic
> configuration and more for the users.
> Bye and thanks again :jumping:
>  


--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Drbl-user mailing list
Drbl-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/drbl-user