Date: Sun, 15 Nov 2009 14:58:02 +0300 From: Alex Keda <admin@lissyara.su> To: current@freebsd.org Subject: Additional features for /etc/rc.d/fsck Message-ID: <4AFFECCA.5010706@lissyara.su>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020101090400020907090505 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit hi! I have many servers with using gjournal. Sometimes, after unexpected reboot, booting OK, but, filesystem have error. If I run fsck -y manually - all OK. But, for some servers I do not have physical access, and check '/' and some another filesystems - impossible. I modify /etc/rc.d/fsck, and add 2 new options to rc.conf HP$ grep fsck /etc/rc.conf force_fsck="YES" force_fsck_list="/" HP$ It's required background_fsck="NO" in rc.conf May be include it in source three? Very useful. --------------020101090400020907090505 Content-Type: text/plain; name="fsck.diff" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="fsck.diff" LS0tIC9yb290L2ZzY2sJMjAwOS0xMS0xNSAxNDoxMzoyNS4wMDAwMDAwMDAgKzAzMDAKKysr IC9ldGMvcmMuZC9mc2NrCTIwMDktMTEtMTUgMTQ6NDI6MzIuMDAwMDAwMDAwICswMzAwCkBA IC0yNyw3ICsyNywxNiBAQAogCQlpZiBjaGVja3llc25vIGJhY2tncm91bmRfZnNjazsgdGhl bgogCQkJZnNjayAtRiAtcAogCQllbHNlCi0JCQlmc2NrIC1wCisJCQlpZiBjaGVja3llc25v IGZvcmNlX2ZzY2s7IHRoZW4KKwkJCQllY2hvICJGb3JjZSBmc2NrIGVuYWJsZWQiCisJCQkJ Zm9yIGZpbGVzeXN0ZW0gaW4gJHtmb3JjZV9mc2NrX2xpc3R9CisJCQkJZG8KKwkJCQkJZWNo byAiRm9yY2UgY2hlY2sgJGZpbGVzeXN0ZW0iCisJCQkJCWZzY2sgLXkgJGZpbGVzeXN0ZW0K KwkJCQlkb25lCisJCQllbHNlCisJCQkJZnNjayAtcAorCQkJZmkKIAkJZmkKIAogCQljYXNl ICQ/IGluCg== --------------020101090400020907090505--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AFFECCA.5010706>