* Re: Delivery Status Notification (Failure)
[not found] ` <047d7b86daaa49592f04e3146f9d@google.com>
@ 2013-08-04 0:51 ` Jesper Utoft
0 siblings, 0 replies; 2+ messages in thread
From: Jesper Utoft @ 2013-08-04 0:51 UTC (permalink / raw)
To: linux-btrfs
Hello everybody.
I have run into serious trouble with my btrfs volume.
As an example after adding two disks to a btrfs volume they show up as
filled with data in btrfs filesystem show.
In btrfs fi df /mnt it says
Data RAID1: total=4.64TB, used=11.46TB
System.. (total > used so i think it is fine)
Metadata, Rid1: total=9.00GB, used=18.33GB
Obviously something have gone wrong
I have currently no idea on what to do.
I have tried running btrfsck but that didn't do anything.
The system i ubuntu 13.04 live cd kernel 3.8.0-19.
I have had trouble booting this server for a day's time, i end up in
initramfs with a mount issue.
Have anybody heard about something like this.
Please point me in the right direction :)
Thank you very much.
Cheers Jesper
^ permalink raw reply [flat|nested] 2+ messages in thread
* "BTRFS error (device vda1): couldn't get super buffer head for bytenr x"
@ 2017-10-06 10:25 Nick Gilmour
2017-10-07 0:08 ` Liu Bo
0 siblings, 1 reply; 2+ messages in thread
From: Nick Gilmour @ 2017-10-06 10:25 UTC (permalink / raw)
To: linux-btrfs
Hi all,
I have converted .vdi disk (BTRFS) into a .img disk, resized it from
500GB to 150GB and then copied into a ZFS Volume. I've imported the VM
into VMM and it started normally but an upgrade failed. I've rebooted
and got only a blue screen something like a BSOD on Windows. I've
changed into a terminal and now this error appears constantly:
"BTRFS error (device vda1): couldn't get super buffer head for bytenr x"
I can stop it shortly with Ctrl-C and enter a command. With startx I
can see my desktop in blue color with some icons in it and nothing
more.
uname -a
Linux VM-Ubuntu 4.4.0-83-generic
btrfs --version
btrfs-progs v4.4
btrfs fi show
Label: none uuid: x
Total devices 1 FS bytes used 473.68GiB
devid 1 size 492.00 GiB used 492.00GiB path /dev/sda1
Label: 'extra' uuid: y
Total devices 1 FS bytes used 112.00KiB
devid 1 size 100.00 GiB used 2.02GiB path /dev/sdb1
btrfs fi df /home
Data, single: total=106.40GiB, used=96.42GiB
System, DUP: total=8.00MiB, used=48.00KiB
Metadata, DUP: total=14.88GiB, used=11.18GiB
GlobalReserve, single: total=512.00 MiB, used=0.00B
dmesg > dmesg.log
compiz: segfault at ... error 4 in libnux-graphics-4.0.so...
Any ideas?
Regards,
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: "BTRFS error (device vda1): couldn't get super buffer head for bytenr x"
2017-10-06 10:25 "BTRFS error (device vda1): couldn't get super buffer head for bytenr x" Nick Gilmour
@ 2017-10-07 0:08 ` Liu Bo
2017-10-08 15:39 ` Nick Gilmour
0 siblings, 1 reply; 2+ messages in thread
From: Liu Bo @ 2017-10-07 0:08 UTC (permalink / raw)
To: Nick Gilmour; +Cc: linux-btrfs
On Fri, Oct 06, 2017 at 12:25:17PM +0200, Nick Gilmour wrote:
> Hi all,
>
> I have converted .vdi disk (BTRFS) into a .img disk, resized it from
> 500GB to 150GB and then copied into a ZFS Volume. I've imported the VM
> into VMM and it started normally but an upgrade failed. I've rebooted
> and got only a blue screen something like a BSOD on Windows. I've
> changed into a terminal and now this error appears constantly:
>
> "BTRFS error (device vda1): couldn't get super buffer head for bytenr x"
The error implies that it failed to read the sectors which contains
btrfs superblock, given you've shrinked the size, I guess btrfs
doesn't know that somehow and is trying to issue writes to a >150GB
position(could be 256G).
You can check that 'bytenr x'.
Which command did you use to resize it?
thanks,
-liubo
>
> I can stop it shortly with Ctrl-C and enter a command. With startx I
> can see my desktop in blue color with some icons in it and nothing
> more.
>
>
> uname -a
> Linux VM-Ubuntu 4.4.0-83-generic
>
> btrfs --version
> btrfs-progs v4.4
>
> btrfs fi show
> Label: none uuid: x
> Total devices 1 FS bytes used 473.68GiB
> devid 1 size 492.00 GiB used 492.00GiB path /dev/sda1
>
> Label: 'extra' uuid: y
> Total devices 1 FS bytes used 112.00KiB
> devid 1 size 100.00 GiB used 2.02GiB path /dev/sdb1
>
> btrfs fi df /home
> Data, single: total=106.40GiB, used=96.42GiB
> System, DUP: total=8.00MiB, used=48.00KiB
> Metadata, DUP: total=14.88GiB, used=11.18GiB
> GlobalReserve, single: total=512.00 MiB, used=0.00B
>
> dmesg > dmesg.log
> compiz: segfault at ... error 4 in libnux-graphics-4.0.so...
>
>
> Any ideas?
>
> Regards,
> Nick
> --
> 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] 2+ messages in thread
* Re: "BTRFS error (device vda1): couldn't get super buffer head for bytenr x"
2017-10-07 0:08 ` Liu Bo
@ 2017-10-08 15:39 ` Nick Gilmour
2017-10-08 21:03 ` Chris Murphy
0 siblings, 1 reply; 2+ messages in thread
From: Nick Gilmour @ 2017-10-08 15:39 UTC (permalink / raw)
To: bo.li.liu; +Cc: linux-btrfs
Thanks for the reply!
For conversion I used this command:
$ vboxmanage internalcommands converttoraw mydisk.vdi mydisk.img
and for resizing this one:
$ qemu-img resize mydisk.img 150G
Is there something I can do to fix this or another way to do the
resizing without getting an error?
Regards,
Nick
On Sat, Oct 7, 2017 at 2:08 AM, Liu Bo <bo.li.liu@oracle.com> wrote:
> On Fri, Oct 06, 2017 at 12:25:17PM +0200, Nick Gilmour wrote:
>> Hi all,
>>
>> I have converted .vdi disk (BTRFS) into a .img disk, resized it from
>> 500GB to 150GB and then copied into a ZFS Volume. I've imported the VM
>> into VMM and it started normally but an upgrade failed. I've rebooted
>> and got only a blue screen something like a BSOD on Windows. I've
>> changed into a terminal and now this error appears constantly:
>>
>> "BTRFS error (device vda1): couldn't get super buffer head for bytenr x"
>
> The error implies that it failed to read the sectors which contains
> btrfs superblock, given you've shrinked the size, I guess btrfs
> doesn't know that somehow and is trying to issue writes to a >150GB
> position(could be 256G).
>
> You can check that 'bytenr x'.
>
> Which command did you use to resize it?
>
> thanks,
>
> -liubo
>
>>
>> I can stop it shortly with Ctrl-C and enter a command. With startx I
>> can see my desktop in blue color with some icons in it and nothing
>> more.
>>
>>
>> uname -a
>> Linux VM-Ubuntu 4.4.0-83-generic
>>
>> btrfs --version
>> btrfs-progs v4.4
>>
>> btrfs fi show
>> Label: none uuid: x
>> Total devices 1 FS bytes used 473.68GiB
>> devid 1 size 492.00 GiB used 492.00GiB path /dev/sda1
>>
>> Label: 'extra' uuid: y
>> Total devices 1 FS bytes used 112.00KiB
>> devid 1 size 100.00 GiB used 2.02GiB path /dev/sdb1
>>
>> btrfs fi df /home
>> Data, single: total=106.40GiB, used=96.42GiB
>> System, DUP: total=8.00MiB, used=48.00KiB
>> Metadata, DUP: total=14.88GiB, used=11.18GiB
>> GlobalReserve, single: total=512.00 MiB, used=0.00B
>>
>> dmesg > dmesg.log
>> compiz: segfault at ... error 4 in libnux-graphics-4.0.so...
>>
>>
>> Any ideas?
>>
>> Regards,
>> Nick
>> --
>> 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] 2+ messages in thread
* Re: "BTRFS error (device vda1): couldn't get super buffer head for bytenr x"
2017-10-08 15:39 ` Nick Gilmour
@ 2017-10-08 21:03 ` Chris Murphy
[not found] ` <CAH-drozNA1N6xO2dAknLD-JQu75BAEi+GpiEibA-R-Zk1U7xmA@mail.gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Chris Murphy @ 2017-10-08 21:03 UTC (permalink / raw)
To: Nick Gilmour; +Cc: Liu Bo, Btrfs BTRFS
On Sun, Oct 8, 2017 at 4:39 PM, Nick Gilmour <nickeforos@gmail.com> wrote:
> Thanks for the reply!
>
> For conversion I used this command:
> $ vboxmanage internalcommands converttoraw mydisk.vdi mydisk.img
>
> and for resizing this one:
> $ qemu-img resize mydisk.img 150G
>
> Is there something I can do to fix this or another way to do the
> resizing without getting an error?
I don't see a 'btrfs filesystem resize' command in your sequence. Did
you actually resize the file system before you resized the underlying
(virtual) block device?
>>> btrfs fi show
>>> Label: none uuid: x
>>> Total devices 1 FS bytes used 473.68GiB
>>> devid 1 size 492.00 GiB used 492.00GiB path /dev/sda1
Is this before or after the resize?
--
Chris Murphy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-12 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAOna0f2V=Aw8isLVkQy9RUKT60JOq0prsXuEVQke=QRjbRWUSg@mail.gmail.com>
[not found] ` <047d7b86daaa49592f04e3146f9d@google.com>
2013-08-04 0:51 ` Delivery Status Notification (Failure) Jesper Utoft
2017-10-06 10:25 "BTRFS error (device vda1): couldn't get super buffer head for bytenr x" Nick Gilmour
2017-10-07 0:08 ` Liu Bo
2017-10-08 15:39 ` Nick Gilmour
2017-10-08 21:03 ` Chris Murphy
[not found] ` <CAH-drozNA1N6xO2dAknLD-JQu75BAEi+GpiEibA-R-Zk1U7xmA@mail.gmail.com>
2017-10-09 9:28 ` Chris Murphy
[not found] ` <CAH-drozVaiXMoXqs8hiHvd5n8qDvbGLnp=1OPndsibhxjGkNxw@mail.gmail.com>
[not found] ` <59df4db2.8508370a.40c79.2c64.GMRIR@mx.google.com>
2017-10-12 11:12 ` Delivery Status Notification (Failure) Nick Gilmour
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).