* Btrfsck repair, strange df numbers and cannot write
@ 2012-11-12 13:34 Sem
2012-11-12 15:10 ` Liu Bo
0 siblings, 1 reply; 4+ messages in thread
From: Sem @ 2012-11-12 13:34 UTC (permalink / raw)
To: linux-btrfs
Hi,
After doing a btrfsck --repair on my file system, it now has very strange
numbers in df:
[root ~]# df -h | grep sdc
/dev/sdc 15T -64Z 16E 101% /usr/data
Prior to this it was 81% used.
I can read the files, but i cannot write a file.
Does anyone have a clue as to what is going on?
Any idea how to fix?
Thanks.
---
Details:
[root ~]# uname -a
Linux t1.localdomain 3.6.6-1.fc16.x86_64 #1 SMP Mon Nov 5 16:56:43 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
[root ~]# btrfs --version
Btrfs v0.20-rc1-37-g91d9eec
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Btrfsck repair, strange df numbers and cannot write
2012-11-12 13:34 Btrfsck repair, strange df numbers and cannot write Sem
@ 2012-11-12 15:10 ` Liu Bo
2012-11-12 15:36 ` Sem
0 siblings, 1 reply; 4+ messages in thread
From: Liu Bo @ 2012-11-12 15:10 UTC (permalink / raw)
To: Sem; +Cc: linux-btrfs
On Mon, Nov 12, 2012 at 01:34:09PM +0000, Sem wrote:
> Hi,
>
> After doing a btrfsck --repair on my file system, it now has very strange
> numbers in df:
>
> [root ~]# df -h | grep sdc
> /dev/sdc 15T -64Z 16E 101% /usr/data
>
> Prior to this it was 81% used.
>
> I can read the files, but i cannot write a file.
>
> Does anyone have a clue as to what is going on?
>
Can you show here what 'btrfs fi df /usr/data' prints?
And also 'btrfs-debug-tree sdc'.
thanks,
liubo
> Any idea how to fix?
>
> Thanks.
>
> ---
>
> Details:
>
> [root ~]# uname -a
> Linux t1.localdomain 3.6.6-1.fc16.x86_64 #1 SMP Mon Nov 5 16:56:43 UTC 2012
> x86_64 x86_64 x86_64 GNU/Linux
>
> [root ~]# btrfs --version
> Btrfs v0.20-rc1-37-g91d9eec
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Btrfsck repair, strange df numbers and cannot write
2012-11-12 15:10 ` Liu Bo
@ 2012-11-12 15:36 ` Sem
2013-08-04 12:59 ` jesper
0 siblings, 1 reply; 4+ messages in thread
From: Sem @ 2012-11-12 15:36 UTC (permalink / raw)
To: linux-btrfs
Liu Bo <bo.li.liu <at> oracle.com> writes:
>
> On Mon, Nov 12, 2012 at 01:34:09PM +0000, Sem wrote:
> > Hi,
> >
> > After doing a btrfsck --repair on my file system, it now has very strange
> > numbers in df:
> >
> > [root ~]# df -h | grep sdc
> > /dev/sdc 15T -64Z 16E 101% /usr/data
> >
> > Prior to this it was 81% used.
> >
> > I can read the files, but i cannot write a file.
> >
> > Does anyone have a clue as to what is going on?
> >
>
> Can you show here what 'btrfs fi df /usr/data' prints?
>
> And also 'btrfs-debug-tree sdc'.
>
> thanks,
> liubo
>
> > Any idea how to fix?
> >
> > Thanks.
> >
> > ---
> >
> > Details:
> >
> > [root ~]# uname -a
> > Linux t1.localdomain 3.6.6-1.fc16.x86_64 #1 SMP Mon Nov 5 16:56:43 UTC 2012
> > x86_64 x86_64 x86_64 GNU/Linux
> >
> > [root ~]# btrfs --version
> > Btrfs v0.20-rc1-37-g91d9eec
> >
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> > the body of a message to majordomo <at> vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo <at> vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
[root@ data]# btrfs-debug-tree /dev/sdc
warning, bad space info total_bytes 8589934592 used 17179541504
warning, bad space info total_bytes 12884901888 used 25768099840
warning, bad space info total_bytes 17179869184 used 34358034432
warning, bad space info total_bytes 21474836480 used 42947969024
warning, bad space info total_bytes 25769803776 used 51537903616
warning, bad space info total_bytes 30064771072 used 60109676544
warning, bad space info total_bytes 34359738368 used 68699611136
warning, bad space info total_bytes 38654705664 used 77289545728
warning, bad space info total_bytes 42949672960 used 85810184192
warning, bad space info total_bytes 47244640256 used 94400118784
warning, bad space info total_bytes 51539607552 used 102990053376
warning, bad space info total_bytes 55834574848 used 111552487424
And thousands more lines.
[root@ data]# btrfs fi df /usr/data
Data, RAID0: total=13.95TB, used=23.99TB
System, RAID1: total=64.00MB, used=1.63MB
System: total=4.00MB, used=0.00
Metadata, RAID1: total=297.96GB, used=146.77GB
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Btrfsck repair, strange df numbers and cannot write
2012-11-12 15:36 ` Sem
@ 2013-08-04 12:59 ` jesper
0 siblings, 0 replies; 4+ messages in thread
From: jesper @ 2013-08-04 12:59 UTC (permalink / raw)
To: linux-btrfs
Sem <smith_it2000 <at> yahoo.com> writes:
> Liu Bo <bo.li.liu <at> oracle.com> writes:
> > > After doing a btrfsck --repair on my file system, it now has very strange
> > > numbers in df:
> > >
> > > [root ~]# df -h | grep sdc
> > > /dev/sdc 15T -64Z 16E 101% /usr/data
> > >
> > > Prior to this it was 81% used.
> > >
> > > I can read the files, but i cannot write a file.
> > >
> > > Does anyone have a clue as to what is going on?
...
> [root <at> data]# btrfs-debug-tree /dev/sdc
>
> warning, bad space info total_bytes 8589934592 used 17179541504
> warning, bad space info total_bytes 12884901888 used 25768099840
...
> warning, bad space info total_bytes 51539607552 used 102990053376
> warning, bad space info total_bytes 55834574848 used 111552487424
> And thousands more lines.
>
> [root <at> data]# btrfs fi df /usr/data
>
> Data, RAID0: total=13.95TB, used=23.99TB
> System, RAID1: total=64.00MB, used=1.63MB
> System: total=4.00MB, used=0.00
> Metadata, RAID1: total=297.96GB, used=146.77GB
Hello.
Did you find a solution for the issue below?
Cause i have run into the same problem.
I thought adding two disks to the array would help, but it only ended up as
showing up ad filled.
After doing another btrfsck i can not mount the volume at all.
Cheers
Jesper
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-04 13:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 13:34 Btrfsck repair, strange df numbers and cannot write Sem
2012-11-12 15:10 ` Liu Bo
2012-11-12 15:36 ` Sem
2013-08-04 12:59 ` jesper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).