Re: No files in snapshot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 8/26/19 6:46 PM, Thomas Schneider wrote:
> Hi,
> 
> I'm running Debian 10 with btrfs-progs=5.2.1.
> 
> Creating snapshots with snapper=0.8.2 works w/o errors.
> 
> However, I run into an issue and need to restore various files.
> 
> I thought that I could simply take the files from a snapshot created
> before.
> However, the files required don't exist in any snapshot!
> 
> Therefore I have created a new snapshot manually to verify if the files
> will be included, but there's nothing.
> 
> These files are required:
> root@ld5507:/usr/bin# ls -l /var/lib/ceph/osd/ceph-4/
> insgesamt 56
> -rw-r--r-- 1 root root 402 Jun  7 12:18 activate.monmap
> -rw-r--r-- 1 ceph ceph   3 Jun  7 12:18 active
> lrwxrwxrwx 1 ceph ceph  58 Jun  7 12:18 block ->
> /dev/disk/by-partuuid/3bc0c812-2c6b-4544-bbe7-e0444c3448eb
> -rw-r--r-- 1 ceph ceph  37 Jun  7 12:18 block_uuid
> -rw-r--r-- 1 ceph ceph   2 Jun  7 12:18 bluefs
> -rw-r--r-- 1 ceph ceph  37 Jun  7 12:18 ceph_fsid
> -rw-r--r-- 1 ceph ceph  37 Jun  7 12:18 fsid
> -rw------- 1 ceph ceph  56 Jun  7 12:18 keyring
> -rw-r--r-- 1 ceph ceph   8 Jun  7 12:18 kv_backend
> -rw-r--r-- 1 ceph ceph  21 Jun  7 12:18 magic
> -rw-r--r-- 1 ceph ceph   4 Jun  7 12:18 mkfs_done
> -rw-r--r-- 1 ceph ceph   6 Jun  7 12:18 ready
> -rw-r--r-- 1 ceph ceph   3 Aug 23 09:56 require_osd_release
> -rw-r--r-- 1 ceph ceph   0 Aug 21 12:41 systemd
> -rw-r--r-- 1 ceph ceph  10 Jun  7 12:18 type
> -rw-r--r-- 1 ceph ceph   2 Jun  7 12:18 whoami
> 
> And there are not files in latest snapshot:
> root@ld5507:/usr/bin# ls -l
> /btrfs/@snapshots/158/snapshot/var/lib/ceph/osd/ceph-4/
> insgesamt 0
> 
> > Why is this?

A few questions and remarks.

- Why are you using FileStore with btrfs?
- What are you trying to achieve?
- You should stay away from the directory structure of the OSDs

Your ideas are unclear to me. Can you explain it a little bit?

Wido

> 
> THX
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux