Re: severe hardlink bug

2012-08-08 Thread Konstantin Dmitriev
Jan Schmidt list.btrfs at jan-o-sch.net writes: Please give the patch set btrfs: extended inode refs by Mark Fasheh a try (http://lwn.net/Articles/498226/). It eliminates the hard links per directory limit (introducing a rather random, artificial limit of 64k instead). Hi, Jan! I'm happy to

Re: severe hardlink bug

2012-08-08 Thread Chris Samuel
On 08/08/2012 04:37 PM, Konstantin Dmitriev wrote: Unfortunately I cannot afford to have unstable patched kernel on the production server. I'd suggest that using btrfs for production servers is probably a bit brave (no matter what Oracle say), and what you've found illustrates the point

Re: severe hardlink bug

2012-07-30 Thread Arnd Hannemann
Am 29.07.2012 21:13, schrieb C Anthony Risinger: On Sun, Jul 29, 2012 at 2:02 PM, Konstantin Dmitriev ksee.zelga...@gmail.com wrote: Dipl.-Ing. Michael Niederle mniederle at gmx.at writes: I reinstalled over 700 packages - plt-scheme beeing the only one failing due to the btrfs link

Re: severe hardlink bug

2012-07-30 Thread C Anthony Risinger
On Mon, Jul 30, 2012 at 4:36 AM, Arnd Hannemann a...@arndnet.de wrote: Am 29.07.2012 21:13, schrieb C Anthony Risinger: On Sun, Jul 29, 2012 at 2:02 PM, Konstantin Dmitriev ksee.zelga...@gmail.com wrote: Dipl.-Ing. Michael Niederle mniederle at gmx.at writes: I reinstalled over 700 packages

Re: severe hardlink bug

2012-07-30 Thread Helmut Hullen
Hallo, Arnd, Du meintest am 30.07.12: btrfs only fails when you have hundreds of hardlinks to the same file in the *same* directory ... certainly not a standard use case. Actually, hundreds of hardlinks is certainly over optimistic. In my testing 15 links in the same directory were enough

Re: severe hardlink bug

2012-07-30 Thread Martin Steigerwald
Am Sonntag, 24. Januar 2010 schrieb Michael Niederle: I'm using btrfs with a kernel 2.6.32.2 (builtin) as the root file system of a Gentoo Linux installation. Upgrade your kernel! This kernel is wy to old for any production use of BTRFS. Heck, upstream still did not

Re: severe hardlink bug

2012-07-29 Thread Konstantin Dmitriev
Dipl.-Ing. Michael Niederle mniederle at gmx.at writes: I reinstalled over 700 packages - plt-scheme beeing the only one failing due to the btrfs link restriction. I have hit the same issue - tried to run BackupPC with a pool on btrfs filesystem. After some time the error of too many links

Re: severe hardlink bug

2012-07-29 Thread C Anthony Risinger
On Sun, Jul 29, 2012 at 2:02 PM, Konstantin Dmitriev ksee.zelga...@gmail.com wrote: Dipl.-Ing. Michael Niederle mniederle at gmx.at writes: I reinstalled over 700 packages - plt-scheme beeing the only one failing due to the btrfs link restriction. I have hit the same issue - tried to run

Re: severe hardlink bug

2012-07-29 Thread Konstantin Dmitriev
C Anthony Risinger anthony at xtfx.me writes: btrfs only fails when you have hundreds of hardlinks to the same file in the *same* directory ... certainly not a standard use case. use snapshots to your advantage: - snap source - rsync --inplace source to target (with some other opts that

Re: severe hardlink bug

2010-01-25 Thread Chris Mason
On Sun, Jan 24, 2010 at 12:04:32PM +0100, Stephan von Krawczynski wrote: On Sun, 24 Jan 2010 09:09:44 +0100 Goffredo Baroncelli kreij...@gmail.com wrote: On Sunday 24 January 2010, Michael Niederle wrote: I'm using btrfs with a kernel 2.6.32.2 (builtin) as the root file system of a

Re: severe hardlink bug

2010-01-24 Thread Goffredo Baroncelli
On Sunday 24 January 2010, Michael Niederle wrote: I'm using btrfs with a kernel 2.6.32.2 (builtin) as the root file system of a Gentoo Linux installation. While attempting to install the plt-scheme package a strange error about link counts occurred ([Error 31] Too many Links). See this

Re: severe hardlink bug

2010-01-24 Thread Stephan von Krawczynski
On Sun, 24 Jan 2010 09:09:44 +0100 Goffredo Baroncelli kreij...@gmail.com wrote: On Sunday 24 January 2010, Michael Niederle wrote: I'm using btrfs with a kernel 2.6.32.2 (builtin) as the root file system of a Gentoo Linux installation. While attempting to install the plt-scheme

Re: severe hardlink bug

2010-01-24 Thread Dipl.-Ing. Michael Niederle
Hi, Goffredo! See this thread: Mass-Hardlinking Oops - http://thread.gmane.org/gmane.comp.file- systems.btrfs/3427 Sorry, I didn't find the thread myself - despite of massive googeling. :-( The gentoo scenario however is a real world application - no artificial situation, so it would be

Re: severe hardlink bug

2010-01-24 Thread Goffredo Baroncelli
On Sunday 24 January 2010, you (Dipl.-Ing. Michael Niederle) wrote: Hi, Goffredo! See this thread: Mass-Hardlinking Oops - May be that the link was broken in two line in the previous mail. I copied again the ling. please give a try to see the thread.

Re: severe hardlink bug

2010-01-24 Thread Dipl.-Ing. Michael Niederle
Hi, Goffredo! I understood that a disk layout change will be necessary to accomodate for a bigger total filename-space per file. So it is best done at once when more issues arise that will need layout changes. To recreate the error situation you need a Gentoo Linux with a btrfs root file system

severe hardlink bug

2010-01-23 Thread Michael Niederle
I'm using btrfs with a kernel 2.6.32.2 (builtin) as the root file system of a Gentoo Linux installation. While attempting to install the plt-scheme package a strange error about link counts occurred ([Error 31] Too many Links). I was able to create a simple scenario to reproduce the error: