[dm-devel] 4k block LUN problem

Vassar, Bob Robert.Vassar at am.sony.com
Wed Jun 13 19:47:15 UTC 2007


I didn't partition the dm device. I used fdisk to create the sda[1]
partition on the lun. The dm device is then created on sda[1]. I then
simply mkfs on the dm partition.  

I'll check again following your advice below with lvm and check with
blockdev. We are a bit new at this and information from reliable sources
is hard to come by (many opinions, less factual advice). Thanks for your
insight, I'll give it go.  

Bob


-----Original Message-----
From: dm-devel-bounces at redhat.com [mailto:dm-devel-bounces at redhat.com]
On Behalf Of Alasdair G Kergon
Sent: Wednesday, June 13, 2007 2:35 PM
To: device-mapper development
Subject: Re: [dm-devel] 4k block LUN problem

On Wed, Jun 13, 2007 at 03:17:25PM -0400, Vassar, Bob wrote:
> I have used tur and this allows the system to boot. When I run "ll
> /dev/mpath* I see the dm device created. All appears to be working OK.


So use tur then.  First problem solved.

> Fdisk also reports the same number of devices as paths to the device.


Fdisk?  Don't partition it: use logical volumes instead:
pvcreate/vgcreate/lvcreate.
- You'd need parted (gpt) rather than fdisk to partition large devices
and then kpartx.


Now run 'blockdev --getss' to check whether or not the sector size gets
propagated correctly from the underlying device to the multipath device.

Alasdair
-- 
agk at redhat.com

--
dm-devel mailing list
dm-devel at redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel






More information about the dm-devel mailing list