Symptom:
After a disk from one node is inserted into another node in FusionStorage, the node to which the disk is inserted cannot restart normally.
Diagnosis:
Use SSH to log in to the iBMC CLI and run the # ipmcset -t sol -d activate -v 1 0 command to display information about the serial port for system startup, viewing system startup details.

On the BMC GUI, when the operating system is started and the GRUB selection screen is displayed, press E to edit the operating system startup parameters.

The default user name and password of the GRUB account for logging in to the EulerOS is root and Huawei#12, respectively. (If the password is incorrect, contact the package generation personnel to check whether the password is customized.)

Add serial port configuration console=ttyS0,115200 to the end of linux /vmlinuz-* to output the detailed EulerOS startup logs to the iBMC CLI.

If necessary, add parameter rd.break=[breakpoint] to enter different phases of initramfs for debugging and analysis. [breakpoint] can be cmdline, pre-udev, pre-trigger, initqueue, pre-mount, mount, pre-pivot, or cleanup.
Parameter description:
cmdline: analyzes parameters in kernel cmdline.
pre-udev: writes udev rules before the udev service is started.
pre-trigger: sets the udev environment variables after the udev service is started.
initqueue: udev service time monitoring, timeout waiting, and service stopping
pre-mount: The execution time of the pre-mount step is the time point before root partition mounting.
mount: mounts the real root file system to /sysroot.
pre-pivot: The execution time of the pre-pivot step is the time point before switching to the systemd of the real root file system.
cleanup: the last cleanup before switching to the systemd of the real root file system.
Take rd.break=initqueue as an example. After entering the shell through the breakpoint, you can manually run the #lvm command to access the interactive interface. Then, run the pvscan or vgscan command to confirm information about the logical volumes with the same name.

Then, run the pvremove or vgremove command in interactive mode to remove the logical volumes with the same name.

In the initqueue prompt, run the exit command to exit the breakpoint and continue starting the system.
Cause:
The newly inserted disk has been partitioned, and the name of a partition is the same as that of an existing volume partition on the node.
Solution:
Run the dd if=/dev/zero of=/dev/sdxx count=2048 command to clear information about the volume partition whose name is the same as a partition on the newly inserted disk. The setting takes effect after the node is restarted.
Check After Recovery:
The node can start normally.



