On Sat, Mar 26, 2011 at 4:52 AM, Magnus Eriksson <magetoo%fastmail.fm@localhost> wrote: > On Fri, 25 Mar 2011, Nathan Staley wrote: > >> The database is to be stored on external disks. Some times, the system >> runs as expected, but often, it the disks seem to lock up. > > A few more stabs in the dark: > > External disks - are they connected via USB? (Please let the answer be > "no".) I had some weird issues with a 2.5" Seagate drive when it was > plugged into a sufficiently lousy cheap hub, and IIRC the symptoms were sort > of similar to what you describe. (I could usually umount -f and remount > though.) No. > Or are they of the modern sort that spin down after they haven't been > accessed in a while? (If so, can you force a lockup with "scsictl sdN > stop"? Can you restart them with "scsictl sdN start" when they spin down?) > > On the other hand, PostgreSQL on my system is constantly accessing disks > even when nothing is happening, so that should keep them up... I've attached a dmesg for the system. % df -h Filesystem Size Used Avail %Cap Mounted on /dev/sd1a 134G 9.4G 118G 7% / /dev/dk0 12T 36G 11T 0% /pgsql kernfs 1.0K 1.0K 0B 100% /kern ptyfs 1.0K 1.0K 0B 100% /dev/pts procfs 4.0K 4.0K 0B 100% /proc -Tracy
Attachment:
aristotle.its.dmesg
Description: Binary data