Skip to main content
Solved

Enable Root User after storage pool deletion

  • Feb 26, 2024 8:17 PM UTC
  • 5 replies
  • 150 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

 

View original

5 replies

Damian Andre
Vaulter
Forum|alt.badge.img+27

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
  • Feb 27, 2024 4:01 PM UTC

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+17
  • Vaulter
  • Answer
  • Feb 28, 2024 2:24 AM UTC

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+23

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

Thanks,
Scott
 


Forum|alt.badge.img
  • Author
  • Novice
  • Mar 1, 2024 3:25 PM UTC

That worked, thank you!