All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frans Pop <elendil@planet.nl>
To: Mike Snitzer <snitzer@redhat.com>
Cc: linux-kernel@vger.kernel.org, dm-devel@redhat.com,
	martin.petersen@oracle.com
Subject: Re: [2.6.31-rc1] device-mapper: target device sda6 is misaligned
Date: Thu, 25 Jun 2009 19:53:32 +0200	[thread overview]
Message-ID: <200906251953.34253.elendil@planet.nl> (raw)
In-Reply-To: <20090625172041.GA22891@redhat.com>

On Thursday 25 June 2009, Mike Snitzer wrote:
> > I'm afraid those files don't exist on my systems (none of them: arm,
> > s390 and x86_64 notebook). Some kernel config option I'm missing
> > maybe?
>
> You should definitely have the topology attributes in the associated
> device's sysfs tree.

Ah, sorry. I'd switched back to .30 for the arm system because of this.
(And on the s390 box I looked for sda instead of dasdb; duh!)

Here are the values for arm:

$ cat /sys/block/sda/sda6/alignment_offset
0
$ cat /sys/block/sda/queue/physical_block_size
512
$ cat /sys/block/sda/queue/logical_block_size
512

And here's the lot for the s390 emulator:

# grep . /sys/block/dasdb/dasdb*/alignment_offset
/sys/block/dasdb/dasdb1/alignment_offset:0
/sys/block/dasdb/dasdb2/alignment_offset:0
# grep . /sys/block/dasdb/queue/physical_block_size
4096
# grep . /sys/block/dasdb/queue/logical_block_size
4096

# pvs -o +pe_start
  PV          VG     Fmt  Attr PSize   PFree 1st PE
  /dev/dasdb1 mordor lvm2 a-   388.00M    0  192.00K
  /dev/dasdb2 mordor lvm2 a-   388.00M    0  192.00K
# dmsetup ls
mordor-home     (254, 0)
# dmsetup table
mordor-home: 0 794624 linear 94:5 384
mordor-home: 794624 794624 linear 94:6 384

# fdasd -p /dev/dasdb
reading volume label ..: VOL1
reading vtoc ..........: ok

Disk /dev/dasdb:
  cylinders ............: 1113
  tracks per cylinder ..: 15
  blocks per track .....: 12
  bytes per block ......: 4096
  volume label .........: VOL1
  volume serial ........: 0X0121
  max partitions .......: 3

 ------------------------------- tracks -------------------------------
               Device      start      end   length   Id  System
          /dev/dasdb1          2     8346     8345    1  Linux native
          /dev/dasdb2       8347    16694     8348    2  Linux native

  reply	other threads:[~2009-06-25 17:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25  7:04 [2.6.31-rc1] device-mapper: target device sda6 is misaligned Frans Pop
2009-06-25 15:36 ` Martin K. Petersen
2009-06-25 15:36   ` Martin K. Petersen
2009-06-25 15:48   ` Frans Pop
2009-06-25 16:05     ` Martin K. Petersen
2009-06-25 16:05       ` [dm-devel] " Martin K. Petersen
2009-06-25 16:11     ` Mike Snitzer
2009-06-25 16:11       ` Mike Snitzer
2009-06-25 15:41 ` Mike Snitzer
2009-06-25 15:41   ` Mike Snitzer
2009-06-25 16:40   ` Frans Pop
2009-06-25 17:20     ` Mike Snitzer
2009-06-25 17:20       ` Mike Snitzer
2009-06-25 17:53       ` Frans Pop [this message]
2009-06-25 18:23         ` Mike Snitzer
2009-06-25 18:23           ` Mike Snitzer
2009-06-25 18:52           ` Frans Pop
2009-06-25 18:52             ` Frans Pop

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=200906251953.34253.elendil@planet.nl \
    --to=elendil@planet.nl \
    --cc=dm-devel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=snitzer@redhat.com \
    /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.