うちではESXiの上で動くFreeNASが公開しているiSCSIターゲットを再度ESXiが仮想HDD置き場として利用している。 この構成で困るのはFreeNASが起動するまでESXiはiSCSIターゲットに接続できずエラーとしてストレージを利用不可にしてしまう事。 FreeNASの起動後に手動で再スキャンしてやれば問題ないが毎回手動でやるのは勘弁して欲しい。 そこでFreeNASが起動したらsshでESXiにログインして再スキャンするスクリプトを自動で実行することにした。 SSHを有効化 デフォルトではESXiはSSH接続を受け入れないので常に有効に変更する。 やり方は省略。GUIから簡単に変更できる。 パスワード無しでログインできるようにする 全部自動でやるためにFreeNASからパスワード無しでログインできるようにする。 FreeNASでssh-keygenで公開鍵を作ってESXiに登
freenasで構築したraidz1の容量を増加する方法には、 ・raidz1に新たにraidz1で容量を追加。この場合パリティーはraidz1毎に必要で少々無駄が出るが手軽。 ・既存HDDを大容量HDDに置き換えて増加する。 の2択かな。 ・raidz1の容量を大容量HDDに置き換えて増加する方法のメモ。 参考 RAIDZ のデバイスを大きいものに順次 replace してみるテスト http://slashdot.jp/~Ab./journal/468019 置き換えたあとのデバイスの方が大きい場合は、置き換えが完了すると、プールの容量が大きくなります。 方法 HDDを1つづつ単純にreplaceしていくだけ。 まだwebguiではできない?高度な設定のコマンドから入力。 物理的にHDDを交換する場合は zpool offline tank da2 としてオフラインにしてHOTSWAP
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く