Adding UFS logging without a reboot

From: David Eisner (cradle@umd.edu)
Date: Fri Aug 22 2003 - 11:49:17 EDT


I have a Solaris 7 (sparc) box with a fairly large UFS data partition.
It's currently mounted without UFS logging. I'd like to add
logging without rebooting, with mount -o remount,logging ...

I've tried this on a test filesystem, and it seems to work.

However, the mount_ufs man page says the FS should be read-only:

               remount Remounts a read-only file system as
                         read-write (using the rw option). This
                         option can be used only in conjunction
                         with the f, logging|nologging, m, and
                         noatime options. This option works only
                         on currently mounted read-only file sys-
                         tems.

I searched around, and there's some mention that the OS will try
to temporarily lock the filesystem so that it works, and let
you know if it can't.

So, is it copacetic to add UFS logging on the fly in this way?

Thanks.

-David

------------------------+--------------------------+
David Eisner | E-mail: cradle@umd.edu |
CALCE EPSC | Phone: 301-405-5341 |
University of Maryland | Fax: 301-314-9269 |
------------------------+--------------------------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:58 EDT