| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Bug#661580: mkfs.xfs fails to detect correct sector size |
| From: | Goswin von Brederlow <goswin-v-b@xxxxxx> |
| Date: | Thu, 01 Mar 2012 09:56:13 +0100 |
| Cc: | Goswin von Brederlow <goswin-v-b@xxxxxx>, 661580@xxxxxxxxxxxxxxx, Eric Sandeen <sandeen@xxxxxxxxxxx>, Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>, Carlos Maiolino <cmaiolino@xxxxxxxxxx> |
| Delivered-to: | submit@xxxxxxxxxxxxxxx |
| In-reply-to: | <20120301060637.GA28009@xxxxxxxxxxxxx> (Christoph Hellwig's message of "Thu, 1 Mar 2012 01:06:37 -0500") |
| References: | <20120228074914.31280.78231.reportbug@xxxxxxxxxxxxxxxxx> <20120228091151.GA24717@xxxxxxxxxxxxx> <4F4E82E6.3040505@xxxxxxxxxxx> <87399tkmdf.fsf@xxxxxxxxxxxxxxxxx> <20120301060637.GA28009@xxxxxxxxxxxxx> |
| Reply-to: | Goswin von Brederlow <goswin-v-b@xxxxxx>, 661580@xxxxxxxxxxxxxxx |
| Resent-cc: | XFS Development Team <xfs@xxxxxxxxxxx> |
| Resent-date: | Thu, 01 Mar 2012 09:00:01 +0000 |
| Resent-from: | Goswin von Brederlow <goswin-v-b@xxxxxx> |
| Resent-message-id: | <handler.661580.B.133059220710464@xxxxxxxxxxxxxxx> |
| Resent-sender: | Debian BTS <debbugs@xxxxxxxxxxxxxxxxx> |
| Resent-to: | debian-bugs-dist@xxxxxxxxxxxxxxxx |
| User-agent: | Gnus/5.110009 (No Gnus v0.9) XEmacs/21.4.22 (linux, no MULE) |
Christoph Hellwig <hch@xxxxxxxxxxxxx> writes:
> On Thu, Mar 01, 2012 at 04:53:32AM +0100, Goswin von Brederlow wrote:
>> I'm asuming libblkid is used, otherwise a sectorsize of 512 would make
>> no sense.
>>
>> It might be that NBD advertises the geometry wrong, as in ft.sectorsize
>> isn't set correctly. That would make that part at least a kernel bug.
>
> Now that I've looked at nbd: I can't find any way to transfer the
> physical or logical block size information to the nbd client. How
> do you try set it on the server?
I don't. The protocol doesn't (yet) have an option for this. There are a
number of new options planed for the new handshake protocol but the nbd
maintainer hasn't had time to implement them yet.
What I do is set the blocksize = 4096 on the nbd-client commandline
knowing that that is what the server expects.
MfG
Goswin
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Bug#661580: mkfs.xfs fails to detect correct sector size, Christoph Hellwig |
|---|---|
| Next by Date: | Bug#661580: mkfs.xfs fails to detect correct sector size, Goswin von Brederlow |
| Previous by Thread: | Bug#661580: mkfs.xfs fails to detect correct sector size, Christoph Hellwig |
| Next by Thread: | Bug#661580: mkfs.xfs fails to detect correct sector size, Goswin von Brederlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |