[OpenAFS-devel] Solaris AFS partition becomes corrupt after mounting

Frank Batschulat Frank.Batschulat@Sun.COM
Thu, 21 Apr 2005 12:00:57 +0200


Tim Spriggs wrote:
>>>/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /vicepa afs 3 yes nologging
>>
>>Is it possible to figure out that the /vicep* we are on is logging and
>>then refuse to use such a partition?

how about having the afs mount command/process to check for the
underlying UFS filesystem's mount option "logging" via hasmntopt(),
see getmntent(3C) before performing the actual AFS mount on top of it ?

Note, since Solaris 10 and Solaris 9 Update 7, logging is the default
mount option now.

---
frankB

> 
> What would be even better is an install script/process for any given os.
> Detection of the system type would be easy and certain caveats could be
> easily incorporated into the install based on system/os type. Obviously,
> the easiest thing is to add a line to the documentation but a great
> long-term solution would be an install process that you don't have to read
> through a doc, find a bunch of files to copy by hand, patch init scripts
> by hand, create filesystems and debug known problems etc.
> 
> I would be happy to test/help modify such a beast on a Solaris 9 machine I
> have in my office. It is sitting here for the sole purpose of test-bedding
> afs for use in our dept.
> 
> Thanks,
> -Tim
> 
> Tim Spriggs - LPL Webmaster
> ---------------------------
> 
> Mailing Address:
>   Lunar and Planetary Lab
>   1629 E. University Blvd.
>   University of Arizona
> 
> LPL Contact Information:
>   http://www.lpl.arizona.edu/resources/lpldir/?search=Tim+Spriggs
> 
> On Thu, 21 Apr 2005, Harald Barth wrote:
> 
> 
>>There are some known combinations of OS and file systems which are
>>"less recommended" (ie does not work) for fileserver (and cache manager).
>>
>>A sign "do not cross line" is good. A fence is sometimes better.
>>
>>Harald.
>>_______________________________________________
>>OpenAFS-devel mailing list
>>OpenAFS-devel@openafs.org
>>https://lists.openafs.org/mailman/listinfo/openafs-devel
>>
> 
> 
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel