---------- 2018-06-25, 備份: 待確認指令. vsr 開機光碟還原步驟: 以下僅列192.168.0.2伺服器. 另有一台192.168.0.1伺服器, 尚未執行. 光碟開機的時候選skip, 不要mount /mnt/sysimage/ 連接網路卡 # ifconfig enp175s0f0 up 掛接nas磁碟機: # mount 192.168.0.3:/Server2 /tmp 還原3個磁區: # symsr -r /tmp/sda1.v2i -d /dev/sda1 # symsr -r /tmp/sda2.v2i -d /dev/sda2 # symsr -r /tmp/sda3.v2i -d /dev/sda3 對應NAS目錄為: 192.168.0.3之\DataVol1\Server1\sda1.v2i (待執行) 192.168.0.3之\DataVol1\Server1\sda2.v2i (待執行) 192.168.0.3之\DataVol1\Server1\sda3.v2i (待執行) 192.168.0.3之\DataVol1\Server2\sda1.v2i 192.168.0.3之\DataVol1\Server2\sda2.v2i 192.168.0.3之\DataVol1\Server2\sda3.v2i NAS中備份歷史位置: 192.168.0.3之\DataVol1\Server1\BackupLog\20180622\sda1.v2i (待執行) 192.168.0.3之\DataVol1\Server1\BackupLog\20180622\sda2.v2i (待執行) 192.168.0.3之\DataVol1\Server1\BackupLog\20180622\sda3.v2i (待執行) 192.168.0.3之\DataVol1\Server2\BackupLog\20180622\sda1.v2i (台北已留一份) 192.168.0.3之\DataVol1\Server2\BackupLog\20180622\sda2.v2i (台北已留一份) 192.168.0.3之\DataVol1\Server2\BackupLog\20180622\sda3.v2i (台北已留一份) 192.168.0.3之\DataVol1\Server1\BackupLog\20180625\sda1.v2i (待執行) 192.168.0.3之\DataVol1\Server1\BackupLog\20180625\sda2.v2i (待執行) 192.168.0.3之\DataVol1\Server1\BackupLog\20180625\sda3.v2i (待執行) 192.168.0.3之\DataVol1\Server2\BackupLog\20180625\sda1.v2i (待執行) 192.168.0.3之\DataVol1\Server2\BackupLog\20180625\sda2.v2i (待執行) 192.168.0.3之\DataVol1\Server2\BackupLog\20180625\sda3.v2i (待執行) ---------- 2018-06-22, 詳細指令如下 vsr 開機光碟還原步驟: 光碟開機的時候選skip, 不要mount /mnt/sysimage/ 連接網路卡 # ifconfig enp175s0f0 up 確認啟用連接 # ifconfig # cat /etc/sysconfig/network-scripts/ifup-eth # ip -4 addr # ip addr add 192.168.0.2/24 dev enp175s0f0 掛接nas磁碟機: # mount 192.168.0.3:/Server2 /tmp 還原3個磁區: # df -h # ls /tmp # umount /mnt/sysimage/boot/efi/ # symsr -r /tmp/sda1.v2i -d /dev/sda1 # umount /mnt/sysimage/boot/ # symsr -r /tmp/sda2.v2i -d /dev/sda2 以下無效: # umount /mnt/sysimage/ # fuser -k /mnt # umount /mnt/sysimage/ # symsr -r /tmp/sda3.v2i -d /dev/sda3