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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Unmounting volume leaves the "backup volume"

Scheduled Pinned Locked Moved Solved Support
8 Posts 3 Posters 41 Views
    • 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.
  • K Offline
    K Offline
    kk_cloudron
    wrote on last edited by
    #1

    Hy folks,
    i just wanted to re-add a volume for backups caus i resized it at Hetzner (hoster) and a re-mount in the cloudron ui didn't load the changes.

    So i removed the volume:
    Screenshot 2023-07-26 at 12-15-09 Cloudron.png

    Now i wonder why the backup volume is still mounted (despite a reboot):

    Backup section:
    Screenshot 2023-07-26 at 12-15-36 Cloudron.png

    System info section
    Screenshot 2023-07-26 at 12-15-20 Cloudron.png

    How can i remove this volume completely?

    Thanks a lot!
    Kai

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #0

    @kk_cloudron If you want to add a hetzner volume for cloudron backup, you have to add this in the Backups view. The Volumes view in cloudron is meant for mounting the volume into apps.

    As for your size problem - there are two sizes. The size of the hetzner volume itself (which I assume you adjust from the control panel). The other size is the size of the file system inside the hetzner volume. The filesystem size is what Cloudron shows. You have to "resize" the file system to take up extra space you allocated on the disk manually. Please see https://docs.hetzner.com/cloud/volumes/faq/#can-i-resize-volumes and https://community.hetzner.com/tutorials/resize-ext-partition. In short, resize2fs /dev/sdb or xfs_growpart /dev/sdb . You have to replace /dev/sdb with the disk name (you can get this by running df on the server).

    Sometimes, resize2fs won't work on a mounted disk. So, you have to remove the disk in the Backups view, run resize2fs and then add it again in Backups view.

    1 Reply Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #2

    The backup configs are probably still set to use that mount? This is for a start unrelated to the volume UI as such.

    1 Reply Last reply
    0
  • K Offline
    K Offline
    kk_cloudron
    wrote on last edited by
    #3

    Thanks for reply, i changed the backup config to no-op.. The volume is still mounted.

    So i let this thing, as it was and returned to the volumes ui: If i want to add the volume there it runs to the Error "diskPath is not a string"
    Screenshot 2023-07-26 at 11-55-39 Cloudron.png
    I only used letters, numbers and / - _

    1 Reply Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #4

    Not exactly sure what you are aiming for, but if this is a disk you want to use as backups only, then there is no need to add it as a volume as such there.

    If you manage the mountpoint manually (or your VPS provider already does this) then can you try to add the actual mountpoint instead? Our error is probably not correct here then.

    1 Reply Last reply
    0
  • K Offline
    K Offline
    kk_cloudron
    wrote on last edited by
    #5

    Ah, sorry - I basically just want cloudron to take the size of the volume correctly - in fact it is 20 GB.
    At the resizing process at Hetzner there was a notification i have to remount the volume to apply the changes...

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #6

    @kk_cloudron If you want to add a hetzner volume for cloudron backup, you have to add this in the Backups view. The Volumes view in cloudron is meant for mounting the volume into apps.

    As for your size problem - there are two sizes. The size of the hetzner volume itself (which I assume you adjust from the control panel). The other size is the size of the file system inside the hetzner volume. The filesystem size is what Cloudron shows. You have to "resize" the file system to take up extra space you allocated on the disk manually. Please see https://docs.hetzner.com/cloud/volumes/faq/#can-i-resize-volumes and https://community.hetzner.com/tutorials/resize-ext-partition. In short, resize2fs /dev/sdb or xfs_growpart /dev/sdb . You have to replace /dev/sdb with the disk name (you can get this by running df on the server).

    Sometimes, resize2fs won't work on a mounted disk. So, you have to remove the disk in the Backups view, run resize2fs and then add it again in Backups view.

    1 Reply Last reply
    0
  • K kk_cloudron has marked this topic as solved on
  • K Offline
    K Offline
    kk_cloudron
    wrote on last edited by
    #7

    Aye! Thanks @girish for the help beyond cloudron topics! I thought cloudron would take over and ignored the info from Hetzner on this. I am smarter for the future! - However, it worked fine while the hard disk was mounted as a backup volume.

    Even though the problem is solved, can you answer a question for me? - Where do I remove the disk as a backup volume? I could not find the option during my search for a solution

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to kk_cloudron on last edited by
    #8

    @kk_cloudron said in Unmounting volume leaves the "backup volume":

    Where do I remove the disk as a backup volume? I could not find the option during my search for a solution

    You have to set another backup location. For example, you can switch to Filesystem and put the path as /var/backups (this is also the default after you install cloudron).

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

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