What is cfgadm command?

What is cfgadm command?

The cfgadm command is used to take a component offline. The benefit of using the cfgadm command is that you can add, remove, or replace components while the system is running. An added benefit is that the cfgadm command guides you through the steps needed to add, remove, or replace system components.

How to unconfigure disk in solaris 11?

How to Unconfigure a Multipathed FC Device

  1. Become an administrator.
  2. Identify the port WWN of the fabric device to be unconfigured.
  3. Stop all device activity to each fabric device on the selected port and unmount any file systems on each fabric device.
  4. Unconfigure fabric devices associated with the device.

How to remove disk in solaris 11?

Using luxadm

  1. Remove the disk using the luxadm command : # /usr/sbin/luxadm remove_device /dev/rdsk/c1t1d0s2.
  2. If the disk fails to get removed, physically remove the disk and use below command : # luxadm -e offline /dev/rdsk/c1t1d0s2.
  3. Cleanup the device files for the removed device from /dev directory :

How do I eject a disk in Solaris?

Removing the Disk Drive

  1. Use the luxadm remove_device command to remove the disk. The luxadm remove_device command is interactive. You will be guided through the procedure for removing a device or chain of devices.
  2. Remove the disk drive and then hit any key. Note –

How do I scan a new disk in Solaris 11?

Let’s see how we can re-scan the SAN/FC luns on solaris 10/11 hosts. To scan new FC luns, Just execute the below commands. “luxadm probe” also used to scan FC luns but i am happy to use cfgadm….

  1. List the connected HBA.
  2. Reset the HBA using forcelip option.
  3. Verify the controller status using “cfgadm -al”.

How do I eject a disk in Solaris 10?

Remove disk on Solaris 10

  1. c1t1d0
  2. Determine the correct Ap_Id label for the hard drive that you want to remove.
  3. Unconfigure the hard drive that you intend to remove.
  4. Check that the device is now unconfigured:

How do I scan a LUN in Solaris 10?

How do I find disk path in Solaris?

How to Monitor a Disk Path

  1. Become superuser or assume a role that provides solaris. cluster. modify RBAC authorization on any node in the cluster.
  2. Monitor a disk path. # cldevice monitor -n node disk.
  3. Verify that the disk path is monitored. # cldevice status device.

How do I scan a disk in Linux?

In Linux we can scan the LUNs using the script “rescan-scsi-bus.sh” or triggering some device host files with some values. Note the number of hosts available in the server. If you have more number of hosts file under the directory /sys/class/fc_host, then use the command for each hosts file by replacing the “host0”.

How do I view disk details in Solaris 11?

To identify disks, launch the Format utility by issuing the format command. The command displays the disks in the system similar to the following example: # format AVAILABLE DISK SELECTIONS: 0.

How do I see disk size in Solaris 11?

Use the df command to show the amount of free disk space on each mounted disk.

What does cfgadm check for?

The cfgadm command does some basic checking to prevent critical partitions from being disconnected, but it cannot detect all cases. Inappropriate use of this command can result in a system hang and could require a system reboot. Verify that the SCSI bus is disconnected.

How does cfgadm prevent critical partitions from being disconnected?

The cfgadm command does some basic checking to prevent critical partitions from being disconnected, but it cannot detect all cases. Inappropriate use of this command can result in a system hang and could require a system reboot.

How do I get cfgadm to show the controllers and enclosures?

Use the ‘-o show_FCP_dev’ option to get cfgadm to show not only the controllers and the enclosures, but also any fibre channel disks that may be visible on the channel:

How to identify Luns in Solaris 10?

In Solaris 10, you can use the “fcinfo” utility which is a 2 step process to identify the Luns presented to the server. 1. Find the HBA port WWN number on the server: This command will show the HBA Port WWN among other information like the Node WWN, Device name, manufacturer, firmware, driver details etc.

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top