LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 03-05-2019, 09:35 AM   #1
funkytwig
Member
 
Registered: Jun 2016
Posts: 46

Rep: Reputation: Disabled
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 for fstab is

UUID=ed9b61db-4055-4ecb-b0e0-bde888282ec7 / ext4 quota,seclabel,grpquota,usrquota,data=ordered,relatime,rw 0 1

So do I just remove quota & grpquota (I know there is other stuff like UUID I need to change) or is there another strategy?

Asking here as I think it is fairly distribution agnostic.

PS

or can I just 'yum remove quote' and remove quota, grpquota and usrquota from fstab

Ben

Last edited by funkytwig; 03-05-2019 at 10:19 AM.
 
Old 03-05-2019, 03:27 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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.

Are you using LVM or partitions (or metadisks)?
 
Old 03-05-2019, 04:49 PM   #3
funkytwig
Member
 
Registered: Jun 2016
Posts: 46

Original Poster
Rep: Reputation: Disabled
Already done the reinstall. It's on a separate disk. I am just using the /home from the old disk.
 
Old 03-05-2019, 05:05 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by funkytwig View Post
... 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.
 
Old 03-06-2019, 12:06 PM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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?
 
Old 03-26-2019, 02:48 PM   #6
funkytwig
Member
 
Registered: Jun 2016
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MensaWater View Post
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?
Just standard ext4.
 
Old 03-27-2019, 12:13 PM   #7
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Originally Posted by funkytwig View Post
Just standard ext4.
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot create aquota.group file with quotacheck here_and_there Linux - Server 0 02-04-2015 03:44 PM
quota.user or aquota.user outbackjack Linux - General 1 07-04-2006 07:30 AM
creating file /aquota.user and /aquota.group?? deepika Linux - Newbie 1 10-09-2003 03:15 AM
creating file /aquota.user and /aquota.group?? deepika Linux - Newbie 1 07-29-2003 11:02 AM
Missing aquota. group and aquota.user files nam Linux - General 2 11-05-2002 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration