Got it

System Startup Failure Upon a Power-On After a New Disk Is Inserted to a Node

109 0 0 0 0

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:

  1. 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.

    3_en-us_image_0176192746.png

  2. 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.

    3_en-us_image_0176193344.png

    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.)

    3_en-us_image_0176193399.png

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

    3_en-us_image_0176193468.png

    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.

  4. 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.

    1_en-us_image_0230525208.png

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

    1_en-us_image_0230525245.png

  6. 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.

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.