ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Quota to be provided for Folder in Ubuntu Server

    IT Discussion
    linux ubuntu ubuntu 14.04 storage unix
    5
    35
    8.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dafyreD
      dafyre
      last edited by dafyre

      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.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • LakshmanaL
          Lakshmana
          last edited by

          I have done RAID 5 in 4*1TB hdd and in that RAID I have configured root and boot space

          dafyreD scottalanmillerS 2 Replies Last reply Reply Quote 0
          • dafyreD
            dafyre @Lakshmana
            last edited by

            @Lakshmana Are you going to give each user the same amount of space?

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Lakshmana
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • dafyreD
                dafyre
                last edited by

                He can enable user-quotas, but it won't lock the users to storing files in just one folder.

                1 Reply Last reply Reply Quote 1
                • LakshmanaL
                  Lakshmana
                  last edited by

                  NO i need to create only one folder in the user to be shared in NFS at the master server.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • LakshmanaL
                      Lakshmana
                      last edited by

                      Sorry the partition should not be LVM and the manual partition is done for the HDD available space of 3 TB

                      scottalanmillerS 2 Replies Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Lakshmana
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Lakshmana
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • Reid CooperR
                            Reid Cooper
                            last edited by

                            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.

                            1 Reply Last reply Reply Quote 2
                            • LakshmanaL
                              Lakshmana
                              last edited by

                              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

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Lakshmana
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • LakshmanaL
                                  Lakshmana
                                  last edited by

                                  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 ???

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    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.

                                    1 Reply Last reply Reply Quote 0
                                    • LakshmanaL
                                      Lakshmana
                                      last edited by

                                      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

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Lakshmana
                                        last edited by

                                        @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 package

                                        Isn't GDisk included in the Live DVD already? Maybe not, but I thought that it was.

                                        handsofqwertyH 1 Reply Last reply Reply Quote 0
                                        • LakshmanaL
                                          Lakshmana
                                          last edited by

                                          @scottalanmiller said:

                                          hought that it was

                                          not present in CD.
                                          The server is without internet i need to download that file from internet

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @Lakshmana
                                            last edited by

                                            @Lakshmana said:

                                            @scottalanmiller said:

                                            hought that it was

                                            not present in CD.
                                            The server is without internet i need to download that file from internet

                                            Yes, 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.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post