我正在尝试让 urbackup 2.4.9.0 在 Ubuntu 19.10 x86 上运行。我有一个 2T usb 驱动器,已分区为 btrfs,但 urbackup_snapshot_helper 无法将其识别为 btrfs。
/etc/urbackup/backupfolder contains:
/media/BACKUP/urbackup
建议的测试程序https://www.urbackup.org/administration_manual.html#x1-10600011.6.3说 /media/BACKUP/urbackup/testA5... 不是 btrfs。我不知道 ...TestA5... 来自哪里。
% urbackup_snapshot_helper test
Testing for btrfs...
ERROR: not a btrfs filesystem: /media/BACKUP/urbackup/testA54hj5luZtlorr494
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
# parted -l /dev/sda1
Model: Seagate Ultra Slim MT (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary btrfs boot
以下是 USB 驱动器的内容:
% ls -l /media/BACKUP/
/media/BACKUP/:
total 4
drwxr-xr-x 5 urbackup urbackup 4096 Oct 18 17:45 urbackup/
/media/BACKUP/urbackup:
total 12
drwxr-x--- 2 urbackup urbackup 4096 Jan 21 2018 clients/
drwxr-x--- 2 urbackup urbackup 4096 Oct 16 03:26 urbackup/
drwxr-x--- 2 urbackup urbackup 4096 Oct 18 16:56 urbackup_tmp_files/
/media/BACKUP/urbackup/clients:
total 0
/media/BACKUP/urbackup/urbackup:
total 60620
-rwxr-x--- 1 urbackup urbackup 52428800 Oct 16 03:25 backup_server.db*
-rwxr-x--- 1 urbackup urbackup 9051672 Oct 16 03:25 backup_server.db-wal*
-rwxr-x--- 1 urbackup urbackup 16384 Oct 16 03:26 backup_server_files.db*
-rwxr-x--- 1 urbackup urbackup 0 Oct 16 03:26 backup_server_files.db-wal*
-rwxr-x--- 1 urbackup urbackup 8192 Oct 16 03:26 backup_server_link_journal.db*
-rwxr-x--- 1 urbackup urbackup 379072 Oct 16 03:26 backup_server_link_journal.db-wal*
-rwxr-x--- 1 urbackup urbackup 16384 Oct 16 03:26 backup_server_links.db*
-rwxr-x--- 1 urbackup urbackup 0 Oct 16 03:26 backup_server_links.db-wal*
-rwxr-x--- 1 urbackup urbackup 61440 Oct 16 03:26 backup_server_settings.db*
-rwxr-x--- 1 urbackup urbackup 86552 Oct 16 03:26 backup_server_settings.db-wal*
-rwxr-x--- 1 urbackup urbackup 391 Oct 16 03:26 server_ident_ecdsa409k1.priv*
-rwxr-x--- 1 urbackup urbackup 436 Oct 16 03:26 server_ident_ecdsa409k1.pub*
-rwxr-x--- 1 urbackup urbackup 23 Oct 16 03:26 server_ident.key*
-rwxr-x--- 1 urbackup urbackup 334 Oct 16 03:26 server_ident.priv*
-rwxr-x--- 1 urbackup urbackup 442 Oct 16 03:26 server_ident.pub*
/media/BACKUP/urbackup/urbackup_tmp_files:
total 0
知道我做错了什么吗?
我尝试附加运行“strace -f urbackup_snapshot_helper test”的日志,但我看不到附加文件的方法,并且粘贴内容对于该缓冲区来说太大。
有什么建议吗?
“urbackup_snapshot_helper test”的输出为: 测试 btrfs... 错误:不是 btrfs 文件系统:/media/BACKUP/urbackup/testA54hj5luZtlorr494 测试失败:创建测试 btrfs 子卷失败 测试 zfs... 测试失败:未通过 /etc/urbackup/dataset 设置数据集
我不知道为什么它说 /media/BACKUP/urbackup/testA54hj5luZtlorr494 不是 btrfs 文件系统。
/media/BACKUP/urbackup 是 btrfs。