RE: 4k block LUN problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx [mailto:dm-devel-bounces@xxxxxxxxxx]
On Behalf Of Alasdair G Kergon
Sent: Wednesday, June 13, 2007 2:35 PM
To: device-mapper development
Subject: Re:  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@xxxxxxxxxx

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



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

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux