Home Forums OS X Server and Client Discussion Questions and Answers Mounting volumes read-only

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #366946
    pingu
    Participant

    Hi,
    Wondered if anyone could help me here.
    We need to mount a number of fibre channel RAID volumes read-only on a server and we’re having a few problems.
    I seem to be able to happily ignore volumes, and prevent them from mounting using: –
    [code]UUID=A507B9D0-5A73-34EF-9569-DB93E7EBF7D6 none hfs ro,noauto[/code]
    and
    [code]LABEL=storarray01 none hfs ro,noauto[/code]
    But when I try to mount a volume read-only using: –
    [code]UUID=A507B9D0-5A73-34EF-9569-DB93E7EBF7D6 /Volumes/storarray01 hfs ro[/code]
    or
    [code]UUID=A507B9D0-5A73-34EF-9569-DB93E7EBF7D6 /Volumes/storarray01 hfs ro,auto[/code]
    it does not mount. The disk shows up in diskutil, showing the volume as unmounted, but I kind of expected it to mount without write privileges. Am I expecting the wrong behaviour, or have I got something wildly wrong?
    Something makes me think things are not working correctly as using the same commands for a Xyratex RAID volume causes it to not show up in diskutil at all where as the Apple RAID behaves as above.
    I have diskarbitrationd logs available if they are any help…
    Cheers
    Dan

    #367002
    pingu
    Participant

    hmmm…
    It seems that fstab, under Tiger, may differentiate between hfs and hfsplus contrary to what appeared to be the case previously.
    Still in search of a solution, I just tried:
    [code]UUID=A507B9D0-5A73-34EF-9569-DB93E7EBF7D6 /Volumes/storarray01 hfsplus ro[/code]
    which seems perhaps to be working. The volume mounts on the desktop as expected, but does not seem to be read-only. diskutil info reports that it is not read only, and the finder and shell both seem to think they can write to it; but when it is unmounted and remounted, any files or folders written have disappeared.
    This worries me… alot.
    Can anyone suggest a surefire way of confirming the volumes read-only status?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed