Re: Help with ES v3 Raid1 (Mirror)

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

 



yes.
You could also use df to check this.

On 2/1/06, Marc Leveille <marc.leveille@xxxxxxxxxxxxxx> wrote:
> O got it working by replacing the last line in fstab from 1 2 to 0 0. I
> guess it had to due with privileges?
>
> When I log in I now see my /home/apps directory. I will copy stuff
> into /home/apps, then unmount it. if my data is not there, I will
> re-mount it. if my data is there I guess my mounting worked. Would this
> be a valid test?
>
> thanks
> Marc
>
>
> On Wed, 2006-02-01 at 17:20 -0200, Cleber P. de Souza wrote:
> > Hi Marc.
> >
> > I think you forgot somethings.
> > After you fdisk a disk, you must restart the system so the new changes
> > have efect.
> > So I suggest you follow this steps:
> >
> > 1) fdisk sdb setting fd to the partition, as you did;
> > 2) restart the system;
> > 3) execute sfdisk -d /dev/sdb | sfdisk /dev/sdc (copy partition
> > structure from sdb to sdc);
> > 4) restart again;
> > 5) run the command to make the raid devices (mdadm ...), as you did;
> > 6) mkfs.ext3 /dev/md0
> > 7) e2fsck -f /dev/md0
> > 8) add lin in fstab.
> >
> > Ready.
> >
> >
> >
> > On 2/1/06, Marc Leveille <marc.leveille@xxxxxxxxxxxxxx> wrote:
> > > I have tried this all morning without success. I also tried making the
> > > raid device using sdb1 and sdc1 as oppesed to sdb and sdc. Here is what
> > > I am doing in exact steps because sometimes one little thing can mess
> > > things up.
> > >
> > > 1- Fdisk sdb and create a primary partition with full size of drive and
> > > set type to FD (Linux Raid). write and exit
> > > 2- same as step 1 but for sdc.
> > > 3- run the command to make raid device. "mdadm --create /dev/md0
> > > --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
> > > 4- mkfs.ext3 /dev/md0 (completes with noe errors)
> > > 5- e2fsck -f /dev/md0 (works with no errors)
> > > 6- add line in fstab
> > > /dev/md0   /home/apps  ext3    defaults  1 2
> > >
> > > reboot and get
> > >    FSCK.ext3 /dev/mdo the superblock could not be read or does not
> > > describe a correct EXT2 Filesystem.......bla bla and asks to run E2FSCK
> > > -B 8193
> > >
> > > e2fsck: invalid arguement whilt trying to open /dev/md0
> > >
> > > thanks
> > >
> > > Marc
> > >
> > > On Wed, 2006-02-01 at 13:40 -0200, Cleber P. de Souza wrote:
> > > > OK.
> > > > Put your success of failure here later.
> > > > I had this problem one time making raid from a existing Red Hat system
> > > > and solve in this way.
> > > >
> > > > On 2/1/06, Marc Leveille <marc.leveille@xxxxxxxxxxxxxx> wrote:
> > > > > Hi, I never ran e2fsck -f /dev/md0 after making fs on /dev/md0.
> > > > >
> > > > > I will try this this morning.
> > > > >
> > > > > Marc
> > > > >
> > > > > On Wed, 2006-02-01 at 10:15 -0200, Cleber P. de Souza wrote:
> > > > > > Hi Marc.
> > > > > >
> > > > > > After run mdadm --create you must also run mkfs.ext3 /dev/md0 and
> > > > > > e2fsck -f /dev/md0.
> > > > > > So you will get OK.
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 1/26/06, Marc Leveille <marc.leveille@xxxxxxxxxxxxxx> wrote:
> > > > > > > Hi, I'm trying to setup a Raid1 mirror between 2 hard drives. I have the
> > > > > > > following.
> > > > > > >
> > > > > > > 1- SDA 36gig System disk
> > > > > > > 2- SDB 36gig blank
> > > > > > > 3- SDC 36gig blank
> > > > > > >
> > > > > > > I'm trying to Mirror SDB to SDC by doing the following.
> > > > > > >
> > > > > > > 1- By using FDisk I created SDB1 and SDC1 on each drive.
> > > > > > > 2- I then makefs ext3 for each partition.
> > > > > > > 3- Then I used mkadm --create /dev/md0 --level=1
> > > > > > > --raid-devices=2 /dev/sdb1 /dev/sdc1
> > > > > > >
> > > > > > > I ran watch cat /proc/mdstat until the process was completed.
> > > > > > > 4- when it was complete I tested the mount using mount -t
> > > > > > > ext3 /dev/md0 /home/apps and it mounted and I was able to open it.
> > > > > > > 5- I then edited fstab with /dev/md0 /home/apps ext3 defaults 1 2 and
> > > > > > > rebooted.
> > > > > > > 6- I now get the following error at boot.
> > > > > > >
> > > > > > > FSCK.ext3 /dev/mdo the superblock could not be read or does not describe
> > > > > > > a correct EXT2 Filesystem.......bla bla and asks to run E2FSCK -B 8193
> > > > > > >
> > > > > > > 7- I used Vi and comented out the mount in fstab and re-booted. I tried
> > > > > > > to manually mount the drive the same way as (Item #4) and it now fails
> > > > > > > Mount: Wrong FS Type.
> > > > > > >
> > > > > > > Any ideas as to what I need to do. Sould I use ext3 ?
> > > > > > >
> > > > > > > thanks
> > > > > > >
> > > > > > > Marc
> > > > > > >
> > > > > > > --
> > > > > > > redhat-list mailing list
> > > > > > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > > > > > > https://www.redhat.com/mailman/listinfo/redhat-list
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Cleber P. de Souza
> > > > > >
> > > > >
> > > > > --
> > > > > redhat-list mailing list
> > > > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > > > > https://www.redhat.com/mailman/listinfo/redhat-list
> > > > >
> > > >
> > > >
> > > > --
> > > > Cleber P. de Souza
> > > >
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> >
> >
> > --
> > Cleber P. de Souza
> >
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


--
Cleber P. de Souza

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux