自動的にマウントさせない方法

I wrote the entry about the difficulty that globalSAN doesn't have any command line interfaces. In short, we can't connect / disconnect to / from an iSCSI target by a script. And I found that globalSAN uses Mach API for messaging. But it's very difficult to imply a method to control the globalSAN daemon.

I gave up on connecting and disconnecting by my script and switched to mounting and unmounting when I want. When a Mac is restarted, Mac OS's autofs mounts an iSCSI volume automatically. But as I wrote yesterday, it can destroy the filesystem on the volume where multi-Mac are used. I found the way to prevent autofs from mounting the volume automatically.

$ sudo vifs
UUID=01234567-89AB-CDEF-0123-456789ABCDEF none hfs rw,noauto

Now, I can mount and unmount the volume safely with locking system by my script when I desire to do so.

トラックバック(0)

このブログ記事を参照しているブログ一覧: 自動的にマウントさせない方法

このブログ記事に対するトラックバックURL: http://rio.tc/cgi-bin/mt/mt-tb.cgi/1857

コメントする


画像の中に見える文字を入力してください。

Google Adsense

このブログ記事について

このページは、rioが2009年3月 4日 19:05に書いたブログ記事です。

ひとつ前のブログ記事は「デスクトップはやる気が無いのかと思った」です。

次のブログ記事は「沖縄・石垣島第1日目」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。

Powered by Movable Type 4.23-ja

楽天

Google Adsense