Displaying 20 results from an estimated 46 matches for "btrfsctl".
2009 Jan 13
0
[btrfs-progs 2/4] Add man/btrfsctl.8.in
Add man/btrfsctl.8.in
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@gmail.com>
---
man/btrfsctl.8.in | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
create mode 100644 man/btrfsctl.8.in
diff --git a/man/btrfsctl.8.in b/man/btrfsctl.8.in
new file mode 10...
2008 Jul 18
4
btrfsctl -A not returning useful information
[root@btrfs progs-unstable]# btrfsctl -A /dev/sdb
ioctl returns 0
[root@btrfs progs-unstable]# btrfsctl -A /dev/sdc
ioctl returns 0
/dev/sdb has a btrfs, while /dev/sdc is blank. What''s that output
supposed to mean ? Is it a bug ?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body...
2009 Dec 21
0
[PATCH] btrfsctl: scan device and exit without using ioctl
''btrfsctl -A /path/to/device/file'' would only scan for a valid btrfs
on the device using volume recognition helpers.
---
btrfsctl.c | 42 ++++++++++++++++++++++++++++++++++++------
1 files changed, 36 insertions(+), 6 deletions(-)
diff --git a/btrfsctl.c b/btrfsctl.c
index 66c4e89..61020de 10064...
2009 Aug 26
0
btrfsctl -a doesn't find my btrfs
If I scan I device with a btrfs with -A, it finds it:
(~/btrfs-progs-unstable) sudo ./btrfsctl -A /dev/sda5
operation complete
Btrfs v0.19-1-g4f89b6e-dirty
But when I do a "scan all devices", it can''t find my btrfs on /dev/sda5:
(~/btrfs-progs-unstable) sudo ./btrfsctl -a
Scanning for Btrfs filesystems
failed to read /dev/sr0
I''m using btrfs-progs-unstable vers...
2011 Nov 01
1
btrfs-progs
Hello,
I''ve just pulled btrfs-progs from the new git repo
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
However, when I come to make it fails like so:
gcc -Wp,-MMD,./.btrfsctl.o.d,-MT,btrfsctl.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -Werror -Os -c btrfsctl.c
gcc -g -Werror -Os -o btrfsctl btrfsctl.o ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o root-tree.o dir-item.o file-item.o inode-item.o inode-map.o crc32c.o rbtree.o extent-cache.o extent_io...
2009 Jan 13
0
[btrfs-progs 3/4] Add man/btrfsck.8.in and Makefile for man pages
...k.8.in
diff --git a/man/Makefile b/man/Makefile
new file mode 100644
index 0000000..2665dd1
--- /dev/null
+++ b/man/Makefile
@@ -0,0 +1,27 @@
+GZIP=gzip
+INSTALL= install
+
+prefix ?= /usr/local
+bindir = $(prefix)/bin
+mandir = $(prefix)/man
+man8dir = $(mandir)/man8
+
+MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz
+
+all: $(MANPAGES)
+
+mkfs.btrfs.8.gz: mkfs.btrfs.8.in
+ $(GZIP) -n -c mkfs.btrfs.8.in > mkfs.btrfs.8.gz
+
+btrfsctl.8.gz: btrfsctl.8.in
+ $(GZIP) -n -c btrfsctl.8.in > btrfsctl.8.gz
+
+btrfsck.8.gz: btrfsck.8.in
+ $(GZIP) -n -c btrfsck.8.in > btrfsck.8.gz
+
+clean :
+ r...
2007 Dec 06
1
[PATCH] Makefile: CFLAGS, LDFLAGS
...-tree.o print-tree.o \
root-tree.o dir-item.o hash.o file-item.o inode-item.o \
inode-map.o crc32c.o rbtree.o extent-cache.o \
@@ -23,28 +24,28 @@ endif
.c.o:
$(check) $<
- $(CC) $(DEPFLAGS) $(CFLAGS) -c $<
+ $(CC) $(DEPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c $<
all: $(progs)
btrfsctl: btrfsctl.o
- gcc $(CFLAGS) -o btrfsctl btrfsctl.o
+ gcc $(CFLAGS) -o btrfsctl btrfsctl.o $(LDFLAGS)
btrfsck: $(objects) btrfsck.o bit-radix.o
- gcc $(CFLAGS) -o btrfsck btrfsck.o $(objects) bit-radix.o
+ gcc $(CFLAGS) -o btrfsck btrfsck.o $(objects) bit-radix.o $(LDFLAGS)
mkfs.btrfs: $(objec...
2009 Nov 03
2
[PATCH]] Btrfs: fix destroy snapshot to get the right parent dentry
In snapshot destroy the dentry used for parent was the snapshot dentry
itself. Remove d_invalidate since always return EBUSY, making possible
to remove a snapshot using the btrfsctl -D option.
Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com>
---
fs/btrfs/ioctl.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index cdbb054..fe6ac9a 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -741,7 +741,7...
2011 Jan 12
2
'ioctl:: Inappropriate ioctl for device' when trying to shrink partition
E.g. btrfsctl -r -4000m /dev/sda5
results in:
ioctl:: Inappropriate ioctl for device
Distribution: Ubuntu 10.10
Kernel: 2.6.35-22-generic
According to the Synaptic Package manager, the version of btrfs-tools is
0.19+20100601-3
Other information that can be of interest:
- I started Ubuntu on a live CD
- befor...
2009 Mar 30
0
[PATCH] add btrfs-image man page
...insertions(+), 1 deletions(-)
create mode 100644 man/btrfs-image.8.in
diff --git a/man/Makefile b/man/Makefile
index 2665dd1..b7a7340 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -6,7 +6,7 @@ bindir = $(prefix)/bin
mandir = $(prefix)/man
man8dir = $(mandir)/man8
-MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz
+MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz btrfs-image.8.gz
all: $(MANPAGES)
@@ -19,6 +19,9 @@ btrfsctl.8.gz: btrfsctl.8.in
btrfsck.8.gz: btrfsck.8.in
$(GZIP) -n -c btrfsck.8.in > btrfsck.8.gz
+btrfs-image.8.gz: btrfs-image.8.in
+ $(GZIP) -n -c btrfs-image...
2011 Oct 14
2
snapshot issues
...|__ data |
|__ sites |
|__ 00xx |
|__ email@address
If I use btrfsctl -s (btrfs sub snapshot isn''t working) snappath-name /btrfs/nfs1 I get a mountable snapshot of nfs1
but data is all that I can see below it. If I btrfsctl -s snappath-name /btrfs/nfs1/data/sites/0000 I can mount /0000 and
get a full list of email@address accounts but none of the files bel...
2010 Apr 16
2
[RFC] btrfs, udev and btrfs
...multi-volume btrfs filesystem.
Btrfs has the capability to span a file-system on multiple device. In order to
do that, the involved devices have to be "registered" in the kernel.
In order to do that there are two options:
# btrfs device scan <device> (or the old tool btrfsctl -A <device>)
or
# btrfs device scan (or the old tool btrfsctl -a)
The first one scan the device <device> in order to find a btrfs volume. If
this exists, it is registered in the kernel.
The second options scan all the block devices (even floppy, cdrom...) looking
for a...
2008 Jan 15
2
[ANNOUNCE] Btrfs v0.10 available
...rt
* Mount options to disable data COW and checksumming
* Barrier support for sata and IDE drives
[ Resizing ]
In order to demonstrate and test the back references, I've added an online
resizer, which can both grow and shrink the filesystem:
mount -t btrfs /dev/xxx /mnt
# add 2GB to the FS
btrfsctl -r +2g /mnt
# shrink the FS by 4GB
btrfsctl -r -4g /mnt
# Explicitly set the FS size
btrfsctl -r 20g /mnt
btrfsctl -r max /mnt
[ Conversion from Ext3 ]
This is an offline, in place, conversion program written by Yan Zheng. It
has been through basic testing, but should not be trusted with criti...
2008 Jan 15
2
[ANNOUNCE] Btrfs v0.10 available
...rt
* Mount options to disable data COW and checksumming
* Barrier support for sata and IDE drives
[ Resizing ]
In order to demonstrate and test the back references, I've added an online
resizer, which can both grow and shrink the filesystem:
mount -t btrfs /dev/xxx /mnt
# add 2GB to the FS
btrfsctl -r +2g /mnt
# shrink the FS by 4GB
btrfsctl -r -4g /mnt
# Explicitly set the FS size
btrfsctl -r 20g /mnt
btrfsctl -r max /mnt
[ Conversion from Ext3 ]
This is an offline, in place, conversion program written by Yan Zheng. It
has been through basic testing, but should not be trusted with criti...
2007 Dec 21
0
online resizing (including shrinking) pushed out
Hello everyone,
Just before I head off to xmas vacation, I've pushed out my current
queue of unstable things to the unstable tree.
The big changes are the online resize, and a very very simple form of
ENOSPC detection:
btrfsctl -r new_size /mount_point
new_size can be an absolute number:
btrfsctl -r 8g /mount_point
or it can be an relative number:
# add 4GB
btrfsctl -r +4g /mount_point
# shrink 4GB
btrfsctl -r -16g /mount_point
This stuff just barely works, I'm sure there are problems, but it's
there for peo...
2010 Jan 09
2
Still Problems with /dev/btrfs-control
Thanks for the quick reply!
But I still have problems with btrfsctl:
> stat /dev/btrfs-control
File: `/dev/btrfs-control''
Size: 0 Blocks: 0 IO Block: 4096 block special file
Device: ch/12d Inode: 659848 Links: 1 Device type: a,3e
Access: (0644/brw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-01-0...
2009 Jan 19
4
[Patch] Btrfs: use BTRFS_VOL_NAME_MAX for struct btrfs_ioctl_vol_args
I found userspace tool, btrfsctl, uses BTRFS_VOL_NAME_MAX, and
it also looks that this one is more proper.
Kill BTRFS_PATH_NAME_MAX since no one will use it.
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Cc: Chris Mason <chris.mason@oracle.com>
---
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index c2aa33e..f229...
2011 Nov 07
2
[btrfs-progs: PATCH] scrub: fix build failure by restoring proper library ordering
...@@ -36,8 +36,8 @@ version:
bash version.sh
btrfs: $(objects) btrfs.o btrfs_cmds.o scrub.o
- $(CC) -lpthread $(CFLAGS) -o btrfs btrfs.o btrfs_cmds.o scrub.o \
- $(objects) $(LDFLAGS) $(LIBS)
+ $(CC) $(CFLAGS) -o btrfs btrfs.o btrfs_cmds.o scrub.o \
+ $(objects) $(LDFLAGS) $(LIBS) -lpthread
btrfsctl: $(objects) btrfsctl.o
$(CC) $(CFLAGS) -o btrfsctl btrfsctl.o $(objects) $(LDFLAGS) $(LIBS)
--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordo...
2010 Feb 17
0
[PATCH 2/2 V2] btrfs, a new tool to manage a btrfs filesystem; man page
...39;'subvolume''
Thanks to Daniel for some tweaks on the syntax
BR
G.Baroncelli
diff --git a/man/Makefile b/man/Makefile
index 4e8893b..4a90b75 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -7,13 +7,16 @@ mandir = $(prefix)/man
man8dir = $(mandir)/man8
MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz btrfs-image.8.gz \
- btrfs-show.8.gz
+ btrfs-show.8.gz btrfs.8.gz
all: $(MANPAGES)
mkfs.btrfs.8.gz: mkfs.btrfs.8.in
$(GZIP) -n -c mkfs.btrfs.8.in > mkfs.btrfs.8.gz
+btrfs.8.gz: btrfs.8.in
+ $(GZIP) -n -c btrfs.8.in > btrfs.8.gz
+
btrfsctl.8.gz: btrfsctl.8.in...
2013 Mar 12
2
[PATCH] btrfs-progs: add Makefile rule for static build of btrfs-find-root
...S) -o btrfs-find-root find-root.o $(objects) $(LDFLAGS) $(LIBS)
+btrfs-find-root.static: $(static_objects) $(libs) find-root.static.o
+ @echo " [LD] $@"
+ $(Q)$(CC) $(STATIC_CFLAGS) -o btrfs-find-root.static find-root.static.o $(static_objects) $(STATIC_LDFLAGS) $(STATIC_LIBS)
+
btrfsctl: $(objects) $(libs) btrfsctl.o
@echo " [LD] $@"
$(Q)$(CC) $(CFLAGS) -o btrfsctl btrfsctl.o $(objects) $(LDFLAGS) $(LIBS)
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More...