Re: NFS support

2010-11-10 Thread Wenyi Liu
Thank you, I will choose another one. 2010/11/10, Josef Bacik : > On Wed, Nov 10, 2010 at 12:53:59PM +0800, Wenyi Liu wrote: >> Hi All: >> >> I found the project ideas about NFS support in btrfs wiki. But, I >> have long time to disconnect to the btrfs mail list. Can you give me >> the process

Re: On Removing BUG_ON macros

2010-11-10 Thread Ian Kent
On Mon, 2010-11-08 at 23:02 +0800, Ian Kent wrote: > On Mon, 2010-11-08 at 09:15 -0500, Josef Bacik wrote: > > On Mon, Nov 08, 2010 at 10:06:13PM +0800, Ian Kent wrote: > > > On Mon, 2010-11-08 at 07:42 -0500, Josef Bacik wrote: > > > > On Mon, Nov 08, 2010 at 10:54:07AM +0800, Ian Kent wrote: > >

Re: Btrfs-progs: Update man page for mixed data+metadata option.

2010-11-10 Thread C Anthony Risinger
On Wed, Nov 10, 2010 at 9:53 PM, Mitch Harder wrote: > On Wed, Nov 10, 2010 at 8:10 PM, Josef Bacik wrote: >> On Wed, Nov 10, 2010 at 12:02:18PM -0600, Mitch Harder wrote: >>> Update the mkfs.btrfs man page for the -M option to mix data and >>> metadata chunks. >>> >>> Signed-off-by: Mitch Harder

Re: Btrfs-progs: Update man page for mixed data+metadata option.

2010-11-10 Thread Mitch Harder
On Wed, Nov 10, 2010 at 8:10 PM, Josef Bacik wrote: > On Wed, Nov 10, 2010 at 12:02:18PM -0600, Mitch Harder wrote: >> Update the mkfs.btrfs man page for the -M option to mix data and >> metadata chunks. >> >> Signed-off-by: Mitch Harder >> --- >>  man/mkfs.btrfs.8.in |    5 + >>  1 files cha

Re: Btrfs-progs: Update man page for mixed data+metadata option.

2010-11-10 Thread Josef Bacik
On Wed, Nov 10, 2010 at 12:02:18PM -0600, Mitch Harder wrote: > Update the mkfs.btrfs man page for the -M option to mix data and > metadata chunks. > > Signed-off-by: Mitch Harder > --- > man/mkfs.btrfs.8.in |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/man/m

Re: labelling

2010-11-10 Thread Helmut Hullen
Hallo, Hugo, Du meintest am 10.11.10: >> findfs LABEL=MM2 >> >> shows "/dev/sdd2" (the first partition) >> >> file -s /dev/sdd2 >> file -s /dev/sdc3 >> >> shows "LABEL=MM2" for both partitions [...] >> Unmounting "/srv/MM" and >> >> mount LABEL=MM2 /srv/MM >> >>

Btrfs-progs: Update man page for mixed data+metadata option.

2010-11-10 Thread Mitch Harder
Update the mkfs.btrfs man page for the -M option to mix data and metadata chunks. Signed-off-by: Mitch Harder --- man/mkfs.btrfs.8.in |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/man/mkfs.btrfs.8.in b/man/mkfs.btrfs.8.in index 1e14c6c..c23dddc 100644 --- a/man/mkf

Re: Chunk map/control

2010-11-10 Thread Phillip Susi
On 9/22/2010 4:12 PM, Phillip Susi wrote: > Is there currently a way to view and manipulate the chunks? If I > understand things correctly, a new fs has a few chunks: > > 1) System chunk. Contains tree of trees, device tree, chunk tree. > 2) Metadata chunk. Contains the directory tree for the

Re: migrating drives (device delete)

2010-11-10 Thread Oliver Večernik
> This isn't necessarily RAID-0. It's just spread the block group > allocations across both drives. Block groups are 1 GiB in size. if you > use RAID-0, it will allocate block groups in pairs, on different > drives, and stripe the data within the pair (on some much smaller > stripe size). If you us

Re: migrating drives (device delete)

2010-11-10 Thread Helmut Hullen
Hallo, Oliver, Du meintest am 10.11.10: > # sudo btrfs filesystem show > Label: none uuid: cd4fd4c1-0632-4cbe-bf3b-ba7a9acda1e0 > Total devices 2 FS bytes used 291.62GB > devid2 size 696.77GB used 146.63GB path /dev/sdb2 > devid1 size 147.19GB used 146.64GB path /

btrfs review

2010-11-10 Thread ext-alexander.vdovichev
Hi list, I spent some time with btrfs testing and reviewing - the document can be found here - http://www.sendspace.com/file/f7u51m (it was too large to attach it here). Please comment it. Thanks,-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a messag

Re: labelling

2010-11-10 Thread Helmut Hullen
Hallo, Hugo, Du meintest am 10.11.10: >> findfs LABEL=MM2 >> >> shows "/dev/sdd2" (the first partition) >> >> file -s /dev/sdd2 >> file -s /dev/sdc3 >> >> shows "LABEL=MM2" for both partitions (that's not good). >No, this is both good and correct. You've got a single

Re: migrating drives (device delete)

2010-11-10 Thread Oliver Večernik
Hallo Helmut, > What tells "df": about 300 GByte in use? # df -h | head -n 2 FilesystemSize Used Avail Use% Mounted on /dev/sda2 844G 293G 552G 35% / # btrfs filesystem df / Metadata: total=896.00MB, used=484.77MB Data: total=291.50GB, used=291.15GB System: total=12.0

Re: labelling

2010-11-10 Thread Hugo Mills
On Wed, Nov 10, 2010 at 08:40:00AM +0100, Helmut Hullen wrote: > Hallo, linux-btrfs, > > I have problems with btrfs labels. > > My way: > > 2-TByte-disk: > > mkfs.btrs LABEL=MM2 /dev/sdd2 > > worked. > Mounting "mount LABEL=MM2 /srv/MM" worked. > > Additional 1.5-TByte-Disk: > >

migrating drives (device delete)

2010-11-10 Thread Oliver Večernik
Hi, running on Ubuntu server 10.10 (2.6.35-22-server) I've got a 160GB disk for / (/boot is on another partition with ext2). I added another 750GB drive with the following command: # btrfs device add /dev/sdb2 / # btrfs device balance / As far as I can see it is a RAID 0 and now full: # sudo b

Re: NFS support

2010-11-10 Thread Josef Bacik
On Wed, Nov 10, 2010 at 12:53:59PM +0800, Wenyi Liu wrote: > Hi All: > > I found the project ideas about NFS support in btrfs wiki. But, I > have long time to disconnect to the btrfs mail list. Can you give me > the process of the support? Thanks!! > NFS support already is there. Thanks, Jo