Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. adding a drive

adding a drive

Scheduled Pinned Locked Moved Discuss
linuxdisk
13 Posts 4 Posters 2.1k Views 4 Watching
  • 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.
  • mdc773M mdc773

    when using fdisk the new drive says this idk if thats a problem

    85d1bf1e-be76-473a-9b3a-e982cc3163cd-image.png

    I've created a GPT partition table and i have set it up to /dev/sda1 but then i mount it in /etc/fstab with the UUID and the do mount -a it says this

    "mount: /home: can't find UUID=BF3D2D40-32EB-9D4F-8ACB-0894B255FEDA."

    2213f313-894b-4e9a-909b-6d818e6c25bd-image.png

    fbartelsF Offline
    fbartelsF Offline
    fbartels
    App Dev
    wrote on last edited by
    #2

    @mdc773 said in adding a drive:

    can't find UUID=[..]A."

    I would say the dot at the end could be the issue here. I don't think I have ever seen a uuid with a dot.

    For the error message the explanation would be that the disk was indeed still mounted when you ran fdisk. Any existing and mounted partitions should be unmounted (umount /media/my-new-disk) before creating new partitions and filesystems.

    1 Reply Last reply
    5
    • mdc773M Offline
      mdc773M Offline
      mdc773
      wrote on last edited by
      #3

      there isn't a dot at the end lol, that how it prints the error for some reason

      1 Reply Last reply
      0
      • fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #4

        Then please post your contents of /etc/fstab and the output of blkid /dev/sda1.

        mdc773M 1 Reply Last reply
        2
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #5

          Isn't it saying the disk is in use? Maybe it's mounted somewhere? First, make sure it's not in use before you change the parition table.

          mdc773M 1 Reply Last reply
          1
          • girishG girish

            Isn't it saying the disk is in use? Maybe it's mounted somewhere? First, make sure it's not in use before you change the parition table.

            mdc773M Offline
            mdc773M Offline
            mdc773
            wrote on last edited by
            #6

            @girish i agree that it might be in use, but when it was first installed from hetzner idk what config was on it

            1 Reply Last reply
            0
            • fbartelsF fbartels

              Then please post your contents of /etc/fstab and the output of blkid /dev/sda1.

              mdc773M Offline
              mdc773M Offline
              mdc773
              wrote on last edited by
              #7

              @fbartels
              0c8a05f2-b117-4bff-b15f-09fe45b8f02a-image.png

              9c169572-880d-475b-95d6-e329355aef7d-image.png

              1 Reply Last reply
              0
              • fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote on last edited by
                #8

                This does not quite match with your prior error message (UUID vs PARTUUID) what is your current error message?

                mdc773M 1 Reply Last reply
                1
                • fbartelsF fbartels

                  This does not quite match with your prior error message (UUID vs PARTUUID) what is your current error message?

                  mdc773M Offline
                  mdc773M Offline
                  mdc773
                  wrote on last edited by
                  #9

                  @fbartels you're absolutely correct about it not matching the first error. What's funny to me is when I do blkid /dev/sda1 I get the PARTUUID but when I do blkid /dev/sda I get a UUID

                  Honestly drives and partitions aren't things that I'm familiar with this is why I'm having an issue so if anybody knows the correct way for me to add this drive I'd really appreciate it it seems is that this drive has nothing on it but I get that error in the beginning when I'm trying to create the partition

                  fbartelsF 1 Reply Last reply
                  0
                  • mdc773M mdc773

                    @fbartels you're absolutely correct about it not matching the first error. What's funny to me is when I do blkid /dev/sda1 I get the PARTUUID but when I do blkid /dev/sda I get a UUID

                    Honestly drives and partitions aren't things that I'm familiar with this is why I'm having an issue so if anybody knows the correct way for me to add this drive I'd really appreciate it it seems is that this drive has nothing on it but I get that error in the beginning when I'm trying to create the partition

                    fbartelsF Offline
                    fbartelsF Offline
                    fbartels
                    App Dev
                    wrote on last edited by
                    #10

                    @mdc773 said in adding a drive:

                    What's funny to me is when I do blkid /dev/sda1 I get the PARTUUID but when I do blkid /dev/sda I get a UUID

                    That is because /dev/sda is the harddisk, and /dev/sda1 is the first partition on said harddisk.

                    Hetzner has a lengthy article about mounting disks: https://community.hetzner.com/tutorials/howto-linux-mount

                    1 Reply Last reply
                    3
                    • mdc773M Offline
                      mdc773M Offline
                      mdc773
                      wrote on last edited by
                      #11

                      I have followed the hetzner docs and i always seem to get this error when trying to mount it

                      mount: /data: /dev/sda1 already mounted or mount point busy.

                      1 Reply Last reply
                      0
                      • mdc773M Offline
                        mdc773M Offline
                        mdc773
                        wrote on last edited by
                        #12

                        so no more help from anyone @girish can i give some access to my server to help me ?

                        1 Reply Last reply
                        0
                        • nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote on last edited by
                          #13

                          This is very much a generic Linux topic, not much related to Cloudron. So looks like it is already mounted from the last error message you have posted.
                          You can run the mount command to see all currently mounted filesystems. Maybe you have to first unmount it to then mount it to the correct mountpoint?

                          1 Reply Last reply
                          0
                          • girishG girish moved this topic from Support on
                          • girishG girish referenced this topic on
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search