Fstab entries and power yank



  • 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!

  • Rebel Alliance Developer Netgate

    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.



  • 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.


  • Rebel Alliance Developer Netgate

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


Log in to reply