Originally posted by HighLife
I need to enable disk quotas on our network file server (Samba, RedHat) to prevent the data growing too big to fit on our nightly back-up tapes.
We have 2 directories where all the shared drives are kept
After researching how to implement quotas it is recommended that /home and /data be seperate mount points/partitions as you can only enable quotas on a mount point - as well as some other good reasons. I did not originally configure our fileserver and the /home and /data directories are on the same partition as "/" and so to enable quotas I would have to enable it on the "/ "mount point - which means basically the whole disk.
I want to know if it's ok to enable quotas on "/" and if I do so will I encounter any problems?
Scary stuff there eh? Yeah, I'd pull an all nighter, backup to tape everything, then partition up the disk, put all data back from backup and live happily ever after. Short of that...
Backup the data to tape again, but instead of just chopping arbitrarily grab:
(parted) to resize. This is considered safe, but with your backups you shouldn't have to sweat nearly as much as those of us who don't have em
Resize your / partition, giving the necessary space to /home and /data create the new partitions (all with parted) mount up the new mount points, and be on your mary way. That'd be what I'd do personally, but then again, my job isn't on the line