How do I replace a failed disk in Veritas Volume Manager?

How do I replace a failed disk in Veritas Volume Manager?

The procedure to replace a failed disk under VxVM is quite simple. List the failed disks under VxVM using “list” option, and select the failed disk disk02 from disk group mydg. We would have to choose an alternate disk for the replacement of the failed disk.

How do I replace a faulty ZFS disk?

How to Replace a Disk in the ZFS Root Pool

  1. Physically connect the replacement disk.
  2. Attach the new disk to the root pool.
  3. Confirm the root pool status.
  4. After the resilvering is complete, apply the boot blocks to the new disk.
  5. Verify that you can boot from the new disk.

How do you remove disk from VxVM?

The vxdiskunsetup command removes a disk from Veritas Volume Manager control by erasing the VxVM metadata on the disk. To prevent data loss, any data on the disk should first be evacuated from the disk.

How do I install Plex on VxVM?

If the volume is currently ENABLED, use the following command to reattach the plex: # vxplex [-g diskgroup] att volume plex As when returning an OFFLINE plex to ACTIVE, this command starts to recover the contents of the plex and, after the recovery is complete, sets the plex utility state to ACTIVE.

How do I know what version of Zpool I have?

“zpool get version ” is the correct command. You will either get the pool version or a dash (-). In that case your pool is using feature flags (pool version “5000”) and you can run “zpool get all | grep feature@” to get the list of supported/enabled features.

Who invented ZFS?

Jeff Bonwick
Jeff Bonwick invented and led development of the ZFS file system, which was used in Oracle Corporation’s ZFS storage products as well as startups including Nexenta, Delphix, Joyent, and Datto, Inc.

What is Zpool clear?

If a device is taken offline due to a failure that causes errors to be listed in the zpool status output, you can clear the error counts with the zpool clear command. If specified with no arguments, this command clears all device errors within the pool.

How do I scan a new disk in Veritas?

Note: This command does not replace the need to scan for devices using the commands that are provided by the OS. Runs vxdisk scandisks….Solution.

Platform Procedure
HP-UX 1. ioscan -fnC disk 2. insf -C disk 3. vxdctl -f enable
Linux 1. /usr/bin/rescan-scsi-bus.sh 2. vxdctl -f enable

How do you replace a disk in Solaris?

Use the “zfs detach” command to remove the disk from ZFS control. 3. Perform physical replacement as follows: 4. Check if there are some remaining device. If yes clean the device tree with “devfsadm” command. 5. Insert the new disk physically. The Solaris disk configuration should be automatically done.

Which is the default partition in Solaris ZFS?

The default partition for the disk is: a 100% “SOLARIS System” partition Type “y” to accept the default partition, otherwise type “n” to edit the partition table. Then choose “y” This change can be done using fdisk under “format -e” as well.

Do you need to create a fdisk for Solaris?

On solaris the command format as a sub-command fdisk (very similar to the one old DOS uses). So you need to create at least 1 partition on the disk before you can Slice a Solaris partition on that DOS partition.

Do you need to replace faulted disk in ZFS?

While it’s very easy to use ZFS we sometime forget that we need to replace faulted disks. Here is a quicky to remember the commands works. Here is some very basic information on the required steps. I also added infos about zfs boot rpool.