Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-cluster
Navigation:
Lists: gentoo-cluster: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-cluster@g.o
From: "Robin H. Johnson" <robbat2@g.o>
Subject: Re: clvm/lvm2/device-mapper
Date: Thu, 5 Nov 2009 00:57:06 +0000
On Wed, Nov 04, 2009 at 11:15:59PM +0100, David Ulrich wrote:
> >I'm trying to get some access to a SAN mounted space elsewhere to
> >test, so I can debug it further, should know later today if I can get
> >access.
Ok, I've reproduced it now. kpartx is picking the wrong starting device and
offset for extended partitions. Looks like it's starting from sda4 but calling
it dm-2.

# sfdisk -qL -d /dev/sda 
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start=      128, size=   524288, Id=83, bootable
/dev/sda2 : start=   524416, size= 10485760, Id=83
/dev/sda3 : start= 11010176, size=1453828654, Id= 5
/dev/sda4 : start=        0, size=        0, Id= 0
/dev/sda5 : start= 11010239, size= 50331713, Id=82
/dev/sda6 : start= 61342015, size=1403496815, Id=8e

# kpartx  -l /dev/sda
sda1 : 0 524288 /dev/sda 128
sda2 : 0 10485760 /dev/sda 524416
sda3 : 0 1453828654 /dev/sda 11010176
sda5 : 0 50331713 /dev/dm-2 63
sda6 : 0 1403496815 /dev/dm-2 50331839

# cat /proc/partitions
major minor  #blocks  name

   8     0  732421120 sda
   8     1     262144 sda1
   8     2    5242880 sda2
   8     3          1 sda3
   8     5   25165856 sda5
   8     6  701748407 sda6
 253     0    5242880 dm-0
 253     1    5242880 dm-1
 253     2   20971520 dm-2
 253     3    5242880 dm-3
 253     4   52428800 dm-4



-- 
Robin Hugh Johnson
Gentoo Linux: Developer, Trustee & Infrastructure Lead
E-Mail     : robbat2@g.o
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
Attachment:
pgpRtjchBTTXo.pgp (PGP signature)
Replies:
Re: clvm/lvm2/device-mapper
-- Robin H. Johnson
References:
Re: clvm/lvm2/device-mapper
-- Ulrich David
Re: clvm/lvm2/device-mapper
-- Robin H. Johnson
Re: clvm/lvm2/device-mapper
-- Ulrich David
Re: clvm/lvm2/device-mapper
-- Robin H. Johnson
Re: clvm/lvm2/device-mapper
-- Ulrich David
Re: clvm/lvm2/device-mapper
-- Ulrich David
Re: clvm/lvm2/device-mapper
-- Robin H. Johnson
Re: clvm/lvm2/device-mapper
-- Ulrich David
Re: clvm/lvm2/device-mapper
-- Robin H. Johnson
Re: clvm/lvm2/device-mapper
-- David Ulrich
Navigation:
Lists: gentoo-cluster: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: clvm/lvm2/device-mapper
Next by thread:
Re: clvm/lvm2/device-mapper
Previous by date:
Re: clvm/lvm2/device-mapper
Next by date:
Re: clvm/lvm2/device-mapper


Updated Nov 19, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.