[SUMMARY] Journaling on Solaris 9

From: Carinus Carelse (carinus.carelse@mrc.ac.za)
Date: Wed Jun 01 2005 - 00:59:15 EDT


The Way to turn journaling on a solaris file system is to add the
logging the variable at the end of your mount statment ie. mount options
in the vfstab. In the example below the
/tmp1 does not have loggin enabled but the /tmp2 does.

Example:

#device device
mount FS fsck mount mount
#to mount to fsck
point type pass at boot options
#

/dev/md/dsk/d3 /dev/md/rdsk/d3 /tmp1
ufs 1 no -

/dev/dsk/c0t2d0s6 /dev/rdsk/c0t2d0s6 /tmp2 ufs
1 yes logging

You can turn it on from the command line on an unmounted filesytem by
doing the command below.

# mount -o logging /dev/dsk/c1t2d1s5 /tmp3

To Remount a currently mounted filesystem so that logging is enabled
when you remount use:

# mount -o logging,remount /dev/dsk/c1t2d1s5 /tmp3

Carinus
_______________________________________________
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:30:47 EDT