Please enter search query.
Search <book_title>...
Veritas Access トラブルシューティングガイド
Last Published:
2018-08-01
Product(s):
Access (7.4)
Platform: Linux
- 概要
- 一般的なトラブルシューティング手順
- Veritas Access の監視
- 一般的な回復手順
- Veritas Access の階層としてのクラウド機能のトラブルシューティング
- Veritas Access のインストールと設定に関する問題のトラブルシューティング
- LTR アップグレードのトラブルシューティング
- Veritas Access CIFS の問題のトラブルシューティング
- Veritas Access GUI 起動問題のトラブルシューティング
ディスクの交換
場合によっては、既存のディスクを交換する必要があります。このセクションでは、ディスクを交換する手順について説明します。
ディスクを交換するには
- 交換する必要があるディスクをアレイ側から削除します。
- 新しいディスクをシステムにアレイ側から追加します。
- Veritas Volume Manager (VxVM) ビューから古いディスクを排除するために、クラスタ内のすべてのノードで次のコマンドを実行します。
#vxdisk rm <old-disk-name>
- ディスクを交換するノードで次のコマンドを実行します。
# vxdisk scandisks
- vxdisksetup コマンドを使用して、クラスタに追加された新しいディスクを初期化します。
#/etc/vx/bin/vxdisksetup - fi <new-disk-name>
- 障害が発生したディスクが存在するノード上の Veritas Access プール名と同様のタグを、新たに追加されたデバイスに適用します。
# vxdisk settag site=<pool-name> <new-disk-name>
- vxdiskadm コマンドを実行して option #5 を選択し、障害が発生したディスクを障害が発生したディスクが存在するノード上の新しいディスクと交換します。
#vxdiskadm
メモ:
ディスクの交換が下位のノードからトリガされる場合、vxrecover コマンドは失敗します。
- ディスクの交換が下位のノードからトリガされる場合、影響を受けるすべてのボリュームのスレーブノードから次のコマンドを実行します。
#vxrecover - b - c - s <vol-name>
- 新しく追加したディスクの名前をディスクアクセス名に変更します。
#vxedit - g <dg-name> rename <old-disk-name> <new-disk-name>
- 新しく追加されたディスク名に合わせてサブディスクの名前を変更します。
#vxedit - g <dg-name> rename <old-subdisk-name> <new-subdisk-name>
例: マスターノードからのディスクの交換
この例では、emc0_2255
ディスクを emc0_2263
ディスクと交換する手順について説明します。emc0_2263
ディスクは除外され、ディスクの追加をシミュレートするために後で追加されます。
マスターノードからのディスクの交換
- vxdmpadm exclude コマンドを実行して
emc0_2255
ディスクを削除します。# vxdmpadm exclude dmpnodename=emc0_2255
- vxdmpadm include コマンドを実行して、
emc0_2263
ディスクを含めます。# vxdmpadm include dmpnodename=emc0_2263
メモ:
ディスクをスキャンするために vxdisk scandisks コマンドを実行できます。
- settag コマンドを実行してタグを基礎となるディスクに適用します。
# vxdisk settag emc0_2263 tag=pool1
- vxdiskadm コマンドを実行して option #5 を選択し、障害が発生したディスクを交換します。
[root@fss7310_01 ~]# vxdiskadm Volume Manager Support Operations Menu:: VolumeManager/Disk 1 Add or initialize one or more disks 2 Encapsulate one or more disks 3 Remove a disk 4 Remove a disk for replacement 5 Replace a failed or removed disk 6 Mirror volumes on a disk 7 Move volumes from a disk 8 Enable access to (import) a disk group 9 Remove access to (deport) a disk group 10 Enable (online) a disk device 11 Disable (offline) a disk device 12 Mark a disk as a spare for a disk group 13 Turn off the spare flag on a disk 14 Unrelocate subdisks back to a disk 15 Exclude a disk from hot-relocation use 16 Make a disk available for hot-relocation use 17 Prevent multipathing/Suppress devices from VxVM's view 18 Allow multipathing/Unsuppress devices from VxVM's view 19 List currently suppressed/non-multipathed devices 20 Change the disk naming scheme 21 Change/Display the default disk layouts 22 Dynamic Reconfiguration Operations list List disk information Select an operation to perform: 5 Replace a failed or removed disk Menu:: VolumeManager/Disk/ReplaceDisk Use this menu operation to specify a replacement disk for a disk that you removed with the "Remove a disk for replacement" menu operation, or that failed during use. You will be prompted for a disk name to replace and a disk device to use as a replacement. You can choose an uninitialized disk, in which case the disk will be initialized, or you can choose a disk that you have already initialized using the Add or initialize a disk menu operation. Select a removed or failed disk [<disk>,list,q,?] list Disk group: sfsdg DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE dm emc0_2255 - - - - NODEVICE Select a removed or failed disk [<disk>,list,q,?] emc0_2255 The following devices are available as replacements: emc0_2263 You can choose one of these devices to replace emc0_2255. Choose "none" to initialize another device to replace emc0_2255. Choose a device, or select "none" [<device>,none,q,?] (default: emc0_2263) emc0_2263 VxVM INFO V-5-2-382 The requested operation is to use the initialized device emc0_2263 to replace the removed or failed disk emc0_2255 in disk group sfsdg. Continue with operation? [y,n,q,?] (default: y) y Use FMR for plex resync? [y,n,q,?] (default: n) VxVM INFO V-5-2-282 Replacement of disk emc0_2255 in group sfsdg with disk device emc0_2263 completed successfully. Replace another disk? [y,n,q,?] (default: n)
- vxdg 問題を回避するために、ディスクアクセス名に合わせてディスク名を変更します。
# vxedit -g sfsdg rename emc0_2255 emc0_2263 # vxdisk list | grep emc0_2263 emc0_2263 auto:cdsdisk emc0_2263 sfsdg online shared
- ディスクアクセス名に合わせてサブディスクの名前を変更します。
# vxedit -g sfsdg rename emc0_2255-03 emc0_2263-03 # vxedit -g sfsdg rename emc0_2255-02 emc0_2263-02 [root@fss7310_01 ~]# vxprint -pvs | grep -i 2263 sd emc0_2263-02 vol1-P01 ENABLED 699136 0 - - - sd emc0_2263-03 vol1_dcl-01 ENABLED 67840 0 - - - [root@fss7310_01 ~]# vxprint -pvs | grep -i 2255 [root@fss7310_01 ~]#
例: 下位のノードからのディスクの交換
この例では、emc0_2273
ディスクを emc0_2305
ディスクと交換する手順について説明します。emc0_2263
ディスクは除外され、ディスクの追加をシミュレートするために後で追加されます。
下位のノードからディスクを交換するには
- vxdmpadm exclude コマンドを実行して
emc0_2273
ディスクを削除します。# vxdmpadm exclude dmpnodename=emc0_2273
- vxdmpadm include コマンドを実行して、
emc0_2305
ディスクを含めます。# vxdmpadm include dmpnodename=emc0_2305
メモ:
ディスクをスキャンするために vxdisk scandisks コマンドを実行できます。
- クラスタ内の残りのノードから vxdisk rm コマンドを実行します。
[root@fss7310_02 ~]# vxdisk rm emc0_2273 [root@fss7310_01 ~]# vxdisk rm emc0_2273
- settag コマンドを実行してタグを基礎となるディスクに適用します。
# vxdisk settag emc0_2305 tag=pool1
- vxdiskadm コマンドを実行して option #5 を選択し、障害が発生したディスクを交換します。
[root@fss7310_01 ~]# vxdiskadm Volume Manager Support Operations Menu:: VolumeManager/Disk 1 Add or initialize one or more disks 2 Encapsulate one or more disks 3 Remove a disk 4 Remove a disk for replacement 5 Replace a failed or removed disk 6 Mirror volumes on a disk 7 Move volumes from a disk 8 Enable access to (import) a disk group 9 Remove access to (deport) a disk group 10 Enable (online) a disk device 11 Disable (offline) a disk device 12 Mark a disk as a spare for a disk group 13 Turn off the spare flag on a disk 14 Unrelocate subdisks back to a disk 15 Exclude a disk from hot-relocation use 16 Make a disk available for hot-relocation use 17 Prevent multipathing/Suppress devices from VxVM's view 18 Allow multipathing/Unsuppress devices from VxVM's view 19 List currently suppressed/non-multipathed devices 20 Change the disk naming scheme 21 Change/Display the default disk layouts 22 Dynamic Reconfiguration Operations list List disk information ? Display help about menu ?? Display help about the menuing system q Exit from menus Select an operation to perform: 5 Replace a failed or removed disk Menu:: VolumeManager/Disk/ReplaceDisk Use this menu operation to specify a replacement disk for a disk that you removed with the "Remove a disk for replacement" menu operation, or that failed during use. You will be prompted for a disk name to replace and a disk device to use as a replacement. You can choose an uninitialized disk, in which case the disk will be initialized, or you can choose a disk that you have already initialized using the Add or initialize a disk menu operation. Select a removed or failed disk [<disk>,list,q,?] list Disk group: sfsdg DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE dm emc0_2273 - - - - NODEVICE Select a removed or failed disk [<disk>,list,q,?] emc0_2273 The following devices are available as replacements: emc0_2305 You can choose one of these devices to replace emc0_2255. Choose "none" to initialize another device to replace emc0_2255. Choose a device, or select "none" [<device>,none,q,?] (default: emc0_2305) emc0_2305 VxVM INFO V-5-2-382 The requested operation is to use the initialized device emc0_2305 to replace the removed or failed disk emc0_2273 in disk group sfsdg. Continue with operation? [y,n,q,?] (default: y) Use FMR for plex resync? [y,n,q,?] (default: n) VxVM vxrecover ERROR V-5-1-16084 Disk group: sfsdg is shared. The command can be executed only on the master. Use -c option to recover all the shared disk groups from slaves. VxVM INFO V-5-2-282 Replacement of disk emc0_2273 in group sfsdg with disk device emc0_2305 completed successfully. Replace another disk? [y,n,q,?] (default: n)
- 次のコマンドを実行して影響を受けるボリュームのリカバリをトリガします。
# vxrecover -b -c -s vol1
- vxdg 問題を回避するために、ディスク名をディスクアクセス名に変更します。
# vxedit -g sfsdg rename emc0_2273 emc0_2305 # vxdisk list | grep emc0_2305 emc0_2305 auto:cdsdisk emc0_2305 sfsdg online shared
- 新しく追加されたディスクで従う命名規則に合わせてサブディスクの名前を変更します。
# vxedit -g sfsdg rename emc0_2273-02 emc0_2305-02 # vxedit -g sfsdg rename emc0_2273-03 emc0_2305-03 # vxprint -pvs | grep -i emc0_2305 sd emc0_2305-02 vol1-P02 ENABLED 699136 0 - - - sd emc0_2305-03 vol1_dcl-02 ENABLED 67840 0 - - - # vxprint -pvs | grep -i emc0_2273