On Tuesday 17 June 2003 10:08, Peter Evans wrote:
Warning: I'm a dumb newbie. I did try to Google (etc.) for an answer to the following, but failed.
The last time I read up on these things, it was thought to be better (for the computer, anyway) to leave a computer on all the time than to turn it on and off once a day. Under that assumption, mine's left on.
We do occasionally have power cuts, and cleaners and others in this building occasionally unplug things. *Before* this happens, I'd like to have some idea of what it would entail with a SuSE 8.2 setup. Would I be greeted by a join-the-dots exercise ("Linux was terminated improperly; log on as root and run incomprehensibleabbreviation"), or would I be expected to know that I should, er . . . I don't know, um, run fsck perhaps?
[Deep blush] I don't even know which file-system I'm using. How would I find out?
I'm pretty sure that the default 8.2 install will now put all the linux partitions on the reiserfs. This is a journalling file system, and usually recovers very cleanly from a power cut. You'd find out by running the command 'mount' without options, it will show you something like this: #mount /dev/hdb3 on / type reiserfs (rw) proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/hdb2 on /boot type ext2 (rw) /dev/hdb7 on /export type reiserfs (rw) /dev/hdb6 on /home type reiserfs (rw) /dev/hdb5 on /var type reiserfs (rw) /dev/hda1 on /windows/C type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,iocharset=iso8859-1,code=437) shmfs on /dev/shm type shm (rw) You can see that the linux partitions are type reiserfs. I have had the power go several times with 8.1 and 8.2, and have had no problems, no extended rebooting times, and no tricky command-line juggling to perform. There is a man page for reiserfsck, but I've not had to use it. That said, conventional wisdom would dictate that if you have critical data on the system it should be backed up, and if the machine needs maximum uptime you should install a UPS. I don't suppose reiserfs can guarantee a clean restart under every powerfail condition. But from my experience you should be OK. HTH Fergus -- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB Tel: +44 161 834 7961 Fax: +44 161 839 5797 http://www.chethams.org.uk