Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-06-2012, 07:40 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 28

Rep: Reputation: 0
Why multipath device size is lower than lun size

Example :

output of multipath -l
mpath2 (3600c0ff000d8a6bbc03ea34c01000000) dm-2 HP,MSA2324sa
[size=559G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 3:0:0:2 sdf 8:80 [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:2 sdd 8:48 [active][undef]

Output of fdisk -l
Disque /dev/sdf: 599.7 Go, 599732879360 octets
255 heads, 63 sectors/track, 72913 cylinders
UnitÚs = cylindres de 16065 * 512 = 8225280 octets

Disque /dev/sdd: 599.7 Go, 599732879360 octets
255 heads, 63 sectors/track, 72913 cylinders
UnitÚs = cylindres de 16065 * 512 = 8225280 octets

Difference: 40Go.
Why multipath device have a lower size than lun size ?
How to calculate the rate between multipath device and real device.
Old 01-06-2012, 08:32 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,804
Blog Entries: 14

Rep: Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068
If you do an "fdisk -l /dev/dm-2" you should see the multipath device is actually the same size as the disks (sdd and sdf). The way it reports it in the output may have to do with difference in the way multipath and fdisk calculate (e.g. one might be using 1000 and the other 1024).


lun, multipath, size

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem Multipath: scanning new LUN fail iam33 Red Hat 2 05-14-2011 03:51 AM
What's the maximum LUN size supported by RHEL 4 or 5? ecbrow1 Red Hat 3 09-24-2008 04:59 AM
LUN Device Mapping: 2 devices map to same lun DantePasquale Linux - Distributions 0 09-24-2007 02:59 PM
Detecting a changed LUN size radders Linux - Server 5 08-08-2007 02:53 AM
pitiful question: How do ya lower the screen size on Red Hat Manyguns Linux - Newbie 1 05-30-2001 06:38 AM

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration