LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-03-2016, 01:41 PM   #1
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Rep: Reputation: 7
Gparted sees incorrect external drive size


Hey all, I'm trying to get a 500GB external drive working on my OpenSUSE Tumbleweed computer and I've hit a snag. The drive is a WD USB external drive and I used it a while back as a live Ubuntu drive (I just dd'ed the ISO over to it). I need it for storage so I tried to use Gparted to do a "Nuke & Repopulate" but Gparted is stumbling. When I run Gparted I get this initial error:

Code:
The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
I thought that was odd but I continued on. When I navigate to the external drive Gparted sees it as a 1.82TB drive. I looked at the drive from fdisk and from there it looks like a 500GB drive:

Code:
Disk /dev/sdb: 465.8 GiB, 500107861504 bytes, 976773167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0e0e8e70

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdb1        2048 976773166 976771119 465.8G 83 Linux
I tried Googling this issue and all I'm finding are instructions on how to format a drive. Any idea what's going on here? Is there something wrong deep in my install?

Thanks,

Joe B
 
Old 12-03-2016, 04:37 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,732

Rep: Reputation: 259Reputation: 259Reputation: 259
Assuming your drive is still designated sdb(double check this), try running as root:
Code:
# dd if=/dev/zero of=/dev/sdb bs=512 count=1
That will zero out your mbr, including the partition table. After running the above command, gparted should see the drive as unallocated and without a partition table. Then try using gparted to create a partition and format.
 
1 members found this post helpful.
Old 12-03-2016, 05:14 PM   #3
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 417

Rep: Reputation: 74
Quote:
The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
This is quite indicative that it is 4K disk with 512b-emulation that usually have a capacity of 2TB and higher. I am not even sure if 4K-sectored exists on a 500G drive.

Are you sure that you are looking at the correct drive?
 
Old 12-03-2016, 07:29 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware FreeBSD Win10 MX
Posts: 9,619

Rep: Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071
Quote:
Originally Posted by jbruyet View Post
Hey all, I'm trying to get a 500GB external drive working on my OpenSUSE Tumbleweed computer and I've hit a snag. The drive is a WD USB external drive and I used it a while back as a live Ubuntu drive (I just dd'ed the ISO over to it). I need it for storage so I tried to use Gparted to do a "Nuke & Repopulate" but Gparted is stumbling. When I run Gparted I get this initial error:

Code:
The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
I thought that was odd but I continued on. When I navigate to the external drive Gparted sees it as a 1.82TB drive. I looked at the drive from fdisk and from there it looks like a 500GB drive:

Code:
Disk /dev/sdb: 465.8 GiB, 500107861504 bytes, 976773167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0e0e8e70

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdb1        2048 976773166 976771119 465.8G 83 Linux
I tried Googling this issue and all I'm finding are instructions on how to format a drive. Any idea what's going on here? Is there something wrong deep in my install?

Thanks,

Joe B
welcome to my world, I had a 64GB SD CARD read in TB when it should have been GB

http://www.linuxquestions.org/questi...ng-4175594363/
 
Old 12-08-2016, 12:51 AM   #5
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
Kudos to kilgoretrout! My 500GB external drive is now being read as a 500GB external drive. My thanks to the rest of you for your time.

Thanks again,

Joe B
 
Old 12-08-2016, 10:47 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017
Thanks for the update and solution.

Thank you posters.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I Installed an external Hard drive using Gparted. I cannot move files to the external Liz99 Linux - Newbie 15 04-20-2015 06:40 PM
[SOLVED] External USB HD, two partitions with gparted, df shows incorrect partition sizes mike11 Linux - Newbie 5 12-06-2009 02:50 PM
Hard Drive Size incorrect/Wont partition kitek Linux - Newbie 16 03-24-2007 03:22 PM
After removing another hard drive, system sees incorrect amount of free space cellphone Linux - General 5 09-28-2003 08:29 PM
df -h vs cfdisk info, incorrect size of new drive csDraco_ Linux - Hardware 2 09-21-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration