Re: btrfsck integration with userlevel API for fsck

2012-03-30 Thread Avi Miller

On 30/03/2012, at 2:22 PM, Fajar A. Nugraha wrote:

 On Fri, Mar 30, 2012 at 5:08 AM, member graysky gray...@archlinux.us wrote:
 Are there plans to integrate btrfsck with the userlevel API for fsck?
 
 There isn't even a stable, working, fixing btrfsck yet :)

Yes, there is. Chris merged the btrfsck changes into the btrfs-progs master in 
git a few days ago and we shipped it with the Oracle Linux UEK2 update as well.

Cheers,
Avi

---
Oracle http://www.oracle.com
Avi Miller | Principal Program Manager | +61 (412) 229 687
Oracle Linux and Virtualization
417 St Kilda Road, Melbourne, Victoria 3004 Australia

--
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: btrfsck integration with userlevel API for fsck

2012-03-30 Thread Fajar A. Nugraha
On Sat, Mar 31, 2012 at 3:35 AM, Avi Miller avi.mil...@oracle.com wrote:

 On 30/03/2012, at 2:22 PM, Fajar A. Nugraha wrote:

 On Fri, Mar 30, 2012 at 5:08 AM, member graysky gray...@archlinux.us wrote:
 Are there plans to integrate btrfsck with the userlevel API for fsck?

 There isn't even a stable, working, fixing btrfsck yet :)

 Yes, there is. Chris merged the btrfsck changes into the btrfs-progs master 
 in git a few days ago and we shipped it with the Oracle Linux UEK2 update as 
 well.

Ah, OK. I must've missed the announcement. Thanks for the update.

Now if only UEK2 fully supports LXC as well instead of tech preview ... :D

-- 
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


btrfsck integration with userlevel API for fsck

2012-03-29 Thread member graysky
Are there plans to integrate btrfsck with the userlevel API for fsck?
AFAIK, it currently does not work as such (i.e. `shutdown -rF now`
does not trigger a check on the next boot).  What is the recommended
method to check a btrfs root filesystem?  Live media?
--
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: btrfsck integration with userlevel API for fsck

2012-03-29 Thread Fajar A. Nugraha
On Fri, Mar 30, 2012 at 5:08 AM, member graysky gray...@archlinux.us wrote:
 Are there plans to integrate btrfsck with the userlevel API for fsck?

There isn't even a stable, working, fixing btrfsck yet :)

 AFAIK, it currently does not work as such (i.e. `shutdown -rF now`
 does not trigger a check on the next boot).  What is the recommended
 method to check a btrfs root filesystem?  Live media?

Currently? None. Set the last part of root line in fstab to 0 to
disable fsck.
Newer kernels should be smart enough to recover from unclean shutdown
automatically, kinda like what zfs does, or what ext3/4 does with its
journal replay.

-- 
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