Subject: Re: async mount option
To: salo <salo@Xtrmntr.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 07/25/2001 21:38:46
On Wed, Jul 25, 2001 at 06:43:32PM +0200, salo wrote:
> hi,
>
> i would like to ask how possibly dangerous is using 'async' option to mounting
> disks (ffs, softdeps).
>
> from mount(1) napage:
>
> async All I/O to the file system should be done asyn-
> chronously. In the event of a crash, it is
> impossible for the system to verify the integrity of
> data on a file system mounted with this option. You
> should only use this option if you have an applica-
> tion-specific data recovery mechanism, or are willing
> to recreate the file system from scratch.
>
> could it cause unrecoverable damage to filesystem or could i only lost data
> not currently written to disk?
The automatic fsck run at boot won't be able to correct it automatically.
You'll have to run 'fsck -y' and will eventually have a lot of files
in /lost+found.
If you're a linux user you're used to that :)
>
> is there any relevant profit using 'async' option in speeding up filesystem
> operations?
'async' isn't any faster than 'softdep' and softdep guarantee filesystem
integrity.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--