Skip to main content
Solved

Enable Root User after storage pool deletion

  • February 26, 2024
  • 5 replies
  • 98 views

Forum|alt.badge.img

Is there a way to enable the Root User on a Hyperscale 1.5 node from command line? 

It was disabled when we deleted the storage pool and I was unaware we cannot run the umount command as the cvbackupadmin user.  

Best answer by Emils

You should be able to regain root access using the following steps below, you will need to have Console access via kvm or ipmi or equivalent:

  • During the system boot, hit the esc key to gain access to the grub menu
  • Select/highlight the kernel version in the Grub menu using the Up/Down arrow keys and press 'e' to start editing.
  • Scroll down to the line starting with linux/linux16/linuxefi.
  • Go to the end of the line and add the string “rw init=/bin/sh”
  • Press Ctrl-x to accept the changes and boot.

Once you’ve gained access, run the command #passwd and enter in a new or existing password, this will re-enable the root with the password entered.

One done, reboot using #/usr/sbin/reboot -f

 

5 replies

Damian Andre
Vaulter
Forum|alt.badge.img+24
  • Vaulter
  • February 27, 2024

Is ‘nodes’ missing from the storage → HyperScale view because the storage pool was deleted?

 

https://documentation.commvault.com/2023e/expert/enabling_or_disabling_root_access_for_hyperscale_1_5_appliance.html


Forum|alt.badge.img
  • Author
  • Novice
  • February 27, 2024

Yes we are decommissioning the appliance.  The documentation page called out deleting the storage pool then running commands to stop the cluster. 


Emils
Vaulter
Forum|alt.badge.img+14
  • Vaulter
  • Answer
  • February 28, 2024

You should be able to regain root access using the following steps below, you will need to have Console access via kvm or ipmi or equivalent:

  • During the system boot, hit the esc key to gain access to the grub menu
  • Select/highlight the kernel version in the Grub menu using the Up/Down arrow keys and press 'e' to start editing.
  • Scroll down to the line starting with linux/linux16/linuxefi.
  • Go to the end of the line and add the string “rw init=/bin/sh”
  • Press Ctrl-x to accept the changes and boot.

Once you’ve gained access, run the command #passwd and enter in a new or existing password, this will re-enable the root with the password entered.

One done, reboot using #/usr/sbin/reboot -f

 


Scott Moseman
Vaulter
Forum|alt.badge.img+22

Would the user need to re-enable ssh access for root?

Thanks,
Scott
 


Forum|alt.badge.img
  • Author
  • Novice
  • March 1, 2024

That worked, thank you!