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.
    • L
      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
      • S
        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
        • L
          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

          S 2 Replies Last reply Reply Quote 0
          • S
            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
            • S
              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
              • R
                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
                • L
                  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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    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
                    • L
                      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
                      • S
                        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
                        • L
                          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

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            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.

                            H 1 Reply Last reply Reply Quote 0
                            • L
                              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

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                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
                                • L
                                  Lakshmana
                                  last edited by

                                  gparted gives an error no free sector available and parted not able to to partition the harddisk in ext4 method,
                                  now gdisk is found but the link is not able to do

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

                                    @Lakshmana said:

                                    gparted gives an error no free sector available and parted not able to to partition the harddisk in ext4 method,
                                    now gdisk is found but the link is not able to do

                                    Right, that is because the entire disk is already used. Normally partitioning is done before you start. It is specifically LVM that allows you to resize or add new partitions later.

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

                                      any link to download the gdisk now

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

                                        Try this...

                                        http://pkgs.org/ubuntu-14.04/ubuntu-main-amd64/gdisk_0.8.8-1build1_amd64.deb.html

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

                                          many dependency files are there for here to download. any link to download as whole file

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

                                            @Lakshmana said:

                                            many dependency files are there for here to download. any link to download as whole file

                                            I see. No, this is the "whole file." The dependencies would never be a part of it. It's not that this is not whole, it just requires parts of the operating system that are not installed. Unfortunately you would need to track them all down and download each of them.

                                            You can download all files for Ubuntu 14.04 and carry them on a USB stick so that you have anything that you might need. That's probably what I would do. Annoying to have to download so much, but then you are ready for anything.

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