<?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: getting erros when parted /dev/sda in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790026#M23443</link>
    <description>Whats the output from:&lt;BR /&gt;&lt;BR /&gt;fdisk -l /dev/sda&lt;BR /&gt;&lt;BR /&gt;Knowing what your system config is would be useful. When you install a system, if it has internal SCSI disks you'd probably expect them to start with /dev/sda - so are these disks external ones? Are they SAN attached?&lt;BR /&gt;&lt;BR /&gt;I have seen similar problems with SAN disks where they have previously been used by a Solaris system.....&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Colin.</description>
    <pubDate>Sat, 20 May 2006 17:41:08 GMT</pubDate>
    <dc:creator>Colin Topliss</dc:creator>
    <dc:date>2006-05-20T17:41:08Z</dc:date>
    <item>
      <title>getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790016#M23433</link>
      <description>Using /dev/sda&lt;BR /&gt;Error: Unable to open /dev/sda - unrecognised disk label.&lt;BR /&gt;Information: The operating system thinks the geometry on /dev/sda is 11/64/32.&lt;BR /&gt;&lt;BR /&gt;I tried to "mklabel msdos" as suggested, but still the same, also tried "w" in fdisk, same.&lt;BR /&gt;&lt;BR /&gt;Please advice,&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Wed, 17 May 2006 15:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790016#M23433</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2006-05-17T15:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790017#M23434</link>
      <description>There might be some old garbage data at the beginning of the disk, which could cause the geometry to be detected wrong. &lt;BR /&gt;&lt;BR /&gt;11/64/32 means the disk would be about 10 megabytes in size... if it's correct and it is not some kind of special equipment, think about sending it to a museum of ancient computers :-)&lt;BR /&gt;&lt;BR /&gt;To remove the unrecognised disk label, you could try something like this:&lt;BR /&gt;  dd if=/dev/zero of=/dev/sda bs=512 count=10&lt;BR /&gt;&lt;BR /&gt;(DANGER: be very very sure /dev/sda is correct. This command will fill the beginning of the disk with zero bytes, overwriting the partition table/disk label. It will NOT warn you or ask "Are you sure?" if you point it to the wrong disk.)&lt;BR /&gt;&lt;BR /&gt;After doing that, reboot and see if the disk geometry looks sensible now. The disk should now behave like it's never been used.</description>
      <pubDate>Wed, 17 May 2006 15:51:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790017#M23434</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-05-17T15:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790018#M23435</link>
      <description>The error not just happent on /dev/sda, but also on /dev/sdb...h which has about 4G each, I believe&lt;BR /&gt;&lt;BR /&gt;Using /dev/sdb&lt;BR /&gt;Error: Unable to open /dev/sdb - unrecognised disk label.&lt;BR /&gt;Information: The operating system thinks the geometry on /dev/sdb is&lt;BR /&gt;4401/255/63.  Therefore, cylinder 1024 ends at 8032.499M.&lt;BR /&gt;&lt;BR /&gt;I did "dd..." command as you suggested, but still got the same error. Do I have to reboot the server before I can get rid of the error?</description>
      <pubDate>Wed, 17 May 2006 16:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790018#M23435</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2006-05-17T16:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790019#M23436</link>
      <description>&amp;gt;when parted /dev/sda &lt;BR /&gt;are you speaking about "parted" utility? in this case may be make sense to try with "fdisk".&lt;BR /&gt;what do you see in /var/log/messages (regarding your harddisks)?)</description>
      <pubDate>Thu, 18 May 2006 01:30:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790019#M23436</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-05-18T01:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790020#M23437</link>
      <description>When I get this error, and it is on a drive that is not otherwise being used at the moment, I run a version of this script:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;function echoeval()&lt;BR /&gt;{&lt;BR /&gt;  echo "${*}"&lt;BR /&gt;  eval "${*}"&lt;BR /&gt;  return $?&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;if [ -z "${*}" ] ;&lt;BR /&gt;then&lt;BR /&gt;  echo "ERROR: no arguments specified"&lt;BR /&gt;  exit -1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;if [ $# != 1 -o $1 == "--?" -o $1 == "--help" -o ! -e $1 ] ;&lt;BR /&gt;then&lt;BR /&gt;  echo "Usage: $0 /dev/sdX"&lt;BR /&gt;  echo "Summary: zap the first and last megabyte of a disk"&lt;BR /&gt;  echo ""&lt;BR /&gt;  echo "Use the cleandisk utility to remove all traces of a GPT style"&lt;BR /&gt;  echo "partition table (hopefully).  This script uses dd to remove the"&lt;BR /&gt;  echo "tables, so it does not do a re-read of the partition table."&lt;BR /&gt;  exit -1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;# Determine the point to seek to with dd for zapping the last megabyte.&lt;BR /&gt;off_t=`sfdisk -s $1`&lt;BR /&gt;(( off_t = off_t - 1024 ))&lt;BR /&gt;&lt;BR /&gt;echo "Zap the first megabyte of the device."&lt;BR /&gt;echoeval "dd if=/dev/zero of=$1 bs=1k count=1024"&lt;BR /&gt;echo "Zap the last megabyte of the device."&lt;BR /&gt;echoeval "dd if=/dev/zero of=$1 bs=1k count=1024 seek=$off_t"&lt;BR /&gt;&lt;BR /&gt;exit 0</description>
      <pubDate>Thu, 18 May 2006 10:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790020#M23437</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2006-05-18T10:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790021#M23438</link>
      <description>Your script could not solve the problem.&lt;BR /&gt;using fdisk get erros too. &lt;BR /&gt;&lt;BR /&gt;What caused the problem, and what kind of problem it is anyway?</description>
      <pubDate>Fri, 19 May 2006 12:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790021#M23438</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2006-05-19T12:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790022#M23439</link>
      <description>My 1st inclination would be that if that script didn't work under linux, then the drive itself has issues.  Did you at least get a valid answer for "sfdisk -s /dev/sda" ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 May 2006 13:09:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790022#M23439</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2006-05-19T13:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790023#M23440</link>
      <description>You didn't mention what kind of hardware this was.  Perhaps your BIOS is not detecting the drive properly...</description>
      <pubDate>Fri, 19 May 2006 13:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790023#M23440</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2006-05-19T13:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790024#M23441</link>
      <description>Yes. &lt;BR /&gt;&lt;BR /&gt;sfdisk -s /dev/sda&lt;BR /&gt;11520&lt;BR /&gt;sfdisk -s /dev/sdb&lt;BR /&gt;35354880&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Does that mean I have 35gb space on /dev/sdb?&lt;BR /&gt;What command I can tell what type of disks are they, and any commands I can use to check out if BIOS support this type of disks?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 May 2006 15:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790024#M23441</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2006-05-19T15:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790025#M23442</link>
      <description>I did "w" withing fdisk /dev/sdb, so now I am able to run parted /dev/sdb. However, if I want to run "print" after I starting parted, I am not able to, because the error /dev/sda. It seems I can not do anything within parted, unless I solve the error on /dev/sda first.</description>
      <pubDate>Fri, 19 May 2006 15:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790025#M23442</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2006-05-19T15:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790026#M23443</link>
      <description>Whats the output from:&lt;BR /&gt;&lt;BR /&gt;fdisk -l /dev/sda&lt;BR /&gt;&lt;BR /&gt;Knowing what your system config is would be useful. When you install a system, if it has internal SCSI disks you'd probably expect them to start with /dev/sda - so are these disks external ones? Are they SAN attached?&lt;BR /&gt;&lt;BR /&gt;I have seen similar problems with SAN disks where they have previously been used by a Solaris system.....&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Colin.</description>
      <pubDate>Sat, 20 May 2006 17:41:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790026#M23443</guid>
      <dc:creator>Colin Topliss</dc:creator>
      <dc:date>2006-05-20T17:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: getting erros when parted /dev/sda</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790027#M23444</link>
      <description>sfdisk -s gives the size of the partition/drive in blocks.  11520 is too small for a modern physical device.  You might want to use the -C, -H, and -S switches to namually define the cylinders, heads, and sectors, in case your kernel is really confused.</description>
      <pubDate>Mon, 22 May 2006 09:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-erros-when-parted-dev-sda/m-p/3790027#M23444</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2006-05-22T09:25:39Z</dc:date>
    </item>
  </channel>
</rss>

