LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

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
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,981
Blog Entries: 5

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
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).
 
  


Reply

Tags
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 11:17 PM.

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