Re: filesystem information



On Mon, Jun 30, 2008 at 7:30 AM, Bill Moran <wmoran@xxxxxxxxxxxxxxxxx> wrote:
In response to Jim <stapleton.41@xxxxxxxxx>:

I have a computer that is in a situation where it is losing power
occasionally. All but one of the filesystems are going along fine.
Once file system seems to lose data on a power outage. Even if it only
reads a file, and doesn't write it, it may still lose a file (ex,
about half the audio files on my xmms playlist, a couple data files in
my wine directory that, to my knowledge, are unlikely to be written
after they are first installed).

What I'd like to do is get an output of the flags and options on my
filesystems to see what is different between that filesystem and the
others. Any suggestion on how to do that? This particular FS has
lasted through several rebuilds since it doesn't hold OS critical
stuff, just data files.

tunefs -p and/or dumpfs -m

Any suggestions?

Sounds like you're on the right track with hunting this down. Perhaps
turn softupdates off and mount the filesystem sync if you're seeing
lots of power outages.

--
Bill Moran
http://www.potentialtech.com


Thanks, it looks like the 'good' filesystems have softupdates off
(except one), and the one the broke has it off. I thought softupdates
were supposed to fix this? Is gjournal a better solution? Is 'just use
neither' a better solution? Any reference material on the subject
would be appreciated (I'm about to use google now).

Thanks,
-Jim Stapleton
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: filesystem information
    ... In response to Jim: ... All but one of the filesystems are going along fine. ... Once file system seems to lose data on a power outage. ...
    (freebsd-questions)
  • Re: [UNIONFS] 00/42 Unionfs and related patches review
    ... data changes will happen on a lower inode all within one second and not be ... lowerfilesystems are able to be local filesystems. ... saves on inodes and pages by having BOTH the upper and lower dentry point to ... dentry of the upper file system now points to an inode ...
    (Linux-Kernel)
  • Re: Filesystem
    ... A good journalling filesystem would be immensely ... >>even with softupdates protected filesystems. ... most of the time after power crash, and the solution is painless: a snapshot ...
    (comp.os.linux.development.system)
  • Re: disklabel differences FreeBSD, DragonFly
    ... and most of those qualify as needing to "run commands that workon ... filesystems on the two parts with different arguments ...". ... in root filesystem increases robustness if you have a power outage. ... true that converted me to the idea that reducing the file system count ...
    (freebsd-hackers)
  • question about file system rights
    ... There is this file system right thing bugging me for quite some time ... The problem is mainly with the eXecute right, ... How I get these directories and files with the inappropriate rights is ... different filesystems on my firewire disk and the CF ...
    (comp.unix.bsd.freebsd.misc)