質問
SSD の初期化方法を教えてください。
対象機器
回答
以下の手順で、SSD を初期化することができます。
SSD 初期化手順
① Edge Gateway と PC を接続
Edge Gateway と PC を接続します。シリアルでも SSH でも接続可能です。
② SSD のフォーマット
以下のコマンドを実行し、SSD をフォーマットします。
admin@amnimo:~$ amsh
amnimo$ enable
password:
amnimo# configure
amnimo(cfg)# nxwitness
amnimo(cfg-nxwitness)# no enable #まずは NxWitness が SSD を開いているので解除します
amnimo(cfg-nxwitness)# exit
amnimo(cfg)# no device storage mount sda1 #SSD のマウントを解除します
amnimo(cfg)# exit
amnimo# device storage format sda1 #SSD をフォーマットします
※もし上記の手順の最中で SSD のマウントが解除できない時は、admin 権限の User アカウントを作成し、追加したアカウントからマウントを解除してください。
③ NxWitness 連携の回復と SSD の再マウント
次に、SSD を再マウントします。
以下のコマンドを実行することで、SSD の初期化が完了します。
admin@amnimo:~$ amsh
amnimo$ enable
password:
amnimo# configure
amnimo(cfg)# storage mount sda1 /media/sda1 #/media/sda1 に SSD をマウントします
amnimo(cfg)# show config storage #ここでマウントされているか確認します
# ---- storage sda1 configure ----
storage mount sda1 /media/sda1 type ext4 options defaults
storage fsck sda1 preen
storage monitor sda1 retry 3 interval 10m reboot 3
storage failsafe sda1 retry 3 interval 10 reboot 3
amnimo(cfg)#
amnimo(cfg)# nxwitness
amnimo(cfg-nxwitness)# enable #NxWitness を有効化します(連携させます)
amnimo(cfg-nxwitness)# show config
enable #有効化(連携)したことを確認します
port 7001
database /mnt/share/nxwitness/database/file.db
password secret 1sxWjNj/NBbdEfGFmP6vrw==
amnimo(cfg-nxwitness)# exit
amnimo(cfg)# exit
amnimo# config file save #設定を保存します
startup-config file already exists. Do you want to overwrite? (y/N): y
amnimo# exit
amnimo$ exit
コメント
0件のコメント
サインインしてコメントを残してください。