Quota to be provided for Folder in Ubuntu Server
-
Check out the guide from the digital Ocean guys...
https://www.digitalocean.com/community/tutorials/how-to-enable-user-and-group-quotas
Edit: Scott has a point. The instructions above appear to only do a user quota per hard drive.
-
Folders don't have sizes in Linux. Just use any block device of 1TB or great and make a filesystem and put a folder there and the folder will have access to a TB of storage.
-
I have done RAID 5 in 4*1TB hdd and in that RAID I have configured root and boot space
-
@Lakshmana Are you going to give each user the same amount of space?
-
@Lakshmana said:
I have done RAID 5 in 4*1TB hdd and in that RAID I have configured root and boot space
So any folder that you make there will have access to 3TB of storage that is shared.
-
He can enable user-quotas, but it won't lock the users to storing files in just one folder.
-
NO i need to create only one folder in the user to be shared in NFS at the master server.
-
You need to make LVM logical volumes, make one of them 1TB in size and put the folder that you want to share as the root of it. Then you will have your controls where you need them.
-
Sorry the partition should not be LVM and the manual partition is done for the HDD available space of 3 TB
-
@Lakshmana said:
Sorry the partition should not be LVM and the manual partition is done for the HDD available space of 3 TB
"Should not be LVM"? That's an odd statement. All server Linux storage should be LVM. That is how you have necessary controls (like we are discussing here), flexibility and protection. Without LVM you can't take snapshots.
-
@Lakshmana said:
the manual partition is done for the HDD available space of 3 TB
Demonstrating why LVM should be there. Now you need to start over because you skipped the step that would allow you to do what you want here.
-
Without making a different filesystem, I am not sure that you can have a quota at the folder level. You will have to have quotas for the entire filesystem. And there isn't a way to limit the folder, the storage used for the folder will impact the root filesystem.
-
There is no storage used for the server but the folder should have 1 TB of limit and then only the mounting will be done at the master server by NFS
-
@Lakshmana said:
There is no storage used for the server but the folder should have 1 TB of limit and then only the mounting will be done at the master server by NFS
Folder limits don't exist. What you need is a file system limit. That is what LVM is for.
-
I have found gdisk debian file for creating partition for GPT.Now I can be able found but whether any package is need to be downloaded because the server does not have internet.
How to download the whole package with dependency files also ???
-
I don't believe that you can use gdisk after the system has been set up. But maybe you can, if it is an offline tool. There are whole distros made just for this. You can also use an Ubuntu Live DVD.
-
i have used ubuntu server cd 14.04 64 bit.but not able to download whole gdisk in one debian file.
Any links to download whole debian file one package -
@Lakshmana said:
i have used ubuntu server cd 14.04 64 bit.but not able to download whole gdisk in one debian file.
Any links to download whole debian file one packageIsn't GDisk included in the Live DVD already? Maybe not, but I thought that it was.
-
@scottalanmiller said:
hought that it was
not present in CD.
The server is without internet i need to download that file from internet -
@Lakshmana said:
@scottalanmiller said:
hought that it was
not present in CD.
The server is without internet i need to download that file from internetYes, I understand that you are offline. That is unfortunate that it is not on the CD, that would have been very practical.
I'm not sure what all files are needed for it, unfortunately.