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

    Fstab entries and power yank

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    4 Posts 2 Posters 1.3k Views
    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.
    • _ Offline
      _igor_
      last edited by

      There was a time ago a discussion about power-yanking and no more booting of pfSense. (original post: http://forum.pfsense.org/index.php/topic,23634.0.html)
      There was a bug report too: (http://redmine.pfsense.org/issues/444). It relates to the fstab-entries and preventing data-corruption.

      So one conclusion was to update the fstab by this:```
      /dev/ad0s1a              /              ufs    rw,noasync,noatime              1      1

      (http://forum.pfsense.org/index.php/topic,23634.msg122779.html#msg122779)
      
      I did this on all my pfSense installs because this problem still exists!
      Now with a completely new install (snap from 01/31/2011) my fstab looks another time like this one:
      
      

      /dev/ad0s1a            /              ufs    rw              1      1

      
      Would it be possible to change the installer in that way to put the "right" entries directly in the fstab? Thanks!
      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        The above is already done for nanobsd:

        : cat /etc/fstab 
        /dev/ufs/pfsense1 / ufs ro,sync,noatime 1 1
        /dev/ufs/cf /cf ufs ro,sync,noatime 1 1
        

        It doesn't usually impact hard drive installs as badly, but it's hard to say for sure. I crash and yank the power from my boxes and VMs and very rarely have problems.

        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
        • _ Offline
          _igor_
          last edited by

          I have expierienced that bootfailures nearly every time with all full-installs too. Now i can yank power without any problem, even on full installs. For this reason i asked.

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

            I reopened the ticket with a note that it isn't happening on full installs like it should.

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.