Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Shridhar Shetty <shridhar@staff.ownmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Btrfs in degraded mode
Date: Tue, 17 Apr 2012 16:14:45 +0000 (UTC)	[thread overview]
Message-ID: <loom.20120417T181336-69@post.gmane.org> (raw)

Hello,

I have created a btrfs filesystem with RAID1 setup having 2 disks. Everything
works fine but when I try to umount the device and remount it in degraded mode,
the data still goes into both the disk. ideally in degraded mode only one disk
show disk activity and not the failed ones. 

System Config: 
Base OS: Slackware 
kernel: linux 3.3.2 

"sar -pd 2 10" shows me that the data is been written/read from both devices. 

Also, Is there any way in which I can remove the failed disk without adding a
new one in a RAID1 (2 disk setup). The reason being we want the option to keep
it running in degraded(single disk) mode for sometime and on a weekend replace
the failed drive with a fresh one :-).  

Thanks
Shridhar 


             reply	other threads:[~2012-04-17 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17 16:14 Shridhar Shetty [this message]
2012-04-18  6:42 ` Btrfs in degraded mode Duncan
2012-04-18 16:45   ` Martin Steigerwald
2012-04-18 16:54     ` David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20120417T181336-69@post.gmane.org \
    --to=shridhar@staff.ownmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox