[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re:SOLVED:Raid 0 array



On 10/11/05, Antony Gelberg <antony@wayforth.co.uk> wrote:
> TAC Forums wrote:
> > On 10/10/05, Alvin Oga <aoga@mail.linux-consulting.com> wrote:
> >
> >>hi ya tac
> >>
> >>On Mon, 10 Oct 2005, Antony Gelberg wrote:
> >>
> >>
> >>>TAC Forums wrote:
> >>>
> >>>>Hi All,
> >>>>
> >>>>We have a Debian 3.1 Sarge Stable running on a backup server.
> >>>>
> >>>>The server has 5 Harddisks, two IDE and Three SCSI.
> >>>>When we manually form the RAID array with the mdadm command , do an
> >>>>mkfs.ext3 on the array and then mount the array ( /dev/md0) on /backup
> >>>>every thing is fine.
> >>
> >>what commands did you manally do ??
> >>- put those into the startup scipts or create raid startup script
> >
> >
> > Well, i did the following
> >
> > mdadm --create /dev/md0 --level=0 --raid-devices=5  /dev/hda3
> > /dev/hdb1 /dev/sda1 /dev/sdb1 /dev/sdc1
> >
> > mkfs.ext3 /dev/md0
> >
> > An entry in /etc/fstab to mount  the array on /backup
> >
> > Will try putting them in start up.
>
> You should not do this.
>
>
> --
Well, the mistory  is finally solved.

After every reboot, if i did the following :

mdadm --assemble /dev/md0
mount -a

The raid would be back , with no data loss too..

Added the above in startup


--
TAC Support Team



Reply to: