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. Support
  3. How can I attach this ext4 formated drive as attached storage?

How can I attach this ext4 formated drive as attached storage?

Scheduled Pinned Locked Moved Solved Support
volumes
9 Posts 4 Posters 1.0k 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.
    • Z Offline
      Z Offline
      zion
      wrote on last edited by girish
      #1

      /dev/vdb/by-uuid/1dd7df95-ab78-4b65-b0e0-b685a13237c2

      humptydumptyH 1 Reply Last reply
      0
      • Z zion

        /dev/vdb/by-uuid/1dd7df95-ab78-4b65-b0e0-b685a13237c2

        humptydumptyH Offline
        humptydumptyH Offline
        humptydumpty
        wrote on last edited by humptydumpty
        #2

        @zion Have you seen the doc pages here? https://docs.cloudron.io/volumes/#ext4

        alt text

        1 Reply Last reply
        1
        • nebulonN nebulon marked this topic as a question on
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #3

          Can you maybe define what you mean by "attached storage" and what your use-case for that will be?

          1 Reply Last reply
          1
          • Z Offline
            Z Offline
            zion
            wrote on last edited by
            #4

            Yes I saw that page but for some reason the block storage will not attach..

            This is the drive that has 1.5TB partitioned
            The data is here--
            /dev/vdb1: PARTLABEL="1.7TB" PARTUUID="a39bbb0f-f68f-4741-9483-71334ccc9f18"

            I tried this link below and it wont connect..?
            /dev/vdb1/by-uuid/a39bbb0f-f68f-4741-9483-71334ccc9f18/

            girishG 1 Reply Last reply
            0
            • Z Offline
              Z Offline
              zion
              wrote on last edited by
              #5

              This is the latest change and I still cant attach the drive in Cloudron
              root@www:~# lsblk
              NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
              loop0 7:0 0 62M 1 loop /snap/core20/1587
              loop1 7:1 0 63.2M 1 loop /snap/core20/1634
              loop2 7:2 0 79.9M 1 loop /snap/lxd/22923
              loop3 7:3 0 103M 1 loop /snap/lxd/23541
              loop4 7:4 0 47M 1 loop /snap/snapd/16292
              loop5 7:5 0 48M 1 loop /snap/snapd/17336
              vda 252:0 0 380G 0 disk
              ├─vda1 252:1 0 368.3G 0 part /
              └─vda2 252:2 0 11.7G 0 part [SWAP]
              vdb 252:16 0 1.8T 0 disk
              └─vdb1 252:17 0 1.6T 0 part
              root@www:~# ^C
              root@www:~# sudo blkid | grep UUID=
              /dev/vda2: UUID="2c03a0f6-623c-420a-b48b-af4df275feca" TYPE="swap" PARTLABEL="pr imary" PARTUUID="c9d88071-e3fc-42a9-80ba-25e002ccc954"
              /dev/vda1: LABEL="root" UUID="4d1266d2-c1f9-4087-af92-2d60c8c153e4" BLOCK_SIZE=" 4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="83dd4f58-4b29-4741-9fc6-ce9644ec 8ba6"
              /dev/vdb1: PARTLABEL="1.8TB" PARTUUID="da25278d-ce16-468c-bbc4-c3f8d131fd1f"

              1 Reply Last reply
              0
              • nebulonN Away
                nebulonN Away
                nebulon
                Staff
                wrote on last edited by
                #6

                Just to make sure, is the partition formatted as ext4 or just a blank partition?

                Do you further see any errors in the system logs?

                1 Reply Last reply
                0
                • Z zion

                  Yes I saw that page but for some reason the block storage will not attach..

                  This is the drive that has 1.5TB partitioned
                  The data is here--
                  /dev/vdb1: PARTLABEL="1.7TB" PARTUUID="a39bbb0f-f68f-4741-9483-71334ccc9f18"

                  I tried this link below and it wont connect..?
                  /dev/vdb1/by-uuid/a39bbb0f-f68f-4741-9483-71334ccc9f18/

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  @zion said in How can I attach this ext4 formated drive as attached storage?:

                  Yes I saw that page but for some reason the block storage will not attach..

                  What is the error message in the UI?

                  Z 1 Reply Last reply
                  0
                  • girishG girish

                    @zion said in How can I attach this ext4 formated drive as attached storage?:

                    Yes I saw that page but for some reason the block storage will not attach..

                    What is the error message in the UI?

                    Z Offline
                    Z Offline
                    zion
                    wrote on last edited by
                    #8

                    @girish I am new to linux command line and networking and hardrive attachment. I solved it which is what I thought the PARTUUID I thought was enough it wasn't I needed to reformat and assign just a UUID which I knew but I didn't understand that PARTUUID and UUID are different. So I got it working after assigning a UUID to the formated drive using ext4 format. Then I created a folder and moved the mounted drive into the /media folder then attached a File Mounted folder.

                    nebulonN 1 Reply Last reply
                    0
                    • Z zion

                      @girish I am new to linux command line and networking and hardrive attachment. I solved it which is what I thought the PARTUUID I thought was enough it wasn't I needed to reformat and assign just a UUID which I knew but I didn't understand that PARTUUID and UUID are different. So I got it working after assigning a UUID to the formated drive using ext4 format. Then I created a folder and moved the mounted drive into the /media folder then attached a File Mounted folder.

                      nebulonN Away
                      nebulonN Away
                      nebulon
                      Staff
                      wrote on last edited by
                      #9

                      @zion I am not sure I fully understand your process there, but generally a disk partition is just a section of a hard drive. That section then has to be formatted with a filesystem, in this case ext4. This can be done via mkfs.ext4 /dev/<you partition identifier>. Once that is done, you should be able to just use the Cloudron dashboard UI to add it then. This makes Cloudron create the mountpoint for you.

                      1 Reply Last reply
                      0
                      • girishG girish has marked this topic as solved 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