All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Tripathy <jonnyt-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
To: Kent Overstreet <koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Block Size for Windows
Date: Mon, 27 Aug 2012 20:19:11 +0100	[thread overview]
Message-ID: <503BC82F.1030107@abpni.co.uk> (raw)
In-Reply-To: <CAH+dOxJ1GPQgmgDv4T3On-QovazSshU89GdVp=EHFmpaAzAGnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 27/08/2012 20:17, Kent Overstreet wrote:
> On Mon, Aug 27, 2012 at 12:14 PM, Jonathan Tripathy <jonnyt-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org> wrote:
>> Hi Everyone,
>>
>> I'm running bcache on my md raid device for use with my xen machine (via
>> LVM). It works very well for Linux DomUs. However, I'm having some trouble
>> installing Windows. When I enter the WIndows 2008 setup, it refuses to
>> install to the LV volume. Reading the mailing lists, I feel this may have
>> something to do with the block size that bcache is using.
>>
>> Assuming that my cache is md0, and my spindles are md1, it is my
>> understanding that to change the block size I would have to do:
>>
>> make-bcache --block 512 --cache /dev/md0
>> and
>> make-bcache --block 512 --bdev /dev/md1
>>
>> However, this doesn't appear to work is both of the above devices are
>> already set for bcache (The block size seems to still be '1' according to
>> the output that make-bcache gives).
> That's the output you want - it's displaying in units of 512 byte sectors
Hi Kent,

Thanks for the reply. However, my device appears to still have a block 
size of 4.0k:

# cat /sys/fs/bcache/c215aa0a-c722-48e4-afcb-0ab8946d303c/block_size
4.0k

Maybe I have to deregister the devices first?

Thanks

  parent reply	other threads:[~2012-08-27 19:19 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-27 19:14 Block Size for Windows Jonathan Tripathy
     [not found] ` <503BC71A.6050207-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 19:17   ` Kent Overstreet
     [not found]     ` <CAH+dOxJ1GPQgmgDv4T3On-QovazSshU89GdVp=EHFmpaAzAGnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-27 19:19       ` Jonathan Tripathy [this message]
     [not found]         ` <503BC82F.1030107-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 19:19           ` Kent Overstreet
     [not found]             ` <CAH+dOxJZEH9=ZEsB4RsS-8MdH-AGRh3jvo31bMUwXsMdirLMMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-27 19:20               ` Jonathan Tripathy
     [not found]                 ` <503BC897.3020606-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 19:22                   ` Kent Overstreet
     [not found]                     ` <CAH+dOxKx=kaW4duTyhRYrFH-5mYDUT6CGgY7WX9vqsMD_CpJaQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-27 19:43                       ` Jonathan Tripathy
     [not found]                         ` <503BCDC6.9010807-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 19:55                           ` Kent Overstreet
     [not found]                             ` <CAH+dOxLaYdqOi+n=NF2MSoEVsSz-C6QazbQrdwGCO02aDZXxDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-28 22:43                               ` Jonathan Tripathy
     [not found]                                 ` <503D49A3.4090100-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-28 22:56                                   ` Jonathan Tripathy
2012-08-27 20:00                           ` Jonathan Tripathy
     [not found]                             ` <503BD1E8.7060402-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 20:07                               ` Jonathan Tripathy
     [not found]                                 ` <503BD37C.9010403-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 20:15                                   ` Jonathan Tripathy
     [not found]                                     ` <503BD55D.2060408-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 20:18                                       ` Joseph Glanville
     [not found]                                         ` <CAOzFzEi6AzHFJVUGGc+J2p7QYe2f2i_XKrpad8wHDXo2xO=buA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-27 20:20                                           ` Jonathan Tripathy
2012-08-27 22:02                                           ` Jonathan Tripathy
     [not found]                                             ` <503BEE7F.4020202-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-27 22:06                                               ` Joseph Glanville
     [not found]                                                 ` <CAOzFzEg7v6U6sTYjTsGDzPE_yGRp-WULzngAn-1TCygp2jo76w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-29  5:56                                                   ` Kent Overstreet
     [not found]                                                     ` <CAH+dOxLnh34vQ+56JUfKtA2PyA1cyeDZvfBdWvSUhZC_pV2YMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-29  7:03                                                       ` Kent Overstreet
     [not found]                                                         ` <CAH+dOxJYNE=UiKX-GaCUmhWOgoHqkGrBnF=sOc7mXDUoFKu36Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-29 12:12                                                           ` Jonathan Tripathy
     [not found]                                                             ` <a3453cb279f786534858d1d410d880f5-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-29 17:22                                                               ` Jonathan Tripathy
     [not found]                                                                 ` <503E4FD6.20106-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-29 17:34                                                                   ` Kent Overstreet
     [not found]                                                                     ` <20120829173459.GB3893-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-08-29 17:42                                                                       ` Jonathan Tripathy
     [not found]                                                                         ` <503E5493.5090903-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-29 18:06                                                                           ` Kent Overstreet
     [not found]                                                                             ` <20120829180602.GA14247-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-08-29 18:07                                                                               ` Jonathan Tripathy
2012-08-30  2:00                                                                   ` Brad Campbell
     [not found]                                                                     ` <503EC946.3050500-+nnirC7rrGZibQn6LdNjmg@public.gmane.org>
2012-08-30  2:10                                                                       ` Jonathan Tripathy
2012-08-28  0:59                                               ` James Harper
     [not found]                                                 ` <6035A0D088A63A46850C3988ED045A4B29A75808-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
2012-08-28  9:12                                                   ` Jonathan Tripathy
2012-08-28 20:03                                                   ` Jonathan Tripathy
     [not found]                                                     ` <503D2411.70105-Nf8S+5hNwl710XsdtD+oqA@public.gmane.org>
2012-08-28 20:15                                                       ` Jonathan Tripathy
2012-08-28  2:06                                               ` Brad Campbell

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=503BC82F.1030107@abpni.co.uk \
    --to=jonnyt-nf8s+5hnwl710xsdtd+oqa@public.gmane.org \
    --cc=koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.