aquota.group & aquota.user - reinstall but keeping /home
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
aquota.group & aquota.user - reinstall but keeping /home
Hi, I am upgrading from CentOS 6 to 7 so had to go a new install. However as /home had so much data I want to keep it. Am almost there (users/groups are no longer UID/GID) but the original home and the new one both have aquota.group & aquota.user in their root.
So when I flip to the new home I'm worried ed these will cause a problem.
The mount you show is for "/" which is root. Do you have a separate mount for /home?
If not it seems you'll overwrite it as a subdirectory of "/" when you do the reinstall. Hopefully you've backed everything up so you can restore even if this isn't the case and something else goes wrong.
... but the original home and the new one both have aquota.group & aquota.user in their root.
Followed by ...
Quote:
I am just using the /home from the old disk.
Be very specific about what data resides where now, and will for the final system.
Personally if I had to use it, I would simply delete the quota databases and rebuild after the migration. But then I've never used quotas, so caveat emptor.
You didn't say whether you're using partitions, LVM or metadisks. Is the mount entry you originally displayed what you had on the fstab before reinstall or the one for your new installed root? If the former was /home just a subdirectory of / or was it a separate mount point? What entry did you have for /home in the original fstab?
What does "fdisk -l" show? Do "vgs", "pvs" and "lvs" show anything?
You didn't say whether you're using partitions, LVM or metadisks. Is the mount entry you originally displayed what you had on the fstab before reinstall or the one for your new installed root? If the former was /home just a subdirectory of / or was it a separate mount point? What entry did you have for /home in the original fstab?
What does "fdisk -l" show? Do "vgs", "pvs" and "lvs" show anything?
ext4 is a filesystem type that you layout on top of a device. Answering the questions about the underlying device (e.g. by showing "fdisk -l" output) would be helpful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.