OVH boot problem . Can't enable quota

kisiek

Verified User
Joined
Apr 25, 2007
Messages
44
Hi
On fresh installed system I notice that I can't create packages in Direct Admin .
I followed https://docs.directadmin.com/operation-system-level/os-general/filesystems-and-quotas.html and enabled it for XFS filesystem .
After reboot server is not responding . That is confusing . Looking into IPMI it is showing me grub shell and nothing . Can't boot to system .
Reboot once again with IPMI view . Boom I don't have grub but Refind boot . When I choose second Option server booted to system but still without quota enabled .
At least is it working right now . I checked in BIOS and can't change boot order . Only PXE is enable can't do it directly from Disk .
Any ideas how to fix that ?
Some useful snapshots from system .
[root@athena rocky]# cat /etc/fstab
UUID=011ba00c-ca5d-4b7f-9fbd-081d112cfc16 / xfs defaults,uquota,gquota 0 1
UUID=8ab6ba7d-3a62-4ad7-bfe1-c7e799607625 /boot xfs defaults 0 0
LABEL=EFI_SYSPART /boot/efi vfat defaults 0 1
UUID=8db0544b-c141-47dc-974d-fef0f8820074 /var/log xfs defaults 0 0
UUID=808f3a27-47e2-4dbb-913f-61f746ebed58 swap swap defaults 0 0
UUID=9780fed4-da1c-4f83-8add-fe83a18063c6 swap swap defaults 0 0

[root@athena rocky]# mount | grep -i boot
/dev/md2 on /boot type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
[root@athena rocky]# cat /boot/efi/EFI/rocky/grub.cfg
search --no-floppy --root-dev-only --fs-uuid --set=dev 8ab6ba7d-3a62-4ad7-bfe1-c7e799607625
set prefix=($dev)/grub2
export $prefix
configfile $prefix/grub.cfg


EFI OVH.png
 
I'm just wondering about 2 things. Why do you have 2 swap partitions?

However, could this be the cause of the system not booting?
UUID=011ba00c-ca5d-4b7f-9fbd-081d112cfc16 / xfs defaults,uquota,gquota 0 1
according to the docs, this should be pquota, not gquota.
At least if the mount | grep ' / ' command does not show a "noquota" in the answer.
 
I corrected fstab but still no luck .
Here is some additional info

[root@athena rocky]# blkid
/dev/nvme0n1p5: UUID="8007fc96-58ef-1e47-7591-d5240bbfccd0" UUID_SUB="c787cfa9-3b65-fc4a-33e4-00334ab237d4" LABEL="md5" TYPE="linux_raid_member" PARTLABEL="logical" PARTUUID="696cb9a9-322e-4de0-a48e-5cac9ccb4cc6"
/dev/nvme0n1p3: UUID="0b8664bc-35f2-15a4-67ce-c398f019af04" UUID_SUB="90ff7261-6e4e-80b0-6d71-9986f47b466e" LABEL="md3" TYPE="linux_raid_member" PARTLABEL="primary" PARTUUID="29c9fc6b-815a-432d-9c38-4ce55beecce1"
/dev/nvme0n1p1: SEC_TYPE="msdos" LABEL_FATBOOT="EFI_SYSPART" LABEL="EFI_SYSPART" UUID="4C1B-1185" TYPE="vfat" PARTLABEL="primary" PARTUUID="207047e3-d036-4a04-83aa-0e79fb1a1559"
/dev/nvme0n1p6: UUID="2024-03-13-14-14-39-00" LABEL="config-2" TYPE="iso9660" PARTLABEL="logical" PARTUUID="40f032df-c6e1-49a5-9b43-df02383a88e5"
/dev/nvme0n1p4: LABEL="swap-nvme0n1p4" UUID="808f3a27-47e2-4dbb-913f-61f746ebed58" TYPE="swap" PARTLABEL="primary" PARTUUID="798931ce-7080-4fe4-a6b0-cbdc4099d26a"
/dev/nvme0n1p2: UUID="87dc14a7-6bc9-1de3-218f-c2003e32e28f" UUID_SUB="9b165e89-38e1-be38-f8fb-9c6055e33323" LABEL="md2" TYPE="linux_raid_member" PARTLABEL="primary" PARTUUID="1eacb6f8-30d0-4bb9-9853-16be03d8ef19"
/dev/md2: LABEL="boot" UUID="8ab6ba7d-3a62-4ad7-bfe1-c7e799607625" TYPE="xfs"
/dev/md5: LABEL="var-log" UUID="8db0544b-c141-47dc-974d-fef0f8820074" TYPE="xfs"
/dev/nvme1n1p4: LABEL="swap-nvme1n1p4" UUID="9780fed4-da1c-4f83-8add-fe83a18063c6" TYPE="swap" PARTLABEL="primary" PARTUUID="f549f07d-1e22-405d-a2ca-8b7329fe3c27"
/dev/nvme1n1p2: UUID="87dc14a7-6bc9-1de3-218f-c2003e32e28f" UUID_SUB="7b05731a-6030-fa18-530c-cb5e84c6d67f" LABEL="md2" TYPE="linux_raid_member" PARTLABEL="primary" PARTUUID="eef8e634-8a8a-486c-95f3-d13f6c5cdb9e"
/dev/nvme1n1p5: UUID="8007fc96-58ef-1e47-7591-d5240bbfccd0" UUID_SUB="f3a63e90-3815-a422-e014-4fd29ae41b30" LABEL="md5" TYPE="linux_raid_member" PARTLABEL="logical" PARTUUID="75eec663-d01b-435f-8ec7-2471a9e4e693"
/dev/nvme1n1p3: UUID="0b8664bc-35f2-15a4-67ce-c398f019af04" UUID_SUB="3f4fba0e-467f-8350-7b99-a5b7a553282e" LABEL="md3" TYPE="linux_raid_member" PARTLABEL="primary" PARTUUID="5891535b-ff83-48b5-8187-222985556125"
/dev/nvme1n1p1: SEC_TYPE="msdos" LABEL_FATBOOT="EFI_SYSPART" LABEL="EFI_SYSPART" UUID="4C31-0926" TYPE="vfat" PARTLABEL="primary" PARTUUID="214fbdb1-fbbc-4582-8c0d-a6b5fb070cb3"
/dev/md3: LABEL="root" UUID="011ba00c-ca5d-4b7f-9fbd-081d112cfc16" TYPE="xfs"

I also mounted both EFI to compare grub files on it .

[root@athena EFI]# diff /mnt/disk1/EFI/rocky/grub.cfg /mnt/disk2/EFI/rocky/grub.cfg
1c1
< search --no-floppy --root-dev-only --fs-uuid --set=dev 8ab6ba7d-3a62-4ad7-bfe1-c7e799607625
---
> search --no-floppy --fs-uuid --set=dev 8ab6ba7d-3a62-4ad7-bfe1-c7e799607625

[root@athena EFI]# cat /etc/default/grub
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_CMDLINE_LINUX="rd.auto nomodeset console=tty0 console=ttyS1,115200n8"
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --unit=1 --speed=115200 --parity=no --word=8"
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} rootflags=uquota,pquota"

I'm even able to pay someone to fix that and find permanent solution .
 
And you sure this command:
mount | grep ' / '
does -not- show noquota in the answer?

Then I'm out of options, but I'm no quota expert either, maybe @zEitEr or @smtalk can help you further with this.
It's also possible to hire their company's if required.
 
Back
Top