[Btrfs-users] btrfs v0.14: kernel BUG at /home/trey/btrfs-0.14/volumes.c:1453

Gabor MICSKO gmicsko at gmail.com
Wed Apr 30 14:16:45 PDT 2008


On Wed, 2008-04-30 at 16:56 -0400, Chris Mason wrote:
> On Wednesday 30 April 2008, Gabor MICSKO wrote:
> > On Wed, 2008-04-30 at 16:12 -0400, Chris Mason wrote:
> > > On Wednesday 30 April 2008, Chris Mason wrote:
> > > > On Wednesday 30 April 2008, Gabor MICSKO wrote:
> > > > > Hi,
> > > > >
> > > > > Kernel crash when i tried to mount btrfs:
> > > >
> > > > I'm trying to reproduce this now, but are you sure you've updated to
> > > > the latest btrfs-0.14 userland utilities as well?
> >
> > Yes, I double checked.
> 
> Ok, thank you.
> 
> >
> > > I might have to ask you to make a disk image for me.
> >
> > Can you please tell me how to make?
> 
> Lets try a few things:
> 
> mkfs.btrfs /dev/cciss/c0d0p3
> btrfsck /dev/cciss/c0d0p3
> 
> The btrfsck should complete without any errors.  If you get errors from 
> btrfsck, it means mkfs.btrfs isn't creating a valid image.
> 
> Next:
> 
> # create a sparse file to hold the btrfs FS
> dd if=/dev/zero of=image bs=1M seek=1000 count=1
> 
> # create an FS on the image
> mkfs.btrfs image
> 
> # make a sparse aware tar file of the image
> tar Scf image.tar image
> 
> sync
> 
> # verify you oops on mount with this image
> mount -o loop -t btrfs image /mnt

root at btrfs:/home/trey# /usr/local/bin/mkfs.btrfs /dev/cciss/c0d0p3
fs created label (null) on /dev/cciss/c0d0p3
        nodesize 4096 leafsize 4096 sectorsize 4096 size 93.14GB
root at btrfs:/home/trey# /usr/local/bin/btrfsck /dev/cciss/c0d0p3
found 40960 bytes used err is 0
total csum bytes: 0
total tree bytes: 20480
btree space waste bytes: 17092
file data blocks allocated: 0
 referenced 0
root at btrfs:/home/trey# dd if=/dev/zero of=image bs=1M seek=1000 count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.00336347 s, 312 MB/s
root at btrfs:/home/trey# mkfs.btrfs image
fs created label (null) on image
        nodesize 4096 leafsize 4096 sectorsize 4096 size 1001.00MB
root at btrfs:/home/trey# tar Scf image.tar image
root at btrfs:/home/trey# sync
root at btrfs:/home/trey# mount -o loop -t btrfs image /mnt/
root at btrfs:/home/trey# mount
/dev/cciss/c0d0p2 on / type ext3 (rw,relatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
securityfs on /sys/kernel/security type securityfs (rw)
/home/trey/image on /mnt type btrfs (rw,loop=/dev/loop0)

> Please send me image.tar, it should be very small.

Please fetch from:

http://mirror.hup.hu/~trey/image.tar

BTW: this is a sandbox machine, i can give to you an ssh account if you wish. :)

-- 
Gabor MICSKO - http://hup.hu




More information about the Btrfs-users mailing list