<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: fdisk -l doubt in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653241#M41333</link>
    <description>nope ... sorry i think i was not clear .. i know the diff between an lvm and a hdd disk.&lt;BR /&gt;&lt;BR /&gt;but in the current case&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 21.4 GB, 21474836480 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 2610 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Device Boot Start End Blocks Id System&lt;BR /&gt;/dev/sda1 * 1 26 208813+ 83 Linux&lt;BR /&gt;/dev/sda2 27 288 2104515 82 Linux swap / Solaris&lt;BR /&gt;/dev/sda3 289 2610 18651465 f W95 Ext'd (LBA)&lt;BR /&gt;/dev/sda5 289 2610 18651433+ 8e Linux LVM&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0: 19.0 GB, 19008585728 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 2310 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;if this is all the info we have off a system, how do we know that /dev/dm-0 and /dev/sda are the same disks.</description>
    <pubDate>Sat, 26 Jun 2010 17:27:36 GMT</pubDate>
    <dc:creator>iinfi1</dc:creator>
    <dc:date>2010-06-26T17:27:36Z</dc:date>
    <item>
      <title>fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653234#M41326</link>
      <description>i am using suse linux (sles10sp3 64bit) on my laptop vmware workstation practicing a few things.&lt;BR /&gt;my storage box is openfiler running as another vm.&lt;BR /&gt;on my suse linux vm i have a single 20GB HDD added. further i have added a 3gb HDD thru iscsi.&lt;BR /&gt;&lt;BR /&gt;fdisk -l shows this output&lt;BR /&gt;lin1:~ # fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 21.4 GB, 21474836480 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 2610 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/sda1   *           1          26      208813+  83  Linux&lt;BR /&gt;/dev/sda2              27         288     2104515   82  Linux swap / Solaris&lt;BR /&gt;/dev/sda3             289        2610    18651465    f  W95 Ext'd (LBA)&lt;BR /&gt;/dev/sda5             289        2610    18651433+  8e  Linux LVM&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0: 19.0 GB, 19008585728 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 2310 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 3154 MB, 3154116608 bytes&lt;BR /&gt;98 heads, 62 sectors/track, 1013 cylinders&lt;BR /&gt;Units = cylinders of 6076 * 512 = 3110912 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;lin1:~ #&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;there are 3 disks shown here ... whereas i v only two.3gb one is the iscsi mapped one. my 20gb drive is being shown as 21gb and another 19gb&lt;BR /&gt;&lt;BR /&gt;can someone plz throw more light on this?</description>
      <pubDate>Sat, 26 Jun 2010 12:45:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653234#M41326</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2010-06-26T12:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653235#M41327</link>
      <description>Hi iinfi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Disk /dev/dm-0 doesn't contain a valid partition table&lt;BR /&gt;Looks like some problem with the partition.&lt;BR /&gt;Are you able to mount it ?&lt;BR /&gt;Able to access data in it ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Sat, 26 Jun 2010 12:58:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653235#M41327</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-26T12:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653236#M41328</link>
      <description>Hi iinfi,&lt;BR /&gt;&lt;BR /&gt;Similar Discussions -&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1171325" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1171325&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.linuxquestions.org/questions/fedora-35/dev-dm-0-a-506904/" target="_blank"&gt;http://www.linuxquestions.org/questions/fedora-35/dev-dm-0-a-506904/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Sat, 26 Jun 2010 13:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653236#M41328</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-26T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653237#M41329</link>
      <description>i have jus 2 disks attached to my system&lt;BR /&gt;&lt;BR /&gt;i have installed sles 10 on a vmware workstation&lt;BR /&gt;&lt;BR /&gt;the drive sda shows correctly my local HDD while sdb is a ISCSI target on openfiler, which is also correctly shown&lt;BR /&gt;..&lt;BR /&gt;now i dont understand what /dev/dm-0: 19.0 GB is... :(&lt;BR /&gt;&lt;BR /&gt;lin1:~ # df -h&lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;BR /&gt;/dev/mapper/vg1-root   18G  3.1G   14G  19% /&lt;BR /&gt;udev                  503M  136K  503M   1% /dev&lt;BR /&gt;/dev/sda1             198M   14M  174M   8% /boot</description>
      <pubDate>Sat, 26 Jun 2010 13:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653237#M41329</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2010-06-26T13:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653238#M41330</link>
      <description>Hi iinfi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; now i dont understand what /dev/dm-0: 19.0 GB is... :(&lt;BR /&gt;You have /dev/sda and /dev/sdb corresponding to the 20GB and 3GB HDD.&lt;BR /&gt;&lt;BR /&gt;The /dev/dm-X are device mapper devices.&lt;BR /&gt;They are associated with LVM and correspond to logical volumes.&lt;BR /&gt;&lt;BR /&gt;When the programs fdisk and sfdisk are run with the option -l and no&lt;BR /&gt;argument, e.g.&lt;BR /&gt;# /sbin/fdisk -l&lt;BR /&gt;they look for all devices that can have cylinders, heads, sectors, etc.&lt;BR /&gt;If they find such a device, they output that information to standard&lt;BR /&gt;output and they output the partition table to standard output. If there is&lt;BR /&gt;no partition table, they have an error message (also standard output).&lt;BR /&gt;&lt;BR /&gt;The following link talks more about this -&lt;BR /&gt;&lt;A href="http://www.linuxquestions.org/questions/fedora-35/dev-dm-0-a-506904/" target="_blank"&gt;http://www.linuxquestions.org/questions/fedora-35/dev-dm-0-a-506904/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.softpanorama.org/Commercial_linuxes/disk_management.shtml" target="_blank"&gt;http://www.softpanorama.org/Commercial_linuxes/disk_management.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Sat, 26 Jun 2010 14:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653238#M41330</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-26T14:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653239#M41331</link>
      <description>thank you .. i understood the difference partly. how can one make out the difference on an unknown system that this one is a LVM and the other one is a HDD ..&lt;BR /&gt;its confusing ..</description>
      <pubDate>Sat, 26 Jun 2010 15:37:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653239#M41331</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2010-06-26T15:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653240#M41332</link>
      <description>Hi iinfi,&lt;BR /&gt;&lt;BR /&gt;* Physical Volume&lt;BR /&gt;This corresponds to a physical media like a disk or a Raid LUN that is&lt;BR /&gt;presented to the operating system.&lt;BR /&gt;&lt;BR /&gt;* Logical Volume&lt;BR /&gt;This corresponds to a LVM logical volume which comes out of a volume group.&lt;BR /&gt;&lt;BR /&gt;You can have a set of disks together in a volume group. A logical volumes&lt;BR /&gt;can then be created which would span across these physical disks&lt;BR /&gt;i.e. volume group. The operating system sees the multiple physical disk as&lt;BR /&gt;one big logical volume.&lt;BR /&gt;&lt;BR /&gt;Check the following link -&lt;BR /&gt;* VxVM and LVM-Conceptual Comparison&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5187-1372/ch01s02.html" target="_blank"&gt;http://docs.hp.com/en/5187-1372/ch01s02.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Sat, 26 Jun 2010 17:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653240#M41332</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-26T17:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653241#M41333</link>
      <description>nope ... sorry i think i was not clear .. i know the diff between an lvm and a hdd disk.&lt;BR /&gt;&lt;BR /&gt;but in the current case&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 21.4 GB, 21474836480 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 2610 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Device Boot Start End Blocks Id System&lt;BR /&gt;/dev/sda1 * 1 26 208813+ 83 Linux&lt;BR /&gt;/dev/sda2 27 288 2104515 82 Linux swap / Solaris&lt;BR /&gt;/dev/sda3 289 2610 18651465 f W95 Ext'd (LBA)&lt;BR /&gt;/dev/sda5 289 2610 18651433+ 8e Linux LVM&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0: 19.0 GB, 19008585728 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 2310 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/dm-0 doesn't contain a valid partition table&lt;BR /&gt;&lt;BR /&gt;if this is all the info we have off a system, how do we know that /dev/dm-0 and /dev/sda are the same disks.</description>
      <pubDate>Sat, 26 Jun 2010 17:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653241#M41333</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2010-06-26T17:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653242#M41334</link>
      <description>If all the information you have is the "fdisk -l" output, you don't know! &lt;BR /&gt;&lt;BR /&gt;You might be able to make some informed guesses, but you need more information to be sure.&lt;BR /&gt;&lt;BR /&gt;In your case, /dev/dm-0 would most likely be a LVM logical volume.&lt;BR /&gt;&lt;BR /&gt;Please run these commands:&lt;BR /&gt;&lt;BR /&gt;ls -l /dev/dm-* /dev/sd*&lt;BR /&gt;dmsetup ls --tree&lt;BR /&gt;&lt;BR /&gt;Compare the device numbers in the ls -l listing to the numbers listed in parentheses in the dmsetup output, and you'll see what's what.&lt;BR /&gt;&lt;BR /&gt;The /dev/dm-* names are mostly for the device-mapper subsystem's internal use only: they are rather inconvenient for humans, and they aren't guaranteed to be persistent. If you've made changes to your disk configuration, what's /dev/dm-3 now might become /dev/dm-0 after a reboot.&lt;BR /&gt;&lt;BR /&gt;Those Linux features that are built on top of the device-mapper subsystem (disk encryption, dm-multipath, LVM, software RAID) all maintain more human-readable, persistent device names that should usually be used instead of /dev/dm-* names.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sat, 26 Jun 2010 22:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653242#M41334</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-06-26T22:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: fdisk -l doubt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653243#M41335</link>
      <description>thank you.</description>
      <pubDate>Sun, 04 Jul 2010 17:09:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fdisk-l-doubt/m-p/4653243#M41335</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2010-07-04T17:09:25Z</dc:date>
    </item>
  </channel>
</rss>

