Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [solved] pfSense 2.0.2 random reboots because of software RAID?

    General pfSense Questions
    3
    5
    2.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      asklucas
      last edited by

      Hi there!

      I just installed 2.0.2-RELEASE (amd64) on a system based on a SUPERMICRO X9SCM-F board with two Intel SSD 320 drives. I chose the RAID 1 option during setup.

      While the system itself works well for a few minutes, after a few minutes it reboots automatically. It's to fast to capture the error message on (VGA) console.

      I found these log items after reboot:
      Dec 23 19:46:13 kernel: ugen0.2: <vendor 0x8087="">at usbus0
      Dec 23 19:46:13 kernel: uhub1: 2 ports with 2 removable, self powered
      Dec 23 19:46:13 kernel: uhub0: 2 ports with 2 removable, self powered
      Dec 23 19:46:13 kernel: GEOM_MIRROR: Device pfSenseMirror: rebuilding provider ad4.

      I suppose, the random reboots are somehow linked to the mirroring of the boot disks.

      How can I debug this issue resp. where do I find more logs with information on what goes wrong every five minutes?

      Thank you very much!!!

      L.</vendor>

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Check your /etc/fstab - make sure it's referring to the mirror device and not to one of the disks directly.

        If the OS is mounting one of the disks instead of the mirror, you can see that kind of behavior.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • A
          asklucas
          last edited by

          @jimp:
          Thanx for your suggestion, /etc/fstab contains:

          
          # Device		Mountpoint	FStype	Options		Dump	Pass#
          /dev/mirror/pfSenseMirrors1a		/		ufs	rw		1	1
          /dev/mirror/pfSenseMirrors1b		none		swap	sw		0	0
          
          

          Is that okay?
          Where can I find the gmirror widget referred to in:
          http://doc.pfsense.org/index.php/Create_a_Software_RAID1_%28gmirror%29#Monitoring_Array_Status
          L.

          1 Reply Last reply Reply Quote 0
          • A
            asklucas
            last edited by

            Where can I set this thread to "resolved" status?
            When checking the motherboard manual suddenly I thought of the watchdog function, which I had enabled in an attack of cretinism.
            By default it reboots the system after 5 minutes. Since there was no watchdog daemon installed, it of course did as it should.

            I disabled that function in BIOS and meanwhile got an uptime of 14 minutes! proud

            I was misled by that error message

            kernel: GEOM_MIRROR: Device pfSenseMirror: rebuilding provider ad4.

            which I thought was an indication for a gmirror issue.

            Sorry & thanks to all!

            L.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              There is some watchdog functionality in freebsd you could use if you need it.
              You can just rename the title of your first post in this thread to have [solved] at the beginning if you like. You have a limited time from the post date to to that. 7 days?  :-\

              Steve

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.