Free space left

2010-01-16 Thread Michael Niederle
How can I detect how much free space is left on a btrfs-volume? As I read (and learned in practice!) df reports cannot be trusted if used on btrfs-volumes. Greetings, Michael -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to

worse than expected compression ratios with -o compress

2010-01-16 Thread Jim Faulkner
I have a mysql database which consists of hundreds of millions, if not billions of Usenet newsgroup headers. This data should be highly compressable, so I put the mysql data directory on a btrfs filesystem mounted with the compress option: /dev/sdi on /var/news/mysql type btrfs

Re: Free space left

2010-01-16 Thread Goffredo Baroncelli
On Saturday 16 January 2010, Michael Niederle wrote: How can I detect how much free space is left on a btrfs-volume? As I read (and learned in practice!) df reports cannot be trusted if used on btrfs-volumes. Try btrfs-show $ btrfs-show Label: bar uuid:

Re: Free space left

2010-01-16 Thread Dipl.-Ing. Michael Niederle
Hi, Goffredo! Try btrfs-show Thanks for your advice! btrfs-show works but it displays a lot of error message for non-btrfs devices: btrfs-show failed to read /dev/sdg failed to read /dev/sdg1 failed to read /dev/sdg2 failed to read /dev/sdg3 failed to read /dev/sdg4 failed to read /dev/md1

Re: Free space left

2010-01-16 Thread Goffredo Baroncelli
On Saturday 16 January 2010, you (Dipl.-Ing. Michael Niederle) wrote: Hi, Goffredo! Try btrfs-show Thanks for your advice! btrfs-show works but it displays a lot of error message for non-btrfs devices: btrfs-show failed to read /dev/sdg failed to read /dev/sdg1 failed to read

Re: Free space left

2010-01-16 Thread Svein Erik Brostigen
Goffredo Baroncelli wrote: Try btrfs-show Ok: $ mount /dev/sdc on /media/452f782b-738a-4699-abfa-588eecab07ea type btrfs (rw,nosuid,nodev,uhelper=devkit) $ df /dev/sdc 932G 6.7G 925G 1% /media/452f782b-738a-4699-abfa-588eecab07ea $ btrfs-show failed to read /dev/sdb1

Re: Free space left

2010-01-16 Thread Goffredo Baroncelli
On Saturday 16 January 2010, you (Svein Erik Brostigen) wrote: Goffredo Baroncelli wrote: Try btrfs-show Ok: $ mount /dev/sdc on /media/452f782b-738a-4699-abfa-588eecab07ea type btrfs (rw,nosuid,nodev,uhelper=devkit) $ df /dev/sdc 932G 6.7G 925G 1%

Re: Free space left

2010-01-16 Thread Goffredo Baroncelli
On Saturday 16 January 2010, Mathieu Chouquet-Stringer wrote: Hello, kreij...@gmail.com (Goffredo Baroncelli) writes: Try btrfs-show [...] How do you read this then: Label: none uuid: 27fafa43-7ad0-4e8a-ada8-36f73ef8984c Total devices 2 FS bytes used 79.63GB

Re: Free space left

2010-01-16 Thread Mathieu Chouquet-Stringer
Hello, kreij...@gmail.com (Goffredo Baroncelli) writes: Try btrfs-show [...] How do you read this then: Label: none uuid: 27fafa43-7ad0-4e8a-ada8-36f73ef8984c Total devices 2 FS bytes used 79.63GB devid2 size 111.79GB used 111.01GB path /dev/sdb devid1

btrfsck segmentation fault

2010-01-16 Thread André Goddard Rosa
Hello, when trying to btrfsck my filesystem, I got the following error: # btrfsck /dev/sda7 parent transid verify failed on 13785038848 wanted 45848 found 45839 Segmentation fault Crash occurs at extent-tree.c:find_first_block_group when it gets: leaf = path-nodes[0];