Hi Good day to every one
I was using virtualmin fine and user and group quota was working fine until i was working on side project using lxd container i wanted to activate quota on lxd container so i activated project quota using " tune2fs -O project " on my /dev/sda3 drive and added prjquota to etc/fstab and installed xfs to handle lxd projects id quota and it worked fine but after a couple of days i was trying to create a new virtualhost on my virtualmin on my main host i found that user and qroup quota turned off and don’t want to get back on again
Here is my /etc/fstab options but i removed prjquota and rebooted hoping for usrquota,grpquota to work
" / ext4 relatime,quota,errors=remount-ro,usrquota,grpquota,rw 0 0 "
i Then run " quotacheck -ugmv / "
quotacheck: Scanning /dev/sda3 [/] done
but when running " quotaon -ug / " i always get those errors
quotaon: using //aquota.group on /dev/sda3 [/]: Invalid argument
quotaon: Maybe create new quota files with quotacheck(8)?
quotaon: using //aquota.user on /dev/sda3 [/]: Invalid argument
quotaon: Maybe create new quota files with quotacheck(8)?
when checking with chatgpt because i can’t find a lot of resources online about this problem
chatgpt said when enabling project quota using " tune2fs -O project " it stays and you can’t reverse it back until you formatted the drive so i need to reinstall my system again chatgpt said this is only with ext4 not xfs because project quota don’t play well with user and group quota , is there a way to avoid reinstalling my system ?
I wouldn’t trust ChatGPT. It lies all the time. And, I’m inclined to walk away when I see someone has followed ChatGPT to hell, because recovering from the dumb shit it recommends is often impossible. If you’re going to let ChatGPT administer your system, I strongly suggest you make some backups right now, because you are definitely going to need them.
Please wrap any config files or error messages, etc. in backticks or triple backticks, so it gets formatted in a way that’s easier to read. I’m not sure, but I think your mount options are wrong. You’ve got quota, but you should just have usrquota and grpquota.
You probably do need to regenerate the quote files, if they have a different format or different data for project quotas. I have no experience with project quotas.
I would be stunned if you have to reformat the disk because of project quotas. That doesn’t even make sense.
I am totally with you you can’t trust ChatGPT, it just help sometimes shorting the search time
And ya i was supposed to try it locally before implementing it online.
I did removed and regenerated the quota files but still nothing happened i don’t know if the xfs quota software is the problem i install it to handle the project quota
Well thank you for your time i will search more hoping to find any way out