FreeBSD: Difference between revisions

From The Incoherency.Net Wiki
Jump to navigation Jump to search
Denis (talk | contribs)
Denis (talk | contribs)
Line 5: Line 5:
==== Maintenance ====
==== Maintenance ====


===== 2008-02-18 Hard Drive Upgrade =====
Previous hard drive Maxtor DiamondMax Plus 9 (6Y120L0) serial: Y35AK8PE was quickly failing. Added [http://www.promise.com/product/product_detail_eng.asp?segment=Non-RAID%20HBAs&product_id=138 Promise SATA300 TX4] 4-port SATA II PCI controller card and Seagate Barracuda 7200.11 SATA 3Gb/s NCQ 750GB 32MB Cache ([http://www.seagate.com/ww/v/index.jsp?vgnextoid=1cd981f8c0f43110VgnVCM100000f5ee0a0aRCRD&locale=en-US ST3750330AS])
During the upgrade, updated the system from FreeBSD 6.2 to FreeBSD 7.0 RC2.


== Technical Notes ==
== Technical Notes ==

Revision as of 23:02, 19 February 2008

Servers

Inferno

Maintenance

2008-02-18 Hard Drive Upgrade

Previous hard drive Maxtor DiamondMax Plus 9 (6Y120L0) serial: Y35AK8PE was quickly failing. Added Promise SATA300 TX4 4-port SATA II PCI controller card and Seagate Barracuda 7200.11 SATA 3Gb/s NCQ 750GB 32MB Cache (ST3750330AS)

During the upgrade, updated the system from FreeBSD 6.2 to FreeBSD 7.0 RC2.

Technical Notes

SMART (Self-Monitoring, Analysis and Reporting Technology)

http://smartmontools.sourceforge.net/ http://www.linuxjournal.com/article/6983

  • smartctl -l selftest /dev/ad0
  • smartctl -t long /dev/ad0
  • smartctl -Hc /dev/ad0

Disk image via dd

dd bs=512 if=/dev/rXX# of=/some_dir/foo.dmg conv=noerror,sync

tar over netcat

  • nc -v -v -w 40 -l -p 8888 > foo.tar
  • tar cjvf * | nc remotehost 8888

Updating root DNS

dig @a.root-servers.net . ns > /etc/namedb/named.root

Portupgrade

Rebuild Package and all dependent packages

portupgrade -rfx openssl openssl


Disable Vulnerability Checking

DISABLE_VULNERABILITIES=yes

Qmail log Timestamps

Can be converted to human readable using the tai64nlocal command.