Re: Kernel panic from "btrfs subvolume delete"

2012-06-29 Thread Hugo Mills
On Fri, Jun 29, 2012 at 03:23:13PM +0100, Richard Cooper wrote:
> 
> On 29 Jun 2012, at 11:42, Fajar A. Nugraha wrote:
> >> What should I do now? Do I need to upgrade to a more recent btrfs?
> > 
> > Yep
> > 
> >> If so, how?
> > 
> > https://blogs.oracle.com/linux/entry/oracle_unbreakable_enterprise_kernel_release
> > http://elrepo.org/tiki/kernel-ml
> 
> Perfect, thank you! I was looking for a mainline kernel yum repo but my 
> google-fu was failing me. That looks like just what I need.
> 
> I've installed kernel v3.4.4 from http://elrepo.org/tiki/kernel-ml and that 
> seems to have fixed my kernel panic. I'm still using the default Cent OS 6 
> versions of the btrfs userspace programs (v0.19). Any reason why that might 
> be a bad idea?

   You miss out on new features (like scrub and btrfsck). Note that
"0.19" could actually be any version from the last 3 years or so. Most
distributions these days are putting a date in their package names --
anything from 20120328 or so is good.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- Charting the inexorable advance of Western syphilisation... ---   


signature.asc
Description: Digital signature


Re: Kernel panic from "btrfs subvolume delete"

2012-06-29 Thread Fajar A. Nugraha
On Fri, Jun 29, 2012 at 9:23 PM, Richard Cooper
 wrote:
>>> If so, how?
>>
>> https://blogs.oracle.com/linux/entry/oracle_unbreakable_enterprise_kernel_release
>> http://elrepo.org/tiki/kernel-ml
>
> Perfect, thank you! I was looking for a mainline kernel yum repo but my 
> google-fu was failing me. That looks like just what I need.
>
> I've installed kernel v3.4.4 from http://elrepo.org/tiki/kernel-ml and that 
> seems to have fixed my kernel panic. I'm still using the default Cent OS 6 
> versions of the btrfs userspace programs (v0.19). Any reason why that might 
> be a bad idea?

At the very least, newer version of btrfsck has --repair, which you
might need later in the future.
There's also features lke forcing a certain compression (e.g. zlib) on
a file as part of "btrfs filesystem defrag" command.

Just grab updated btrfs-progs (or whatever it's called) from Oracle's repo.

-- 
Fajar
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Kernel panic from "btrfs subvolume delete"

2012-06-29 Thread Richard Cooper

On 29 Jun 2012, at 11:42, Fajar A. Nugraha wrote:
>> What should I do now? Do I need to upgrade to a more recent btrfs?
> 
> Yep
> 
>> If so, how?
> 
> https://blogs.oracle.com/linux/entry/oracle_unbreakable_enterprise_kernel_release
> http://elrepo.org/tiki/kernel-ml

Perfect, thank you! I was looking for a mainline kernel yum repo but my 
google-fu was failing me. That looks like just what I need.

I've installed kernel v3.4.4 from http://elrepo.org/tiki/kernel-ml and that 
seems to have fixed my kernel panic. I'm still using the default Cent OS 6 
versions of the btrfs userspace programs (v0.19). Any reason why that might be 
a bad idea?

Thanks again,

- Rich--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Kernel panic from "btrfs subvolume delete"

2012-06-29 Thread Duncan
Fajar A. Nugraha posted on Fri, 29 Jun 2012 17:42:26 +0700 as excerpted:

> On Fri, Jun 29, 2012 at 5:11 PM, Richard Cooper
>  wrote:
>> Hi All,
>>
>> I have two machines where I've been testing various btrfs based backup
>> strategies. They are both Cent OS 6 with the standard kernel and
>> btrfs-progs RPMs from the CentOS repos.
>>
>> - kernel-2.6.32-220.17.1.el6.x86_64 - btrfs-progs-0.19-12.el6.x86_64
> 
> In btrfs terms, 2.6.32 is ... stone age :P

Indeed!  As both the kernel option and the btrfs wiki state, btrfs is an 
experimental filesystem under heavy development and fit for testing, not 
operational use.  Oracle and I believe SuSE have paid support now if you 
want it, but to some extent that's by locking down your options, and 
otherwise, it's simply offering to let you pay them for recovery efforts 
if something does go wrong.

Meanwhile, "under heavy development" in practice means that if you're 
using a kernel older than the last upstream release or two (so 3.3 at the 
very oldest!), you're testing extremely outdated code and the value of 
those tests both in reporting problems and in conclusions you yourself 
may draw from them is extremely limited.

Latest upstream release, now 3.4, is really the oldest you should be 
running for btrfs testing, and many people run the development kernel rcs, 
3.5-rc4 currently, or git-kernels, either Linus or btrfs-next (see the 
wiki).

So 2.6.32...  Do you still run kernel 2.2 on your non-btrfs machines, by 
any chance?  Because that's what's comparable, in terms of btrfs 
development vs kernel development.

>> What should I do now? Do I need to upgrade to a more recent btrfs?
> 
> Yep
> 
>> If so, how?
> 
> https://blogs.oracle.com/linux/entry/
oracle_unbreakable_enterprise_kernel_release
> http://elrepo.org/tiki/kernel-ml


Or read up on the wiki and go mainline kernel:

https://btrfs.wiki.kernel.org/

https://btrfs.wiki.kernel.org/index.php/Main_Page#Documentation

https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Kernel panic from "btrfs subvolume delete"

2012-06-29 Thread Fajar A. Nugraha
On Fri, Jun 29, 2012 at 5:11 PM, Richard Cooper
 wrote:
> Hi All,
>
> I have two machines where I've been testing various btrfs based backup 
> strategies. They are both Cent OS 6 with the standard kernel and btrfs-progs 
> RPMs from the CentOS repos.
>
> - kernel-2.6.32-220.17.1.el6.x86_64
> - btrfs-progs-0.19-12.el6.x86_64

In btrfs terms, 2.6.32 is ... stone age :P

> What should I do now? Do I need to upgrade to a more recent btrfs?

Yep

> If so, how?

https://blogs.oracle.com/linux/entry/oracle_unbreakable_enterprise_kernel_release
http://elrepo.org/tiki/kernel-ml

-- 
Fajar
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html