Re: hfs+ read only over fibre channel
Re: hfs+ read only over fibre channel
- Subject: Re: hfs+ read only over fibre channel
- From: Mark Day <email@hidden>
- Date: Mon, 2 Jul 2007 16:09:37 -0700
Probably the closest you can get is to do an update mount, with the
MNT_RELOAD flag also set. Use at your own risk. Changing the on-disk
structures behind the file system's back is very risky; you could
corrupt the file system and lose data. This is not the right way to
hook multiple machines up to a SAN.
-Mark
On Jul 2, 2007, at 3:51 PM, Brian Sturk wrote:
Not sure if this is the right mailing list for this sort of question.
If not I'll ask on the appropriate list.
I'm trying to force an HFS volume that is mounted read only to re-read
directory entries from disk (bypassing it's cache). I haven't found
anything at the VFS layer that allows me to do that (cache_purgevfs
etc). The VOP_READDIR path seems to go almost straight to the
underlying driver. Just looking for any pointers on how to accomplish
this if it can even be done. I know that re-mounting the volume
accomplishes this but I'm looking to do it *without* having to
remount.
Having asked this I'm very aware of how dangerous this is i.e. reading
structures off the disk while another could be possibly writing to
the disk.
Any info would be greatly appreciated!
~brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden