datto / dattobd

kernel module for taking block-level snapshots and incremental backups of Linux block devices
GNU General Public License v2.0
576 stars 122 forks source link

Snapshot cannot be mounted #205

Closed yzj0911 closed 5 years ago

yzj0911 commented 5 years ago

Snapshot cannot be mounted ?

[root@localhost ~]# dbdctl setup-snapshot /dev/sda1 /boot/.datto 0 [root@localhost ~]# mount /dev/datto0 /mnt mount: /dev/datto0 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/datto0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so.

[ 9097.028342] XFS (datto0): Filesystem has duplicate UUID a324b828-a926-4c4a-a0ec-ccca7dfcbbe6 - can't mount

crawfxrd commented 5 years ago

XFS requires the nouuid option when mounting clones.

mount -o ro,norecovery,nouuid /dev/datto0 /mnt