diff options
author | jkh <jkh@FreeBSD.org> | 2001-03-11 04:24:52 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2001-03-11 04:24:52 +0000 |
commit | 93e4f3d80c06e39e970672bc23331a5b9da183b5 (patch) | |
tree | ef6f8c5aaaae34311750a52e24dd678deb5fa918 /usr.sbin/sade | |
parent | f261519030dd854c632337a89655ba3872bcb8ed (diff) | |
download | FreeBSD-src-93e4f3d80c06e39e970672bc23331a5b9da183b5.zip FreeBSD-src-93e4f3d80c06e39e970672bc23331a5b9da183b5.tar.gz |
Document the softupdate stuff and also warn people against using
it on root unless root is very large.
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r-- | usr.sbin/sade/help/partition.hlp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.sbin/sade/help/partition.hlp b/usr.sbin/sade/help/partition.hlp index 6004d75..ef328df 100644 --- a/usr.sbin/sade/help/partition.hlp +++ b/usr.sbin/sade/help/partition.hlp @@ -109,6 +109,23 @@ slices. For FreeBSD partitions, you can also toggle the "newfs" state so that the partitions are either (re)created from scratch or simply checked and mounted (the contents are preserved). +If you set (S)oftUpdates on a filesystem, it will cause the +"Soft Updates" policy to be in effect for it. This basically causes +both metadata and data blocks to be written asynchronously to disk, +but with extra state information which causes the metadata and any +related data blocks to be committed in a single transaction. This +results in async metadata update speeds (which are considerably +faster than the default sync) without the potential for data loss +which could occur if you simply mounted the filesystem with purely +"async" update policy and then had a power failure. If you wish +to later turn the softupdates policy back off, use the command +"tunefs -n disable devicename". NOTE: It is probably not wise +to use this on your root filesystem unless you have a large +(e.g. non-standard size) root. The reason is that smaller filesystems +with significant activity can temporarily overflow if the soft updates +policy results in free'd blocks not being "garbage collected" as fast +as they're being requested. + When you're done, type `Q' to exit. No actual changes will be made to the disk until you (C)ommit from the |