- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- getting erros when parted /dev/sda
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 08:29 AM
тАО05-17-2006 08:29 AM
getting erros when parted /dev/sda
Error: Unable to open /dev/sda - unrecognised disk label.
Information: The operating system thinks the geometry on /dev/sda is 11/64/32.
I tried to "mklabel msdos" as suggested, but still the same, also tried "w" in fdisk, same.
Please advice,
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 08:51 AM
тАО05-17-2006 08:51 AM
Re: getting erros when parted /dev/sda
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 :-)
To remove the unrecognised disk label, you could try something like this:
dd if=/dev/zero of=/dev/sda bs=512 count=10
(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.)
After doing that, reboot and see if the disk geometry looks sensible now. The disk should now behave like it's never been used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 09:05 AM
тАО05-17-2006 09:05 AM
Re: getting erros when parted /dev/sda
Using /dev/sdb
Error: Unable to open /dev/sdb - unrecognised disk label.
Information: The operating system thinks the geometry on /dev/sdb is
4401/255/63. Therefore, cylinder 1024 ends at 8032.499M.
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 06:30 PM
тАО05-17-2006 06:30 PM
Re: getting erros when parted /dev/sda
are you speaking about "parted" utility? in this case may be make sense to try with "fdisk".
what do you see in /var/log/messages (regarding your harddisks)?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2006 03:45 AM
тАО05-18-2006 03:45 AM
Re: getting erros when parted /dev/sda
#!/bin/sh
function echoeval()
{
echo "${*}"
eval "${*}"
return $?
}
if [ -z "${*}" ] ;
then
echo "ERROR: no arguments specified"
exit -1
fi
if [ $# != 1 -o $1 == "--?" -o $1 == "--help" -o ! -e $1 ] ;
then
echo "Usage: $0 /dev/sdX"
echo "Summary: zap the first and last megabyte of a disk"
echo ""
echo "Use the cleandisk utility to remove all traces of a GPT style"
echo "partition table (hopefully). This script uses dd to remove the"
echo "tables, so it does not do a re-read of the partition table."
exit -1
fi
# Determine the point to seek to with dd for zapping the last megabyte.
off_t=`sfdisk -s $1`
(( off_t = off_t - 1024 ))
echo "Zap the first megabyte of the device."
echoeval "dd if=/dev/zero of=$1 bs=1k count=1024"
echo "Zap the last megabyte of the device."
echoeval "dd if=/dev/zero of=$1 bs=1k count=1024 seek=$off_t"
exit 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2006 05:15 AM
тАО05-19-2006 05:15 AM
Re: getting erros when parted /dev/sda
using fdisk get erros too.
What caused the problem, and what kind of problem it is anyway?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2006 06:09 AM
тАО05-19-2006 06:09 AM
Re: getting erros when parted /dev/sda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2006 06:10 AM
тАО05-19-2006 06:10 AM
Re: getting erros when parted /dev/sda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2006 08:03 AM
тАО05-19-2006 08:03 AM
Re: getting erros when parted /dev/sda
sfdisk -s /dev/sda
11520
sfdisk -s /dev/sdb
35354880
...
Does that mean I have 35gb space on /dev/sdb?
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?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2006 08:24 AM
тАО05-19-2006 08:24 AM
Re: getting erros when parted /dev/sda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2006 10:41 AM
тАО05-20-2006 10:41 AM
Re: getting erros when parted /dev/sda
fdisk -l /dev/sda
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?
I have seen similar problems with SAN disks where they have previously been used by a Solaris system.....
Regards
Colin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2006 02:25 AM
тАО05-22-2006 02:25 AM