RE: [SLE] Anyone used the Webmin Raid function?

From: Maraglia, Dominicx (dominicx.maraglia_at_intel.com)
Date: 11/21/03

  • Next message: Alex Angerhofer: "Re: [SLE] 9.0 installation problems (Part 2)"
    Date: Thu, 20 Nov 2003 15:53:56 -0800
    To: "Maraglia, Dominicx" <dominicx.maraglia@intel.com>, "Tom Nielsen" <tom@neuro-logic.com>, "Suse" <suse-linux-e@suse.com>, <Soyoung.Park@Sun.COM>
    
    

    Hello Tom,

    So, I did some testing here and I had no problem creating a RAID 1 volume and keeping the existing data intact. I performed this test of local disks and SAN volumes and in both cases the RAID 1 was created without data loss. However, I would say to be careful and back up your data!

    Here are the step-by-step commands -- you can easily put these into your own shell script.

    All these commands must be executed as root; please use caution and ask questions if in doubt!

    1) Create and save a file "/etc/raidtab" with the follwing contents:

         raiddev /dev/md0
                   raid-level 1
                   persistent-superblock 1
                   chunk-size 32
                   nr-raid-disks 2
                   device /dev/sdc1 # original drive with data on it
                            raid-disk 0
                   device /dev/sdf1 # new drive being added to the RAID
                            raid-disk 1

    2) Execute the command "/sbin/mkraid --really-force /dev/md0"

    3) Now execute "/sbin/raidstart /dev/md0"

    4) You will need to mount the RAID volume to make is accessible; something like this:

    /bin/mount -t ext2 /dev/md0 /mnt/raid

    That's it...you RAID volume should now be accessible under /mnt/raid

    Hope this is helpful.

    Cheers,
    Dominic

    > Hey Tom,
    >
    > I do a lot of testing with software RAID here at work. I
    > found webmin a bit kludgy, so I researched the topic and
    > found the commands webmin calls. Webmin is cool, but it
    > insulates you from what is happening "under the hood". If
    > you are interested I can send you some very helpful scripts...
    >
    > Cheers,
    > Dominic
    >
    >
    >
    > > -----Original Message-----
    > > From: Tom Nielsen [mailto:tom@neuro-logic.com]
    > > Sent: Wednesday, November 19, 2003 12:28 PM
    > > To: Suse
    > > Subject: [SLE] Anyone used the Webmin Raid function?
    > >
    > >
    > > I'm thinking of trying the Raid 1 function in webmin, but I
    > can't find
    > > any documentation. Has anyone tried it?
    > >
    > > tom
    > > --
    > >
    > >
    > > Tom Nielsen
    > > Neuro Logic Systems
    > > 805.389.5435 x18
    > > www.neuro-logic.com
    > >
    >
    > --
    > Check the headers for your unsubscription address
    > For additional commands send e-mail to suse-linux-e-help@suse.com
    > Also check the archives at http://lists.suse.com
    > Please read the FAQs: suse-linux-e-faq@suse.com
    >
    >
    >

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Alex Angerhofer: "Re: [SLE] 9.0 installation problems (Part 2)"