Re: RAID 1 failure

2009-03-18 Thread Wojciech Puchar

#echo 'geom_mirror_load=YES'  /boot/loader.conf

UNFORTUNATELY, I forgot that steps now I'm facing a problem how to correct
it where in after I  restart the machine the system refuse to boot, I'm
stack on this loading:

F1 FreeBSD
F5 Drive 1

Default:F1

BTX loader 1.00 BTX version is 1.02
Consoles: Internal video/keyboard
Bios drive C: is disk 0
Bios drive D: is disk 1
Bios 631KB/2094592KB available memory

FreeBSD i386 bootstrap loader, Revision 1.1
(r...@logan.case.buffalo.edu Thu Jan 1 09:55:10 UTC 2009)
Loading /boot/defaults/loader.cof



Do you have any idea how to do it?
Hope there is...


could you please tell exactly how your gmirror is configured?

as whole drive mirror or partition?

and please tell how disk is labeled/partitioned
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: RAID 1 failure

2009-03-18 Thread Johan Hendriks
You could download the live cd

Start the computer and insert the boot cd.
After it is done with booting select the option fixit and then Live cd.

It will ask for the live cd.

Then do the following

# chroot /dist
# mount_devfs devfs /dev
From version FreeBSD 7 You miust use mount -t devfs devfs /dev

# gmirror load
 
In the following command replace gm0 and s1a to the name of your mirror and the 
name of your / slice.
If you followed the howto it should be as follows
 
# mount /dev/mirror/gm0s1a /mnt

# ee /mnt/boot/loader.conf
Now you can edit the loader.conf file on your mirror.

So add the line: 
geom_mirror_load=YES

now exit ee and exit the livecd
# exit
# exit

Shutdown the installer, and reboot your system.

Regards,
Johan Hendriks





No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.18/2008 - Release Date: 03/17/09 
16:25:00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RAID 1 failure

2009-03-18 Thread Ruel Luchavez
Hi..I followed what Johan Henriks post

BUT when i type a command
#mount /dev/mirror/gm0s1a/mt

I get this error:

fstab:/etc/fstab:0: No such file or directory
fstab:/etc/fstab:0 No such file or directory
mount:dev/mirror/gm0s1a/mnt:unknown special file or file system

when I go to the directory /dev/mirror then issue ls, heres the filename
inside the directory

gmo
gmos1
gmos1a
gmos1b
gmos1c
gmos1d
gmos1e
gmss1f

I think there is a miss type (typo) in my part during I followed the HOW
TO,in which incase of writing 0 i wrote letter o..am I write?

but how do i resolve this?
Thanks for the reply...

FreeBSd ROcks all the time


2009/3/18 Johan Hendriks jo...@double-l.nl

 You could download the live cd

 Start the computer and insert the boot cd.
 After it is done with booting select the option fixit and then Live cd.

 It will ask for the live cd.

 Then do the following

 # chroot /dist
 # mount_devfs devfs /dev
 From version FreeBSD 7 You miust use mount -t devfs devfs /dev

 # gmirror load

 In the following command replace gm0 and s1a to the name of your mirror and
 the name of your / slice.
 If you followed the howto it should be as follows

 # mount /dev/mirror/gm0s1a /mnt

 # ee /mnt/boot/loader.conf
 Now you can edit the loader.conf file on your mirror.

 So add the line:
 geom_mirror_load=YES

 now exit ee and exit the livecd
 # exit
 # exit

 Shutdown the installer, and reboot your system.

 Regards,
 Johan Hendriks





 No virus found in this outgoing message.
 Checked by AVG - www.avg.com
 Version: 8.0.238 / Virus Database: 270.11.18/2008 - Release Date: 03/17/09
 16:25:00

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RAID 1 failure

2009-03-18 Thread Ruel Luchavez
hello Adam

Unfortunately, when I boot the machine I can't see the boot menu, Unlike
with my other machine running version 7.0 ang 6.0 FreeBSD there is a boot
menu but with this 7.1 reelase no boot menu showed up.

Any idea?

Thanks...


On Thu, Mar 19, 2009 at 2:15 AM, Adam Vandemore amvandem...@gmail.comwrote:

 Ruel Luchavez wrote:

 Hello..

 Hope there is some one out here can fix my problem.

 I have fresh installed FreeBSD 7.1 on my IBM system X3100 server (2 160GB
 hard drive), I have decided to do a RAID1 by using the steps
 on the handbook :

 http://www.freebsd.org/doc/en/books/handbook/geom-mirror.html

 as the site stated you have to enable the loading of the geom_mirror.ko
 kernel module during the system intialization
 by putting

 #echo 'geom_mirror_load=YES'  /boot/loader.conf

 UNFORTUNATELY, I forgot that steps now I'm facing a problem how to correct
 it where in after I  restart the machine the system refuse to boot, I'm
 stack on this loading:

 F1 FreeBSD
 F5 Drive 1

 Default:F1

 BTX loader 1.00 BTX version is 1.02
 Consoles: Internal video/keyboard
 Bios drive C: is disk 0
 Bios drive D: is disk 1
 Bios 631KB/2094592KB available memory

 FreeBSD i386 bootstrap loader, Revision 1.1
 (r...@logan.case.buffalo.edu Thu Jan 1 09:55:10 UTC 2009)
 Loading /boot/defaults/loader.cof



 Do you have any idea how to do it?
 Hope there is..

 You can load gmirror from the loader prompt as well.  Option 6 from the
 boot menu I believe.  ? will give list of exact commands.  You should enter
 something like this:

 load geom_mirror
 boot

 then edit loader.conf after system is up.


 --
 Adam Vandemore
 Systems Administrator
 IMED Mobility
 (605) 498-1610


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RAID 1 failure

