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

    How Do You See GPT Partitions on XenServer 6.5

    IT Discussion
    3
    13
    2.8k
    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.
    • BRRABillB
      BRRABill
      last edited by

      How do you see an entire disk, even the used parts?

      Akin to what you would see pulling up a disk in Disk Management in Windows?

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

        @BRRABill said in Linux: Checking Filesystem Usage with df:

        How do you see an entire disk, even the used parts?

        Akin to what you would see pulling up a disk in Disk Management in Windows?

        Totally different tools. The df tool is a filesystem one, it queries the filesystem for data. What you want is underlying device information, so we need a tool that talks to a device. There are several of these tools for Linux, some are meant to be human interactable, some are meant to be scriptable.

        The most standard tool traditionally is fdisk and it is pretty easy to use. But fdisk cannot handle GPT disks, so it is falling from use quickly. It is replaced by parted.

        BRRABillB 1 Reply Last reply Reply Quote 0
        • BRRABillB
          BRRABill @scottalanmiller
          last edited by

          @scottalanmiller said

          The most standard tool traditionally is fdisk and it is pretty easy to use. But fdisk cannot handle GPT disks, so it is falling from use quickly. It is replaced by parted.

          What fdisk parameter(s) would show the entire physical drive, including partitions and also free space.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

             fdisk -l
            

            0_1463166566975_XenCenterMain_2016-05-13_15-09-21.png

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

              @BRRABill said in Linux: Checking Filesystem Usage with df:

              @scottalanmiller said

              The most standard tool traditionally is fdisk and it is pretty easy to use. But fdisk cannot handle GPT disks, so it is falling from use quickly. It is replaced by parted.

              What fdisk parameter(s) would show the entire physical drive, including partitions and also free space.

              Dustin beat me to it.

              1 Reply Last reply Reply Quote 0
              • BRRABillB
                BRRABill
                last edited by

                Since this is a "DF for Dummies" thread, I didn't feel bad asking that.

                1 Reply Last reply Reply Quote 0
                • BRRABillB
                  BRRABill
                  last edited by

                  For XS specifically....

                  It did not like fdisk because of GPT, and say to use parted. Yet, parted does not exist on XS?

                  DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @BRRABill
                    last edited by

                    @BRRABill said in Linux: Checking Filesystem Usage with df:

                    For XS specifically....

                    It did not like fdisk because of GPT, and say to use parted. Yet, parted does not exist on XS?

                    Odd that it's not included by default right... lol

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

                      @BRRABill said in Linux: Checking Filesystem Usage with df:

                      For XS specifically....

                      It did not like fdisk because of GPT, and say to use parted. Yet, parted does not exist on XS?

                      XenServer specifically uses the very poorly known gdisk instead of parted.

                      1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403
                        last edited by

                        sudo yum -y install parted
                        

                        Should be enough to get it installed.

                        1 Reply Last reply Reply Quote 0
                        • BRRABillB
                          BRRABill @DustinB3403
                          last edited by

                          @DustinB3403 said

                          Odd that it's not included by default right... lol

                          @scottalanmiller and I have been discussing this offline a bit today. A lot of stuff isn't.

                          For example, lsblk.

                          And then we tried getting it installed, to no avail. I wonder if parted can be installed. Do you have it installed on your XS setup?

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

                            Forked us over here as this is totally unrelated to the topic that it was in and a new question was asked in the thread.

                            BRRABillB 1 Reply Last reply Reply Quote 0
                            • BRRABillB
                              BRRABill @scottalanmiller
                              last edited by

                              @scottalanmiller said

                              Forked us over here as this is totally unrelated to the topic that it was in and a new question was asked in the thread.

                              My bad.

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