Mounting multiple regular files as a filesystem

2009-06-14 Thread Ravi Pinjala
I'm trying to create a multi-device filesystem on top of regular files (not actual disks), and mount that to a loopback device. For a filesystem created on a single file, it works fine, but for a filesystem across multiple files, it doesn't. dd if=/dev/zero of=img1 bs=4096 count=65536 dd

Re: btrfs write behavior on idle system

2010-01-18 Thread Ravi Pinjala
-a write /dev/sda3' (sda3 is my /home) ends like this (from 'blkparse -s sda3.blktrace.0'): - snip - Don't forget cache - should be under ~/.cache/google-chrome. That would probably explain the disk activity you're seeing. --Ravi Pinjala -- To unsubscribe from this list: send the line unsubscribe

btrfs crash

2010-11-14 Thread Ravi Pinjala
I got the following crash on one of my Ceph nodes this morning. I don't know how to reproduce it yet; I was just wondering if it was a known issue. This is with the latest kernel for Ubuntu 10.10. Nov 13 19:21:21 alpha kernel: [19432.396679] [ cut here ] Nov 13 19:21:22

Replacing corrupted files/directories

2010-12-02 Thread Ravi Pinjala
Is there a recommended way to replace a corrupted file or directory on btrfs? The use case I'm thinking of is handling filesystem corruption by restoring only the corrupted files from backup. For a corrupted file, it seems like deleting the file and replacing it with the copy from the backup