[OT][MANAGING BTRFS] Script for managing btrfs

2016-11-09 Thread bepi
Hi. I'm making a script for managing btrfs. To perform the scrub, to create and send (even to a remote system) of the backup snapshot (or for one copy of the current state of the data). The script is designed to: - Be easy to use: - The preparation is carried out automatically. - Autodetect

[no subject]

2016-11-09 Thread bepi
Hi. I'm making a script for managing btrfs. To perform the scrub, to create and send (even to a remote system) of the backup snapshot (or for one copy of the current state of the data). The script is designed to: - Be easy to use: - The preparation is carried out automatically. - Autodetect

Re:

2016-11-10 Thread bepi
Hi. P.S. Sorry for the double sending and for the blank email subject. Yes. The various controls are designed to be used separated, and to be launched both as cronjobs and manually. For example you can create a series of snapshots btrsfManage SNAPSHOT / and send the new snapshots (incremen

[CORRUPTION FILESYSTEM] Corrupted and unrecoverable file system during the snapshot receive

2016-11-22 Thread bepi
Hi. My system: Fedora 23, kernel-4.7.10-100.fc23.x86_64 btrfs-progs-4.4.1-1.fc23.x86_64 Testing the remote differential receive (via ssh and in local network) of 24 sequential snapshots, and simultaneously deleting the snapshot, (in the same file system, but in a different subvolume), there has

btrfs check --repair question

2016-12-13 Thread bepi
Hi. I had two cases of 'ref mismatch on extents ..', like you. Any attempt at recovery has much worsened the problem. I suggest you save importanto data and delete and recreate the partition. I always have a partition for re-install from scratch, so that I can recover data from damaged fi

Re: [CORRUPTION FILESYSTEM] Corrupted and unrecoverable file system during the snapshot receive

2016-12-19 Thread bepi
> > > At 11/21/2016 08:09 PM, b...@adria.it wrote: > > Hi. > > > > My system: Fedora 23, kernel-4.7.10-100.fc23.x86_64 > btrfs-progs-4.4.1-1.fc23.x86_64 > > > > Testing the remote differential receive (via ssh and in local network) of > 24 > > sequential snapshots, and simultaneously deleting the

Re: [CORRUPTION FILESYSTEM] Corrupted and unrecoverable file system during the snapshot receive

2016-12-19 Thread bepi
(Resend) Hi. It is a bit complex. Primary system subvolume on SSD devices on PCIe slot /root/ (fedora 23, 50GB usati) /btrfssnapshot/ /btrfssnapshot/root/ (for /root/ snapshot) /btrfssnapshot/root/root.1 /btrfssnapshot/root/root.2 /btrfssnapshot/root/root.XYZ subvolume on device HDD "1" s

Re: [CORRUPTION FILESYSTEM] Corrupted and unrecoverable file system during the snapshot receive

2016-12-21 Thread bepi
Hi. I will insert ' btrfs check ' after each ' receive ' in my script. I will test again my hardware. But is not very likely that 2 computers, 3 HDD, 3 partitions, all have issue. I think that the problem is a concomitance of operations, a race condition, a random conditions. I'll try to create

Re: [CORRUPTION FILESYSTEM] Corrupted and unrecoverable file system during the snapshot receive

2016-12-23 Thread bepi
Yes. Is through to the btrfs-tools error message that the script has printed, that I realized the filesystem corruption. P.S. Various messages that you see in the working examples of the script, are emitted directly by the btrfs-tools. Gdb Xin Zhou : > Hi, > > Does the script check the tran