2009-03-18 Thread Polytropon
Maybe it's a typo in the mail, but two things look stange
to me:

On Thu, 19 Mar 2009 09:21:17 +0800, Ruel Luchavez ruel.free...@gmail.com 
wrote:
 BUT when i type a command
 #mount /dev/mirror/gm0s1a/mt
 ^  ^^
 mount:dev/mirror/gm0s1a/mnt:unknown special file or file system
^ ^^^

Is this intended? Or just a typo in the reproduction?



 I get this error:
 
 fstab:/etc/fstab:0: No such file or directory
 fstab:/etc/fstab:0 No such file or directory

[...]

 when I go to the directory /dev/mirror then issue ls, heres the filename
 inside the directory
 
 gmo
 gmos1
 gmos1a
 gmos1b
 gmos1c
 gmos1d
 gmos1e
 gmss1f
 
 I think there is a miss type (typo) in my part during I followed the HOW
 TO,in which incase of writing 0 i wrote letter o..am I write?

Yes, looks like...



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RAID 1 failure

2009-03-18 Thread Ruel Luchavez
*well its a typo..sory list...*

On Thu, Mar 19, 2009 at 9:45 AM, Polytropon free...@edvax.de wrote:

 Maybe it's a typo in the mail, but two things look stange
 to me:

 On Thu, 19 Mar 2009 09:21:17 +0800, Ruel Luchavez ruel.free...@gmail.com
 wrote:
  BUT when i type a command
  #mount /dev/mirror/gm0s1a/mt

   ^  ^^
 *  the correct one i issue
   #mount /dev/mirror/gmos1a /mnt*

   *then I get no error anymore, then I follow the remaining steps of Johan
Hendriks
   after the machine rebooted..my problem is still there...:(

   Any more idea??*


  mount:dev/mirror/gm0s1a/mnt:unknown special file or file system
 ^ ^^^
 *this is the machine replied to me after my typo*




 Is this intended? Or just a typo in the reproduction?



  I get this error:
 
  fstab:/etc/fstab:0: No such file or directory
  fstab:/etc/fstab:0 No such file or directory

 [...]

  when I go to the directory /dev/mirror then issue ls, heres the filename
  inside the directory
 
  gmo
  gmos1
  gmos1a
  gmos1b
  gmos1c
  gmos1d
  gmos1e
  gmss1f
 
  I think there is a miss type (typo) in my part during I followed the HOW
  TO,in which incase of writing 0 i wrote letter o..am I write?

 Yes, looks like...



 --
 Polytropon
 From Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RAID 1 failure

2009-03-18 Thread Ruel Luchavez
Well...Well..Well

My server now is back to normal..Mirror is now working..Finally.wwww

But thanks to all of your reply guys..this list is really great.
and thanks also to this post..

http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/

cause i get some idea there and solve my 3 days proble...hehhehe

thanks again guys,,



FreeBSD Rocks all the time...



On Thu, Mar 19, 2009 at 10:03 AM, Ruel Luchavez ruel.free...@gmail.comwrote:

 *well its a typo..sory list...*

 On Thu, Mar 19, 2009 at 9:45 AM, Polytropon free...@edvax.de wrote:

 Maybe it's a typo in the mail, but two things look stange
 to me:

 On Thu, 19 Mar 2009 09:21:17 +0800, Ruel Luchavez ruel.free...@gmail.com
 wrote:
  BUT when i type a command
  #mount /dev/mirror/gm0s1a/mt

^  ^^
  *  the correct one i issue
#mount /dev/mirror/gmos1a /mnt*

*then I get no error anymore, then I follow the remaining steps of
 Johan Hendriks
after the machine rebooted..my problem is still there...:(

Any more idea??*


  mount:dev/mirror/gm0s1a/mnt:unknown special file or file system
 ^ ^^^
 *this is the machine replied to me after my typo*




 Is this intended? Or just a typo in the reproduction?



  I get this error:
 
  fstab:/etc/fstab:0: No such file or directory
  fstab:/etc/fstab:0 No such file or directory

 [...]

  when I go to the directory /dev/mirror then issue ls, heres the filename
  inside the directory
 
  gmo
  gmos1
  gmos1a
  gmos1b
  gmos1c
  gmos1d
  gmos1e
  gmss1f
 
  I think there is a miss type (typo) in my part during I followed the HOW
  TO,in which incase of writing 0 i wrote letter o..am I write?

 Yes, looks like...



 --
 Polytropon
 From Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org