[BlueOnyx:23466] Re: Azure 5209R VPS failure to add additional admin

Michael Stauber mstauber at blueonyx.it
Sat Nov 16 09:40:04 -05 2019


Hi Lee,

> However, on trying to create a new admin, the same issue is occurring:
Right. That's because you still may have no quota active, as we can see
in the result from the "mount" command you posted earlier:

/dev/sda2 on / type xfs (rw,relatime,attr2,inode64,noquota)

That should look like this instead:

/dev/sda2 on / type xfs (rw,relatime,attr2,inode64,usrquota,grpquota)

XFS quota has the oddity that you need a certain kernel parameter in
your grub configuration in order to activate disk quota on / and you
don't have that set yet.

Create the shell script /root/fixgrub.sh and paste the code from this
URL into it:

https://pastebin.com/myPzFecF

Make the script executable ("chmod 755 /root/fixgrub.sh") and run it:

/root/fixgrub.sh

Then reboot. That will append your grub configuration with the
parameters 'biosdevname=0', 'net.ifnames=0' and
'rootflags=uquota,grpquota' and will enable XFS disk quota. It'll also
make sure that your network interfaces are in the ethX style format.

Future manual installs of 5209R will fix this automatically during the
first installation of 5209R.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list