Re: BTRFS error (device sda1): bdev /dev/sdb1 errs: wr 2702175, rd 2719033, flush 0, corrupt 6, gen 0

2021-04-02 Thread Thomas
be equal on both devices. THX Am 13.03.21 um 19:02 schrieb Chris Murphy: > On Sat, Mar 13, 2021 at 5:22 AM Thomas <74cmo...@gmail.com> wrote: > >> Gerät Boot Anfang Ende Sektoren Größe Kn Typ >> /dev/sdb1 2048 496093750 496091703 236,6G 83 Linux >&g

Re: BTRFS error (device sda1): bdev /dev/sdb1 errs: wr 2702175, rd 2719033, flush 0, corrupt 6, gen 0

2021-03-20 Thread Thomas Schneider
n sda and sdb - create 2 partitions on sda, part #1 for OS + part #2 for swap (swapfile is not working with BTRFS on multiple drives) - restoring the (file) backup Question: Would you recommend to create a swap partition on sdb, too? Regards Thomas Am 13.03.2021 um 19:02 schrieb Chris Murphy

Re: BTRFS error (device sda1): bdev /dev/sdb1 errs: wr 2702175, rd 2719033, flush 0, corrupt 6, gen 0

2021-03-13 Thread Thomas
Linux Swap / Solaris thomas@pc1-desktop:~ $ sudo fdisk -l /dev/sdb Festplatte /dev/sdb: 238,47 GiB, 256060514304 Bytes, 500118192 Sektoren Festplattenmodell: SanDisk SD9TB8W2 Einheiten: Sektoren von 1 * 512 = 512 Bytes Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes E/A-Größe (minimal

BTRFS error (device sda1): bdev /dev/sdb1 errs: wr 2702175, rd 2719033, flush 0, corrupt 6, gen 0

2021-03-11 Thread Thomas
iB, used=0.00B Can you please advise how to fix these errors? Regards Thomas [0.00] microcode: microcode updated early to revision 0x70a, date = 2010-09-29 [0.00] Linux version 5.10.22-2-lts (linux-lts@archlinux) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP Wed, 10 Mar

Re Thanks.

2021-02-08 Thread Mr.Richard Thomas
Dear Friend, I will be pleased if you can allow me to invest $104M Dollars in Estate Management,in your company or any area you best that will be of good profit to both of us Please do well to respond including your information for more details. Thanks. Mr.Richard Thomas

Re: [patch V3 13/37] mips/mm/highmem: Switch to generic kmap atomic

2021-01-08 Thread Thomas Bogendoerfer
On Sat, Jan 09, 2021 at 12:58:05AM +0100, Thomas Bogendoerfer wrote: > On Fri, Jan 08, 2021 at 08:20:43PM +, Paul Cercueil wrote: > > Hi Thomas, > > > > 5.11 does not boot anymore on Ingenic SoCs, I bisected it to this commit. > > > > Any idea what could b

Re: [patch V3 13/37] mips/mm/highmem: Switch to generic kmap atomic

2021-01-08 Thread Thomas Bogendoerfer
On Fri, Jan 08, 2021 at 08:20:43PM +, Paul Cercueil wrote: > Hi Thomas, > > 5.11 does not boot anymore on Ingenic SoCs, I bisected it to this commit. > > Any idea what could be happening? not yet, kernel crash log of a Malta QEMU is below. Thomas. Kernel bug detected[#1]

Re: No files in snapshot

2019-09-05 Thread Thomas Schneider
7;m not really sure. In this case, his snapshots are all of the root. I don't know how Ceph works, but since we already confirmed that there are no subvolumes under /var, the only other explanation is that /var/lib/ceph/osd/ceph- is a submount What is the the result of running: mount | grep

Re: No files in snapshot

2019-09-04 Thread Thomas Schneider
2019 at 3:33 AM Thomas Schneider <74cmo...@gmail.com> wrote: However, I run into an issue and need to restore various files. I thought that I could simply take the files from a snapshot created before. However, the files required don't exist in any snapshot! Therefore I have c

Re: No files in snapshot

2019-08-28 Thread Thomas Schneider
/ceph/osd/ceph-219/ insgesamt 0 To create a snapshot I run this command: snapper create --type single --description "validate /var/lib/ceph/osd/ceph-" Am 28.08.2019 um 00:24 schrieb Chris Murphy: On Tue, Aug 27, 2019 at 3:33 AM Thomas Schneider <74cmo...@gmail.com> wrote: How

No files in snapshot

2019-08-27 Thread Thomas Schneider
Hi, I'm running Debian 10 with btrfs-progs=5.2.1. Creating snapshots with snapper=0.8.2 works w/o errors. root@ld5507:~# uname -r 5.0.18-1-pve root@ld5508:~# btrfs fi show Label: none  uuid: 70997a0b-a36f-46cf-9ddc-b88d47eabc9e     Total devices 1 FS bytes used 11.17GiB     devid    1 siz

Re: [patch V2 09/29] mm/kasan: Simplify stacktrace handling

2019-04-18 Thread Thomas Gleixner
On Thu, 18 Apr 2019, Andrey Ryabinin wrote: > On 4/18/19 11:41 AM, Thomas Gleixner wrote: > > Replace the indirection through struct stack_trace by using the storage > > array based interfaces. > > > > Signed-off-by: Thomas Gleixner > > Acked-by: Dmitry Vyukov

HELP unmountable partition after btrfs balance to RAID0

2018-12-06 Thread Thomas Mohr
30523392ERROR: failed to repair root items: Operation not permitted Any ideas what is going on or how to recover the file system ? I would greatly appreciate your help !!! best, Thomas uname -a: Linux server2 4.19.5-1-default #1 SMP PREEMPT Tue Nov 27 19:56:09 UTC 2018 (6210279) x86_64

Re: [PATCH v2 1/3] vsprintf: Remove accidental VLA usage

2018-03-08 Thread Thomas Gleixner
On Thu, 8 Mar 2018, Rasmus Villemoes wrote: > On 2018-03-08 04:30, Kees Cook wrote: > > /** > > + * SIMPLE_MAX - return maximum of two values without any type checking > > + * @x: first value > > + * @y: second value > > + * > > + * This should only be used in stack array sizes, since the type-che

[PATCH] btrfs: Fix bool initialization/comparison

2017-10-07 Thread Thomas Meyer
Bool initializations should use true and false. Bool tests don't need comparisons. Signed-off-by: Thomas Meyer --- diff -u -p a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -6958,7 +6958,7 @@ static int __btrfs_free_extent(s

Re: Crashed filesystem, nothing helps

2017-08-06 Thread Thomas Wurfbaum
... Regards, Thomas -- Thomas Wurfbaum Starkertshofen 15 85084 Reichertshofen Tel.: +49-160-3696336 Mail: tho...@wurfbaum.net Google+:http://google.com/+ThomasWurfbaum Facebook: https://www.facebook.com/profile.php?id=16061335414 Xing: https://www.xing.com/profile/Thomas_Wurfbaum signature.asc

Re: Crashed filesystem, nothing helps

2017-08-02 Thread Thomas Wurfbaum
29786112 wanted 1489835 found 1489871 parent transid verify failed on 29786112 wanted 1489835 found 1489871 parent transid verify failed on 29786112 wanted 1489835 found 1489871 Ignoring transid failure leaf parent key incorrect 29786112 Error searching -1 Regards, Thomas -- Thomas Wurfbaum

Re: Crashed filesystem, nothing helps

2017-08-02 Thread Thomas Wurfbaum
Am Mittwoch, 2. August 2017, 11:31:41 CEST schrieb Roman Mamedov: > Did it just abruptly exit there? Or you terminated it? It apruptly stopped there Regards, Thomas -- Thomas Wurfbaum Starkertshofen 15 85084 Reichertshofen Tel.: +49-160-3696336 Mail: tho...@wurfbaum.net Google+:h

Re: Crashed filesystem, nothing helps

2017-08-02 Thread Thomas Wurfbaum
1486833 parent transid verify failed on 29376512 wanted 1327723 found 1486833 parent transid verify failed on 29376512 wanted 1327723 found 1486833 Ignoring transid failure -- Thomas Wurfbaum Starkertshofen 15 85084 Reichertshofen Tel.: +49-160-3696336 Mail: tho...@wurfbaum.net Google

[no subject]

2017-08-02 Thread Thomas Wurfbaum
subscribe linux-btrfs -- 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: Crashed filesystem, nothing helps

2017-08-02 Thread Thomas Wurfbaum
Please find attached my dmesg.log Regards, Thomas[0.00] Linux version 4.11.8-2-default (geeko@buildhost) (gcc version 7.1.1 20170629 [gcc-7-branch revision 249772] (SUSE Linux) ) #1 SMP PREEMPT Thu Jun 29 14:37:33 UTC 2017 (42bd7a0) [0.00] Command line: BOOT_IMAGE=/vmlinuz-4.11.8

Crashed filesystem, nothing helps

2017-08-02 Thread Thomas Wurfbaum
runs, even after 15 hours. Is there anything else i could do? Regards, Thomas -- 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

mount gets stuck - BUG: soft lockup

2017-06-07 Thread Thomas Mischke
. Any hints, Thanks in advance, Thomas -- 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

APPLY FOR YOUR URGENT LOAN AT 2%

2017-05-12 Thread Thomas Credit Firm
form through the Contact now E-mail: thomascreditf...@gmail.com Thomas B. Dawson THOMAS CREDIT FIRM --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the

Btrfs crash following unhandled kernel paging request

2017-02-05 Thread François-Xavier Thomas
nd recreate a new one then copy all data? Do not hesitate if you want more information, I can definitely provide this. Cheers, François-Xavier Thomas [ cut here ] WARNING: CPU: 3 PID: 6290 at fs/btrfs/transaction.c:320 record_root_in_trans+0x10c/0x120 [btrfs] Modules linked

Btrfs root partition forced readonly during boot

2016-10-30 Thread Thomas Bauffe
perhaps 'btrfs rescue'? Thank you in advance for your help and have a pleasant day! Thomas -- 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: bio linked list corruption.

2016-10-20 Thread Thomas Gleixner
On Thu, 20 Oct 2016, Ingo Molnar wrote: > * Linus Torvalds wrote: > > So I don't think it's related. Yours looks like some subtle timer base > > race. It smells like a locking problem with timers. I'm not seeing > > what it might be, but it *might* have been fixed by doing the > > TIMER_MIGRATING

Issue: errno:28 (No space left on device)

2016-08-09 Thread Thomas
tending the partition? THX ------- thomas@pc8-nb:~$ uname -a Linux pc8-nb 4.6.1-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.6-1 (2016-06-04) x86_64 GNU/Linux thomas@pc8-nb:~$ sudo btrfs --version btrfs-progs v4.5.2 thomas@pc8-nb:~$ sudo btrfs fi

Issue: errno:28 (No space left on device)

2016-08-09 Thread Thomas
tending the partition? THX ------- thomas@pc8-nb:~$ uname -a Linux pc8-nb 4.6.1-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.6-1 (2016-06-04) x86_64 GNU/Linux thomas@pc8-nb:~$ sudo btrfs --version btrfs-progs v4.5.2 thomas@pc8-nb:~$ sudo btrfs f

Issue: errno:28 (No space left on device)

2016-08-09 Thread Thomas
extending the partition? THX ------- thomas@pc8-nb:~$ uname -a Linux pc8-nb 4.6.1-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.6-1 (2016-06-04) x86_64 GNU/Linux thomas@pc8-nb:~$ sudo btrfs --version btrfs-progs v4.5.2 thomas@pc8-nb:~$ sudo btrfs fi us

Unable to rescue super-recover and/or restore

2016-03-22 Thread Thomas Kuther
ailed on 42795008 found 8FF848E2 wanted bytenr mismatch, want=42795008, have=18446744073709551615 Couldn't read tree root Could not open root, trying backup super Superblock bytenr is larger than device size Could not open root, trying backup super Do you have any advice on how to proceed

Good Day

2015-12-27 Thread Thomas
Hello Friend I must Say That I have Enormous Respect for you considering the Manner in Which I have Made contact with you. My name is Mr.Steven Thomas, The financial controller at the Royal Bank of Scotland (Main Branch) in New Delhi, INDIA, and I am getting in touch with you regarding a

Re: [PATCH] btrfs: bugfix: handle FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl

2015-10-29 Thread Thomas Rohwer
change to the user space tools are necessary. Sincerely, Thomas Rohwer -- 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: [PATCH] btrfs: bugfix: handle FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl

2015-10-29 Thread Thomas Rohwer
works for me (I used it on my system in some cases), but is not extensively tested. Sincerely, Thomas Rohwer Hello, I am using as kernel Linux 4.1.3 (64bit) and btrfs-prog version 4.0 (32 bit user space). I wanted to use send/receive with btrfs for the first time today and I got the

btrfs send ioctl does not support 32 bit user space with 64 bit kernel in Linux 4.1.3 ; patch included

2015-07-22 Thread Thomas Rohwer
urce code. I also have not tested the 32bit/32bit 64bit/64bit userspace/kernel combinations. If there is interest, I can resubmit an improved patch. Please CC me in replies, since I have not subscribed to the list. Sincerely, Thomas Rohwer Signed-off-by: Thomas Rohw

btrfs subvolume diff

2015-04-22 Thread Thomas Koch
lse? [1] https://www.kernel.org/doc/ols/2014/ols2014-pimpale.pdf Regards, Thomas Koch -- 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

Replicate snapshot to second machine fails

2015-02-08 Thread Thomas Schneider
Hi,   I want to replicate a snapshot from PC1 to virtual machine using this command: user@pc1-gigabyte ~ $ sudo btrfs send "/home/.snapshots/lmde_home_2015-02-07_02:38:21" | ssh vm1-debian sudo btrfs receive /home/.snapshots/ At subvol /home/.snapshots/lmde_home_2015-02-07_02:38:21 sudo: Kein

Re: [offlist]Re: read block failed check_tree_block / Couldn't read chunk tree

2014-11-01 Thread Rene Thomas
Hi Gui, no worries. I'am happy with the btrfs fi sh (with or without patch) I'll try your paches. At the moment I have started to recover the data from an other device where some parts of the data was stored before. Since there was no progress during mkfs I don't now what was affected on the disc

Re: read block failed check_tree_block / Couldn't read chunk tree

2014-10-30 Thread Rene Thomas
[All bad supers]: All supers are valid, no need to recover Did I miss anything? Thanks René 2014-10-30 4:54 GMT+01:00 Anand Jain : > > > > yes that's the one. > >> btrfs-progs: fix device missing of btrfs fi show with seed devices > > Thanks > > > >

Re: read block failed check_tree_block / Couldn't read chunk tree

2014-10-29 Thread Rene Thomas
- > > Could you try to back out the patch from progs and give it a shot ? > and pls report what you see. Thanks. > > > > > > On 10/25/14 00:43, Rene Thomas wrote: >> >> # btrfs --version >> Btrfs v3.17 >> >> # btrfs fi show >> Label:

read block failed check_tree_block / Couldn't read chunk tree

2014-10-24 Thread Rene Thomas
Dear Developers / Maintainer, I’ve set up a running RAID5 with three devices (sda1 / sdb1 /sdc1) Mountpoint was /home, filesystem was mounted A chain of unfortunal circumstances gives me the chance to run as root in a terminal. mkfs.ntfs /dev/sdb1 where /dev/sdb1 is device 1 in the Array. After

[PATCH 2/2] Improve static building and installation

2014-08-30 Thread Thomas Petazzoni
h are available in the pthread library. - Adds the necessary rules to generate the btrfsck.static link and btrfstune.static binary. - Adds an 'install-static' target to install the static binaries. Note that they are renamed to not carry a '.static' suffix. S

[PATCH 1/2] Add support for DISABLE_DOCUMENTATION

2014-08-30 Thread Thomas Petazzoni
y: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- Makefile | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e721e99..926885f 100644 --- a/Makefile +++ b/Makefile @@ -57,10 +57,15 @@ btrfs_image_libs = -lpthread btrfs_fragments_libs = -lgd -l

[PATCH 0/2] Build system fixes/improvements

2014-08-30 Thread Thomas Petazzoni
Hello, Here are two patches that we have in the Buildroot embedded Linux build system against btrfs-progs. The first patch allows to disable the build and installation of the docmentation, the second patch improves static building and installation. Thanks, Thomas Gustavo Zacarias (1): Add

Dead btrfs partition after hibernate

2014-05-30 Thread Thomas Loo
tputs that might give you a better picture. Thanks, Thomas # btrfs fi show Label: 'home' uuid: 911ddc1a-fa8e-445e-960d-2159b2765536 Total devices 1 FS bytes used 72.24GiB devid1 size 89.02GiB used 89.02GiB path /dev/mapper/home Btrfs v3.14.2-dirty # mount -

Re: Issues with

2014-01-14 Thread Thomas Kuther
Duncan <1i5t5.duncan cox.net> writes: [...] > Normally you'd do a data balance to consolidate data in the data chunks > and return the now freed chunks to the unallocated space pool, but you're > going to have problems doing that ATM, for two reasons. The likely > easiest to work around is th

Re: Issues with "no space left on device" maybe related to 3.13

2014-01-13 Thread Thomas Kuther
Am 13.01.2014 08:25, schrieb Duncan: > [This mail was also posted to gmane.comp.file-systems.btrfs.] > > Thomas Kuther posted on Mon, 13 Jan 2014 00:05:25 +0100 as excerpted: >> > > [ Rearranged to standard quote/reply order so replies are in context. > Top-posting

Re: Issues with "no space left on device" maybe related to 3.13 and/or kvm disk image fragmentation

2014-01-12 Thread Thomas Kuther
en grown quite a while ago using "btrfs filesystem resize max", but "btrfs fi df" still shows the old data size. How could that happen? This is becomming a "collection of maybe unrelated BTRFS funny tales" thread... still I'd be happy on suggestions regarding

Issues with "no space left on device" maybe related to 3.13 and/or kvm disk image fragmentation

2014-01-12 Thread Thomas Kuther
Hello, I'm experiencing an interesting issue with the BTRFS filesystem on my SSD drive. It first occured some time after the upgrade to kernel 3.13-rc (-rc3 was my first 3.13-rc) but I'm not sure if it is related. The obvious symptoms are that services on my system started crashing with "no space

[BUG] btrfs-progs: btrfs send does not work inside mounted non root subvolume

2013-11-29 Thread Thomas Scheiblauer
When operating from inside a mounted btrfs subvolume which is not the root subvolume "btrfs send" exits with the error: ERROR: open failed. No such file or directory Steps to reproduce: 1. mkfs.btrfs /dev/sda1 2. mount /dev/sda1 /mnt 3. btrfs subvolume create /mnt/foo 4. umoun

corrupt btrfs

2013-11-24 Thread Thomas Pasch
50412 level 0 [...] What I'm missing here is some line starting with 'Generation: ...'. Well, it is not there... Certainly, the 'btrfs restore -t n /dev/sda7 /mnt/restore' trick does not find anything useful. Is there anything left I could try before giving up on this?

Dearest One

2013-11-08 Thread Ms Zilda Thomas
Dearest, Kind regards, I am Miss ZILDA THOMAS ,tall,slim,fair,and a very good looking girl that loves travelling and dancing, a student,that loves to be loved,kindly permit my contacting you through this medium I am compelled to contact you via this medium for obvious reasons which you will

BTRFS Multidevice Filesystem: Save to delete one device?

2013-10-13 Thread Thomas Schneider
Hello! I have the following disk setup: 1x 3TB WD 2x 2TB WD On each disk I have created a single partition, and this partition is formatted in BTRFS. Then, I have setup a multidevice filesystem: root@pc5:/media# btrfs filesystem show Label: 'WD30EZRX-00M'  uuid: 7008c941-a5e1-44b6-9965-de726d22cc2

check for reflink capability and for shared data

2013-08-24 Thread Thomas Koch
Hi, how can I do the following in a shell script: - check whether my file system supports cp --reflink? - check whether two files share the same data on disk, i.e. one has been created by cp --reflink of the other? Thank you! Thomas Koch -- To unsubscribe from this list: send the line

technical explanation of btrfs internals?

2013-07-24 Thread Thomas Koch
takes this approach to explain btrfs? Thank you, Thomas Koch, http://www.koch.ro -- 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: Qemu disk images on BTRFS suffer checksum errors

2013-07-08 Thread Thomas Kuther
Am 08.07.2013 15:20, schrieb Josef Bacik: > On Mon, Jul 08, 2013 at 10:08:46AM +0200, Thomas Kuther wrote: >> Hello, >> >> I'm about to migrate from VirtualBox to Qemu+VGA-Passthrough. All my virtual >> disk images are stored in a BTRFS subvolume on-top of a MDRAID

Qemu disk images on BTRFS suffer checksum errors

2013-07-08 Thread Thomas Kuther
setup (md raid1 layer below btrfs), or (still) a bug in Qemu? Would cache=writethrough or writeback be an option with BTRFS? Thanks in advance for any input. Best regards, Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a me

Re: Stale NFS file handle after power loss

2013-06-13 Thread Thomas Koch
Thomas Koch: > On Monday, June 10, 2013 09:00:47 AM Josef Bacik wrote: > > On Sat, Jun 08, 2013 at 01:14:35PM -0600, Thomas Koch wrote: > > > Hi, > > > > > > I had a power loss on my btrfs file system during package installation > > > and now I fou

Re: Stale NFS file handle after power loss

2013-06-10 Thread Thomas Koch
On Monday, June 10, 2013 09:00:47 AM Josef Bacik wrote: > On Sat, Jun 08, 2013 at 01:14:35PM -0600, Thomas Koch wrote: > > Hi, > > > > I had a power loss on my btrfs file system during package installation and > > now I found this: > > > > > > % ls

Stale NFS file handle after power loss

2013-06-08 Thread Thomas Koch
. Unfortunately I wasn't clever enough to save the output of btrfsck somehow. Do you need it? Could you help me to get rid of these bogus files, please? Regards, Thomas Koch, http://www.koch.ro -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a me

[PATCH] Btrfs: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/fs/btrfs/send.c b/fs/btrfs/send.c --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -3429,10 +3429,9 @@ static int __find_xattr(int num, struct strncmp(name, ctx->name, name_len) == 0) { ctx->found_idx

[PATCH] Btrfs: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -3296,10 +3296,7 @@ int btrfs_resume_balance_async(struct bt } tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance");

[PATCH] Btrfs: Use PTR_RET rather than if(IS_ERR(.. [1]

2012-08-06 Thread Thomas Meyer
The semantic patch that makes this change is available in scripts/coccinelle/api/ptr_ret.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer --- diff -u -p a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c --- a/fs/btrfs/volumes.c

Re: Interpreting Output of "btrfs fi show"

2012-04-26 Thread Thomas Rohwer
this may be related to the "no space" problem. I just installed kernel 3.3.3, and the problem with "no space" seems to be gone. Thanks for your quick help. Sincerely, Thomas Rohwer -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs"

Re: Interpreting Output of "btrfs fi show"

2012-04-26 Thread Thomas Rohwer
hould avoid mounting /dev/sda in this situation. Sincerely, Thomas Rohwer -- 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

Interpreting Output of "btrfs fi show"

2012-04-25 Thread Thomas Rohwer
oc/version Linux version 3.3.0 (tr@humbur) (gcc version 4.6.3 (GCC) ) #3 SMP Thu Apr 5 00:14:18 CEST 2012 Some help would be appreciated. Sincerely, Thomas Rohwer -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@

Re: bug?

2012-04-24 Thread Thomas Weber
Hello Josef, On 04/24/2012 05:26 PM, Josef Bacik wrote: > On Sat, Apr 21, 2012 at 02:53:55PM +0200, Thomas Weber wrote: >> Hello, >> >> today my laptop crashed with the following output. Installed is >> Archlinux with btrfs on a SSD. >> Is it btrfs related? > S

bug?

2012-04-21 Thread Thomas Weber
Hello, today my laptop crashed with the following output. Installed is Archlinux with btrfs on a SSD. Is it btrfs related? Thanks, Thomas Apr 21 13:01:01 localhost anacron[3307]: Anacron started on 2012-04-21 Apr 21 13:01:01 localhost anacron[3307]: Will run job `cron.daily' in 48 min. A

Re: btrfs bug

2012-01-31 Thread Thomas Weber
Hello Mitch, I have good news for you. I looked through all log files and found in the everything.log the following: Regards, Thomas Jan 31 05:12:24 localhost kernel: [87276.968049] btrfs memmove bogus src_offset 1870 move len 687876531 len 4096 Jan 31 05:12:24 localhost kernel

Re: btrfs bug

2012-01-31 Thread Thomas Weber
Hello Mitch, On 01/31/2012 10:37 PM, Mitch Harder wrote: On Tue, Jan 31, 2012 at 12:04 PM, Thomas Weber wrote: Hello, this morning my laptop with btrfs crashed. It is an ssd drive. It is a Linux aramis 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:40:20 CET 2012 x86_64 Intel(R) Core(TM)2 Duo

btrfs bug

2012-01-31 Thread Thomas Weber
Hello, this morning my laptop with btrfs crashed. It is an ssd drive. It is a Linux aramis 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:40:20 CET 2012 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz GenuineIntel GNU/Linux Regards, Thomas This two lines are from a photo, that i made

Re: [RFC] improve space utilization on off-sized raid devices

2012-01-24 Thread Thomas Schmidt
On Thursday 01 December 2011 09:55:27 Arne Jansen wrote: > As RAID0 is already not a strict 'all disks or none', I like the idea to > have it even more dynamic to reach full optimization. But I'd like to see > some properties conserved: > a) In case of even size disks, the stripes should always be

Re: [RFC] improve space utilization on off-sized raid devices

2012-01-24 Thread THomas Schmidt
On Thursday 01 December 2011 09:55:27 Arne Jansen wrote: > As RAID0 is already not a strict 'all disks or none', I like the idea to > have it even more dynamic to reach full optimization. But I'd like to see > some properties conserved: > a) In case of even size disks, the stripes should always be

Errors after clean reboot

2012-01-18 Thread Elsa Thomas
I can no longer mount my Btrfs filesystem after a clean reboot. Before the reboot, there were errors in the syslog, but unfortunately I can't recover them now that the root filesystem won't mount. Here is a mount attempt using kernel 3.2.1 with the latest git copy of the btrfs-progs from Josef's r

[PATCH] Btrfs: Use kcalloc instead of kzalloc to allocate array

2011-12-05 Thread Thomas Meyer
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. The semantic patch that makes this change is available in https://lkml.org/lkml/2011/11/25/107 Signed-off-by: Thomas

subvolume

2011-12-02 Thread Thomas Fragstein
Hello, please can you help me. i read that btrfs can create subvolumes. that is a great feature but can i limit the filesystem space that the subvolume can be used? regards, Thomas-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message

RE: btrfs errors

2011-12-02 Thread Mike Thomas
wife has accidently deleted a ton of photos... -Original Message- From: Fajar A. Nugraha [mailto:l...@fajar.net] Sent: Friday, December 02, 2011 7:39 AM To: Mike Thomas Cc: linux-btrfs@vger.kernel.org Subject: Re: btrfs errors On Fri, Dec 2, 2011 at 7:34 PM, Mike Thomas wrote: > Hi, I&#x

btrfs errors

2011-12-02 Thread Mike Thomas
Hi, I've been using btrfs for a while now, I've been utilizing snapshotting nightly/weekly/monthly.  During the weekly I also do a backup of the filesystem to an ext4 filesystem.  My storage is a linux md raid 5 volume.  I've recently noticed these errors in the logs during the backup of the files

Re: [RFC] improve space utilization on off-sized raid devices

2011-11-17 Thread Thomas Schmidt
Original-Nachricht > Datum: Thu, 17 Nov 2011 13:59:26 +0100 > Von: Arne Jansen > An: Thomas Schmidt > CC: linux-btrfs@vger.kernel.org > Betreff: Re: [RFC] improve space utilization on off-sized raid devices > Right you are. So you want to sacrifice str

Re: [RFC] improve space utilization on off-sized raid devices

2011-11-17 Thread Thomas Schmidt
Original-Nachricht > Datum: Thu, 17 Nov 2011 08:42:48 +0100 > Von: Arne Jansen > An: Thomas Schmidt > CC: linux-btrfs@vger.kernel.org > Betreff: Re: [RFC] improve space utilization on off-sized raid devices > On 17.11.2011 01:27, Thomas Schmidt wrote:

[RFC] improve space utilization on off-sized raid devices

2011-11-16 Thread Thomas Schmidt
I wrote a small patch to improve allocation on differently sized raid devices. With 2.6.38 I frequently ran into a no space left error that I attribute to this. But I'm not entierly sure. The fs was an 8 device -d raid0 -m raid10. The used space was the same across all devices. 5 were full and 3 b

Btrfs Partition out of free space - no mount possible

2011-03-31 Thread Thomas Schneider
Hello! My Btrfs partition (/home) is out of free space. The partition is a logical drive within a LVM configuration. I've already extended the LVM logical volume. However, it's impossible to mount the partition from a live CD system (SystemRescue CD). The error in dmesg is: BTRFS: inode 8443 st

Re: New btrfsck status

2011-03-29 Thread Thomas Backlund
kernel.org/?p=linux/kernel/git/mason/btrfs-progs-unstable.git;a=shortlog;h=refs/heads/next I see last commit is 3+ months ago -- Thomas -- 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: btrfs wishlist

2011-03-02 Thread Thomas Bellman
On 2011-03-01 19:39, Chris Mason wrote: > We'll have raid56, but it won't be variable stripe size. There will be > one stripe size for data and one for metadata but that's it. Will the stripe *width* be configurable? If I have something like a Sun Thor with 48 drives, I would probably not be en

Re: [PATCH] Btrfs-progs use safe string manipulation functions

2011-02-10 Thread Thomas Bellman
On 2011-02-10 13:27, Olaf van der Spek wrote: > On Thu, Feb 10, 2011 at 12:54 PM, Lars Wirzenius wrote: >> snprintf is standard, and should be about as safe as it gets with the >> glibc functions. > > But snprintf is not like strlcpy. It is indeed uglier to write 'snprintf(dst, size, "%s", src

Re: [PATCH] Btrfs-progs use safe string manipulation functions

2011-02-10 Thread Thomas Bellman
On 2011-02-07 13:22, Eduardo Silva wrote: > Please find the attached patch which replace unsafe strcpy(3) by > strncpy(3) functions. strncpy() doesn't NUL-terminate the destination buffer if the maximum length is reached. And as far as I can see, there is no other initialization of those buffers

Re: Atomic file data replace API

2011-01-09 Thread Thomas Bellman
Olaf van der Spek wrote: On Sat, Jan 8, 2011 at 10:43 PM, Thomas Bellman wrote: So, basically database transactions with an isolation level of "committed read", for file operations. That's something I have wanted for a long time, especially if I also get a rollback() oper

Re: Atomic file data replace API

2011-01-08 Thread Thomas Bellman
Olaf van der Spek wrote: On Fri, Jan 7, 2011 at 8:29 PM, Thomas Bellman wrote: What is the visibility of the changes for other processes supposed to be in the meantime? I.e., if things happen in this order: Should be atomic too, at close time. 1. Process A does fda = open("fo

Re: Atomic file data replace API

2011-01-07 Thread Thomas Bellman
Olaf van der Spek wrote: On Fri, Jan 7, 2011 at 5:32 PM, Massimo Maggi wrote: Are you suggesting to do: 1)fopen with O_TRUNC, O_ATOMIC: returns fd to a temporary file 2)application writes to that fd, with one or more system calls, in a short time or in long time, at his will. 3)at fclose (or e

Re: volume broken? btrfsck fails

2010-08-14 Thread Thomas Kuther
On Mi, 04.08.10 21:30 Chris Mason wrote: > On Wed, Aug 04, 2010 at 08:48:40PM +0200, Thomas Kuther wrote: > > On Di, 06.07.10 20:16 Chris Mason wrote: > > > > > On Sat, Jun 26, 2010 at 03:15:04PM -0700, Yee-Ting Li wrote: > > > > Hi, > > > >

Re: volume broken? btrfsck fails

2010-08-04 Thread Thomas Kuther
rify failed on 2419214266368 wanted 127839 found 127837 parent transid verify failed on 2419214266368 wanted 127839 found 127837 Segmentation fault Mount endlessly loops, like explained in this thread. If there is a way, I would really like some aid copying the data off. The backup is quite out of da

Re: Rename+crash behaviour of btrfs - nearly ext3!

2010-05-18 Thread Thomas Bellman
I knew it was safely on disk at my end. But I am a fairly careful programmer. Note that in my previous life I was a userspace programmer, and in my current life I'm a sysadmin. I'm speaking as an interrested user of Btrfs, not as a kernel programmer. /Thomas Bellman -- To

Re: [PATCH 0/2 V2] btrfs: a new tool to manage a btrfs filesystem

2010-02-18 Thread Thomas Kupper
I'm happy that I'm not alone with my preference for subcommands :) over short - commands. Btw: I think it would be a good idea start from the beginning with a 'libbtrfs' library and a corresponding API. That way integrating into other languages like Python and integration into tools like parted

[PATCH 0/2] btrfs: a new tool to manage a btrfs filesystem

2010-02-14 Thread Thomas Kupper
benefit of a git-like syntax is the extensibility : whatever functionality gets added to btrfs it will never interfer/confuse with the existing ones. The downside (w/o alias) is rather long command lines (which I don't mind because I find it harder to remember all the shortcuts). Thanks

Re: how to check data and metadata type

2010-02-03 Thread Thomas Kupper
On 1 Feb 2010, at 15:19, Josef Bacik wrote: > On Sun, Jan 31, 2010 at 10:17:24AM +0100, Thomas Kupper wrote: >> >> On 31 Jan 2010, at 09:46, Thomas Kupper wrote: >> >>> On 30 Jan 2010, at 19:20, Josef Bacik wrote: >>> >>>> On Sat, Ja

Re: how to check data and metadata type

2010-01-31 Thread Thomas Kupper
On 31 Jan 2010, at 09:46, Thomas Kupper wrote: > On 30 Jan 2010, at 19:20, Josef Bacik wrote: > >> On Sat, Jan 30, 2010 at 05:57:49PM +0100, Thomas Kupper wrote: >>> >>> On 30 Jan 2010, at 16:18, Josef Bacik wrote: >>> >>>> On Fri, Ja

Re: how to check data and metadata type

2010-01-31 Thread Thomas Kupper
On 30 Jan 2010, at 19:20, Josef Bacik wrote: > On Sat, Jan 30, 2010 at 05:57:49PM +0100, Thomas Kupper wrote: >> >> On 30 Jan 2010, at 16:18, Josef Bacik wrote: >> >>> On Fri, Jan 29, 2010 at 11:43:45PM +0100, Thomas Kupper wrote: >>>> Just a short que

Re: how to check data and metadata type

2010-01-30 Thread Thomas Kupper
On 31 Jan 2010, at 18:39, Piavlo wrote: > Thomas Kupper wrote: >> On 30 Jan 2010, at 16:18, Josef Bacik wrote: >> >>> On Fri, Jan 29, 2010 at 11:43:45PM +0100, Thomas Kupper wrote: >>>> Just a short question: >>>> >>>> How can

Re: how to check data and metadata type

2010-01-30 Thread Thomas Kupper
On 30 Jan 2010, at 19:20, Josef Bacik wrote: > On Sat, Jan 30, 2010 at 05:57:49PM +0100, Thomas Kupper wrote: >> >> On 30 Jan 2010, at 16:18, Josef Bacik wrote: >> >>> On Fri, Jan 29, 2010 at 11:43:45PM +0100, Thomas Kupper wrote: >>>> Just a short que

Re: how to check data and metadata type

2010-01-30 Thread Thomas Kupper
On 30 Jan 2010, at 16:18, Josef Bacik wrote: > On Fri, Jan 29, 2010 at 11:43:45PM +0100, Thomas Kupper wrote: >> Just a short question: >> >> How can I check the data and metadata modes of a multi-device btrfs device? >> btrfs-show is of no help and df is still not

  1   2   >