-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on ubuntu 22.04.4 with setup-snapshot with fresh install #372
Comments
So did some more digging and that error may be ok? is that just an auto mapper command? 2024-04-18 18:50:04: ERROR: mount: /mnt/urbackup_snaps/f73bc4d475ce1aa1d7b0bff88667d9f945c77416aafc4464: wrong fs type, bad option, bad superblock on /dev/mapper/wsnap-f73bc4d475ce1aa1d7b0bff88667d9f945c77416aafc4464, missing codepage or helper program, or other error. |
Hi, |
Hi, glad to provide more info and thanks for looking into. Let me know if you need anything else or if there's a simplier test i should run. Kernel 5.15.0.102-generic Ubuntu SMP First simple create and detroy commands. No error on command line, but showing error messages in syslog. Not sure if they are valid. dbdctl setup-snapshot /dev/mapper/ubuntu--vg-ubuntu--lv /.datto 0 dbdctl destroy 0 Backup script commands to produce mount error dbdctl setup-snapshot /dev/mapper/ubuntu--vg-ubuntu--lv /.datto 0 Error: Also the 209715200 comes from blockdev --getsize /dev/datto0 so adjust if you get something else. Also on a side not i have another question, given the default install for ubuntu creates a /swap.img file does that make the .datto tracking files that much bigger? I noticed on this lab host i created to debug this backup issue if the machine is left in the snapshot state, the .datto file grows quickly and fills up the host even though the host is just a fresh ubuntu install so I'm assuming the normal file activity would be low. |
Any updates or findings with this one? |
I have a fresh install of Ubuntu 22.04 and I am seeing something similar. Default kernel 5.15.0-107-generic |
@gnordli do you have LVM turned on? What kind of raid is turned? |
@Swistusmen Disk /dev/sda: 25 GiB, 26843545600 bytes, 52428800 sectors Device Start End Sectors Size Type |
@gnordli how did you reproduce this bug? Have you also rely on urbackup scripts? |
@Swistusmen |
@Jason90909090 honestly speaking we were never tested dattobd with commands pasted by you. Generally dattobd currently has some issues with with increasing size of cow file or decreasing this size. Unfortunately because of the other priorities I can't provide you estimated time where you can expect fixing that. Although I can share with you command which I am using for testing/ using dattobd: dbdctl setup-snapshot $BLK_DEV /mnt/vhd/.datto1 1 |
@Swistusmen Anything else you need from me to help solve the issue? |
I have not been able to get dattobd working so I setup a fresh install of ubuntu and a fresh install of dattobd.
I try and initial test of
dbdctl setup-snapshot /dev/mapper/ubuntu--vg-ubuntu--lv /.datto 0
The command does not return any errors, but the following shows up in the syslog
Apr 17 19:59:37 lxzdc01 systemd-udevd[6716]: datto0: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/datto0' failed with exit code 1.
dbdctl transition-to-incremental 0
Apr 17 20:01:47 lxzdc01 kernel: [ 1081.525845] datto: error performing truncation: -1
Apr 17 20:01:47 lxzdc01 kernel: [ 1081.525888] datto: error truncating file: -1
Apr 17 20:01:47 lxzdc01 kernel: [ 1081.525904] datto: warning: failed to truncate '/.datto', incremental will use more disk space than needed
any idea why the error shows up or is it ok? I'm using another program with it urbackup which expects something to be mapped in /dev/mapper after the datto call, but i'm not sure if datto is working ok or it's urbackup
The text was updated successfully, but these errors were encountered: