On 2017年09月10日 14:41, Qu Wenruo wrote:
On 2017年09月10日 07:50, Rohan Kadekodi wrote:
Hello,
I was trying to understand how file renames are handled in Btrfs. I
read the code documentation, but had a problem understanding a few
things.
During a file rename, btrfs_commit_transaction() is calle
On 2017年09月10日 07:50, Rohan Kadekodi wrote:
Hello,
I was trying to understand how file renames are handled in Btrfs. I
read the code documentation, but had a problem understanding a few
things.
During a file rename, btrfs_commit_transaction() is called which is
because Btrfs has to commit the
It doesn't need replaced disk to be readable, right? Then what prevents same
procedure to work without a spare bay?
--
With Best Regards,
Marat Khalili
On September 9, 2017 1:29:08 PM GMT+03:00, Patrik Lundquist
wrote:
>On 9 September 2017 at 12:05, Marat Khalili wrote:
>> Forgot to add, I'v
On 2017年09月10日 01:44, Marc MERLIN wrote:
So, should I assume that btrfs progs git has some issue since there is
no plausible way that a check --repair should be faster than a regular
check?
Yes, the assumption that repair should be no faster than RO check is
correct.
Especially for clean fs
Ok mount -o clear_cache, umount and run fsck again just to make sure. Then if
it comes out clean mount with ref_verify again and wait for it to blow up
again. Thanks,
Josef
Sent from my iPhone
> On Sep 9, 2017, at 10:37 PM, Marc MERLIN wrote:
>
>> On Sat, Sep 09, 2017 at 10:56:14PM +,
On Sat, Sep 09, 2017 at 10:56:14PM +, Josef Bacik wrote:
> Well that's odd, a block allocated on disk is in the free space cache. Can I
> see the full output of the fsck? I want to make sure it's actually getting
> to the part where it checks the free space cache. If it does then I'll have
Rohan Kadekodi posted on Sat, 09 Sep 2017 18:50:09 -0500 as excerpted:
> Hello,
>
> I was trying to understand how file renames are handled in Btrfs. I read
> the code documentation, but had a problem understanding a few things.
>
> During a file rename, btrfs_commit_transaction() is called whic
Hello,
I was trying to understand how file renames are handled in Btrfs. I
read the code documentation, but had a problem understanding a few
things.
During a file rename, btrfs_commit_transaction() is called which is
because Btrfs has to commit the whole FS before storing the
information related
Well that's odd, a block allocated on disk is in the free space cache. Can I
see the full output of the fsck? I want to make sure it's actually getting to
the part where it checks the free space cache. If it does then I'll have to
think of how to catch this kind of bug, because you've got a w
On Sat 2017-09-09 (22:43), Andrei Borzenkov wrote:
> > Your tool does not create .snapshot subdirectories in EVERY directory like
>
> Neither does NetApp. Those "directories" are magic handles that do not
> really exist.
I know.
But symbolic links are the next close thing (I am not a kernel prog
09.09.2017 16:44, Ulli Horlacher пишет:
>
> Your tool does not create .snapshot subdirectories in EVERY directory like
Neither does NetApp. Those "directories" are magic handles that do not
really exist.
> Netapp does.
> Example:
>
> framstag@fex:~: cd ~/Mail/.snapshot/
> framstag@fex:~/Mail/.s
On Tue, Sep 05, 2017 at 06:19:25PM +, Josef Bacik wrote:
> Alright I just reworked the build tree ref stuff and tested it to make sure
> it wasn’t going to give false positives again. Apparently I had only ever
> used this with very basic existing fs’es and nothing super complicated, so it
So, should I assume that btrfs progs git has some issue since there is
no plausible way that a check --repair should be faster than a regular
check?
Thanks,
Marc
On Tue, Sep 05, 2017 at 07:45:25AM -0700, Marc MERLIN wrote:
> On Tue, Sep 05, 2017 at 04:05:04PM +0800, Qu Wenruo wrote:
> > > gargame
The value of variable 'can_recover' is never used after being set, thus
it should be removed.
Signed-off-by: Christos Gkekas
---
fs/btrfs/root-tree.c | 4
1 file changed, 4 deletions(-)
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c
index 95bcc3c..3338407 100644
--- a/fs/btrfs/ro
On Sat 2017-09-09 (06:36), Marc MERLIN wrote:
> > On Tue 2017-08-22 (15:22), Ulli Horlacher wrote:
> > > With Netapp/waffle you have automatic hourly/daily/weekly snapshots.
> > > You can find these snapshots in every local directory (readonly).
> >
> > I have found none, so I have implemented it
On Sat, Sep 09, 2017 at 03:26:14PM +0200, Ulli Horlacher wrote:
> On Tue 2017-08-22 (15:22), Ulli Horlacher wrote:
> > With Netapp/waffle you have automatic hourly/daily/weekly snapshots.
> > You can find these snapshots in every local directory (readonly).
>
> > I would like to have something sim
On Tue 2017-08-22 (15:22), Ulli Horlacher wrote:
> With Netapp/waffle you have automatic hourly/daily/weekly snapshots.
> You can find these snapshots in every local directory (readonly).
> I would like to have something similar with btrfs.
> Is there (where?) such a tool?
I have found none, so I
Patrik Lundquist posted on Sat, 09 Sep 2017 12:29:08 +0200 as excerpted:
> On 9 September 2017 at 12:05, Marat Khalili wrote:
>> Forgot to add, I've got a spare empty bay if it can be useful here.
>
> That makes it much easier since you don't have to mount it degraded,
> with the risks involved.
On 09/09/2017 01:06 PM, Hugo Mills wrote:
> On Sat, Sep 09, 2017 at 06:58:38PM +0800, Qu Wenruo wrote:
>>
>>
>> On 2017年09月09日 18:48, Ulli Horlacher wrote:
>>> On Sat 2017-09-09 (18:40), Qu Wenruo wrote:
>>>
> Is there a generic name for both volume and subvolume root?
Nope, subvolume
On Sat, Sep 09, 2017 at 06:58:38PM +0800, Qu Wenruo wrote:
>
>
> On 2017年09月09日 18:48, Ulli Horlacher wrote:
> >On Sat 2017-09-09 (18:40), Qu Wenruo wrote:
> >
> >>>Is there a generic name for both volume and subvolume root?
> >>
> >>Nope, subvolume (including snapshot) is not distinguished by it
On Sat, Sep 09, 2017 at 10:35:51AM +0200, Ulli Horlacher wrote:
> As I am writing some documentation abount creating snapshots:
> Is there a generic name for both volume and subvolume root?
>
> Example:
>
> root@fex:~# btrfs subvol show /mnt
> ERROR: not a subvolume: /mnt
>
> root@fex:~# btrfs s
On 2017年09月09日 18:48, Ulli Horlacher wrote:
On Sat 2017-09-09 (18:40), Qu Wenruo wrote:
Is there a generic name for both volume and subvolume root?
Nope, subvolume (including snapshot) is not distinguished by its
filename/path/directory name.
And you can only do snapshot on subvolume (snap
On Sat 2017-09-09 (18:40), Qu Wenruo wrote:
> > Is there a generic name for both volume and subvolume root?
>
> Nope, subvolume (including snapshot) is not distinguished by its
> filename/path/directory name.
>
> And you can only do snapshot on subvolume (snapshot is one kind of
> subvolume) b
On 2017年09月09日 16:35, Ulli Horlacher wrote:
As I am writing some documentation abount creating snapshots:
Is there a generic name for both volume and subvolume root?
Example:
root@fex:~# btrfs subvol show /mnt
ERROR: not a subvolume: /mnt
root@fex:~# btrfs subvol show /mnt/test
/mnt/test is
On 9 September 2017 at 12:05, Marat Khalili wrote:
> Forgot to add, I've got a spare empty bay if it can be useful here.
That makes it much easier since you don't have to mount it degraded,
with the risks involved.
Add and partition the disk.
# btrfs replace start /dev/sdb7 /dev/sdc(?)7 /mnt/da
Forgot to add, I've got a spare empty bay if it can be useful here.
--
With Best Regards,
Marat Khalili
On September 9, 2017 10:46:10 AM GMT+03:00, Marat Khalili wrote:
>Dear list,
>
>I'm going to replace one hard drive (partition actually) of a btrfs
>raid1. Can you please spell exactly what I
On 9 September 2017 at 09:46, Marat Khalili wrote:
>
> Dear list,
>
> I'm going to replace one hard drive (partition actually) of a btrfs raid1.
> Can you please spell exactly what I need to do in order to get my filesystem
> working as RAID1 again after replacement, exactly as it was before? I
As I am writing some documentation abount creating snapshots:
Is there a generic name for both volume and subvolume root?
Example:
root@fex:~# btrfs subvol show /mnt
ERROR: not a subvolume: /mnt
root@fex:~# btrfs subvol show /mnt/test
/mnt/test is toplevel subvolume
root@fex:~# btrfs subvol sho
Dear list,
I'm going to replace one hard drive (partition actually) of a btrfs
raid1. Can you please spell exactly what I need to do in order to get my
filesystem working as RAID1 again after replacement, exactly as it was
before? I saw some bad examples of drive replacement in this list so I
29 matches
Mail list logo