From: nmm1@cus.cam.ac.uk (Nick Maclaren)
Subject: Re: Advice for number-crunching box
Date: 21 Mar 2001 13:57:24 GMT [thread overview]
Message-ID: <99ac04$lu1$1@pegasus.csx.cam.ac.uk> (raw)
In-Reply-To: wnwv9j2rrz.fsf@localhost.localdomain
In article <wnwv9j2rrz.fsf@localhost.localdomain>,
Stephen Cornell <cornell@zoo.cam.ac.uk> writes:
|> nmm1@cus.cam.ac.uk (Nick Maclaren) writes:
|> >
|> > More seriously, watch out if you need to do anything non-trivial with
|> > your filing systems or want to use an unusual (e.g. journalled) filing
|> > system. The design of NQS is seriously broken, and it cannot be made
|> > to work with all filing systems. And its error handling is no better,
|> > which doesn't make it easy to locate or bypass problems.
|>
|> Thanks for the warning. I have been using NQS for a while (many years
|> as a user, and about two years as both admin and user) and had few
|> problems. However, I was intending to use ReiserFS for my home
|> partition in the future - do you know if this is one of the
|> filesystems with which NQS has problems?
Not a clue, I am afraid. But I can tell you what it assumes and
relies upon. I am indebted to Michael Rutter for locating the
reasons for NQS's aberrations.
The authors (quite reasonably) wanted guaranteed update semantics,
but Unix did not and does not provide them (not even with sync,
fsync, flush, Old Uncle Tom Cobbley and all). They discovered
that inodes were being atomically updated on the systems they used,
and they jumped to the conclusion that this was a stable feature
of Unix. So so the geniuses stored lock data in the last modified
time of the inodes of various files (and possibly other fields).
In addition to playing Old Hob with file system scanning utilities
(including some forms of dumping), not least because dates of 2028
are unlikely to be correct, they are quite simply wrong that inode
update always bypasses Unix's usual file block caching code. This
is the reason that you absolutely must NOT put the NQS directories
onto an NFS mounted partition, and that it won't work with IBM GPFS
and a good many other fancy, distributed filing systems.
I do not know how likely it is to corrupt its own data structures
if there is a power cut (surely not?) while inodes have been only
partially written back but, given its other misdesigns, it probably
will. And, for the same reason, the only practical way to recover
from such corruption is to reinstall NQS and lose all queued jobs
and output.
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
Email: nmm1@cam.ac.uk
Ext. 34761
next prev parent reply other threads:[~2001-03-21 13:57 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-20 14:23 Advice for number-crunching box Stephen Cornell
2001-03-20 14:41 ` Christopher Albert
2001-03-20 15:05 ` Nick Maclaren
2001-03-20 15:12 ` Nick Maclaren
2001-03-20 19:26 ` Keith Matthews
2001-03-20 22:21 ` Peter Watkinson
2001-03-20 16:12 ` Stephen Cornell
2001-03-20 17:24 ` Patrick Gosling
2001-03-21 12:12 ` Stephen Cornell
2001-03-21 12:28 ` Nick Maclaren
2001-03-21 13:08 ` Stephen Cornell
2001-03-21 13:57 ` Nick Maclaren [this message]
2001-03-20 21:42 ` Bradley J Lucier
2001-03-21 0:11 ` Espen H. Koht
2001-03-21 12:15 ` Stephen Cornell
2001-03-21 21:28 ` John Rowe
2001-03-22 16:28 ` Andy Jardine
2001-03-22 16:55 ` Nick Maclaren
2001-03-23 8:33 ` Martin Kahlert
2001-03-24 18:50 ` Mark Brown
2001-03-20 15:02 ` Sebastian Stripe
2001-03-20 15:17 ` Matthew Garrett
2001-03-20 20:29 ` Colin Brough
2001-03-21 14:04 ` T. Weyergraf
2001-03-26 15:39 ` G. Hugh Song
2001-03-27 16:08 ` John Rowe
2001-03-27 16:09 ` Stephen Cornell
2001-03-28 18:26 ` Mark Baker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox