Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 2 of 2 < 1 2
Topic Options
#340810 - 07/01/2011 08:04 Re: Clone 500 GB WDC to 1 TB Samsung = 32 MB of storage? [Re: BartDG]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
I am reviving this topic because a friend of mine now seems to have the same problem. The problem is not identical though: he uses a WD 20EARS drive which only shows 1 TB anymore, instead of the 2TB it should show.

I have already used the Marks HDPARM utility, but it does not seem to work (using a UBUNTU 10.4 Live CD - hdparm version 9.15)

This is what it says:
Code:
root@ubuntu:/home/ubuntu# hdparm -N /dev/sda

/dev/sda:
 max sectors   = 3907029168/14715056(18446744073321613488?), HPA setting seems invalid (buggy kernel device driver?)


And then when I do :
Code:
root@ubuntu:/home/ubuntu# hdparm -Np3907029168 /dev/sda

/dev/sda:
 setting max visible sectors to 3907029168 (permanent)
 SET_MAX_ADDRESS failed: Input/output error
 max sectors   = 3907029168/14715056(18446744073321613488?), HPA setting seems invalid (buggy kernel device driver?)


What is wrong here? Could this be because this HD is one of those Advanced Format disks?
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
#340816 - 07/01/2011 12:34 Re: Clone 500 GB WDC to 1 TB Samsung = 32 MB of storage? [Re: BartDG]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
I suspect you merely need a recent copy of hdparm, rather than the very very ancient one that distro seems to be shipping.

You can get it from sourceforge, and build/run it, even while running in the livecd environment.

Cheers

Top
#340877 - 08/01/2011 09:48 Re: Clone 500 GB WDC to 1 TB Samsung = 32 MB of storage? [Re: mlord]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Thanks Mark, I figured as much. Could you please explain to me how I do that, building and running that tarball using that live CD? I have zero experience when it comes to these things. (I fact, I was quite proud of myself I managed to get the hdparm utility running the first time ;))

Thanks!
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
#340883 - 08/01/2011 13:00 Re: Clone 500 GB WDC to 1 TB Samsung = 32 MB of storage? [Re: BartDG]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Here's a pre-compiled binary (attached) that will work from any 32-bit x86 Linux environment.

So just boot from the LiveCD,
use the web browser to surf to this empegbbs thread,
and download the attachment from there.

Open up a terminal window,
and do gunzip hdparm.gz
from there to extract the executable.

Let us know how you make out with it.

Cheers



Attachments
hdparm.gz (147 downloads)
Description: hdparm-9.36+ binary for 32bit Linux.



Top
#340888 - 08/01/2011 14:22 Re: Clone 500 GB WDC to 1 TB Samsung = 32 MB of storage? [Re: mlord]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Thanks Mark, I'll give it a shot! smile
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
#340933 - 10/01/2011 10:35 Re: Clone 500 GB WDC to 1 TB Samsung = 32 MB of storage? [Re: mlord]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Success!! Everything worked very smoothly! Thanks again Mark! smile
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
Page 2 of 2 < 1 2