Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #10250

Re: Nasty harddrive "space" problem

From Paul <nospam@needed.invalid>
Newsgroups alt.computer
Subject Re: Nasty harddrive "space" problem
Date 2017-04-01 19:50 -0400
Organization A noiseless patient Spider
Message-ID <obpe68$idg$1@dont-email.me> (permalink)
References <V9pDA.125855$7b3.67645@fx18.iad> <oblr5b$pkq$1@dont-email.me> <B_FDA.136126$iw5.101796@fx22.iad> <obngrh$fqq$1@dont-email.me> <7NVDA.143756$7b1.86579@fx30.iad>

Show all headers | View raw


Robert Baer wrote:
> Paul wrote:
>> Robert Baer wrote:
>>
>>> Well, i removed the USB shadow drive, used Parted Magic and did a full
>>> disk wipe using dd which took 2 hours.
>>> Notes given: BS=4096, count=926773168, Default_Blocksize = 32268 (or
>>> did i mis-read and it was 32768), sector size 512 (assumed).
>>> This time Spinrite *DID* find the drive; and stated "empty drive" 499
>>> Megabytes. It scans (checks) it no problems - so i quit at 7% or so.
>>> Partinfo: no partition type present,free space 575021 Mb.
>>> PTedit shows all zeros.
>>> So,at this point all looks OK.
>>> Then reboot to Win2K and *LO*: 128Gb unallocated,red flag.
>>> Properties: unknown type, ST3500414CS.
>>> SAME garbage and there is no excuse this time as the ST3500414CS SCSI
>>> hard drive is the only drive in the system, and nothing on any USB
>>> port, *AND* the drive is clearly WIPED clean.
>>>
>>> NOW WHAT?
>>> I think i will try the stupidity of DOS FDISK and carve out the max
>>> 2GM partition, put DOS on it and re-evaluate with all tools.
>>> Mind you,still without any other drives or USB sticks.
>>
>> Are you sure you aren't looking at some other (Flash based)
>> storage device on the Win2K system.
> * Absolutely; like i said, NO USB sticks.
> 
>>
>> If you wipe the MBR, the drive will want to "initialize" in
>> Device Manager. Before you can add partitions.
>>
>> The MBR must have 0xAA55 as the last two bytes, if it has
>> been initialized. Since you wiped it with "dd", those signature
>> bytes are missing. Which means the first response of Disk
>> Management, should be to present the "Initialize" dialog.
> * That did not happen. The worst was looking at the drive with windows 
> explorer, that it wanted me to format it,and i NOed out.
> 
>>
>> While you have ptedit open, perhaps you can verify how many
>> storage devices are present on the system. In this example,
>> I have my single hard drive with WinXP on it, and the second
>> 4GB drive is my RAMDisk.
> * Before adding my Win2k drive, PT edit indicated only one drive, the 
> 500GB SCSI drive.
> 
>>
>> https://s23.postimg.org/4veq8uagb/ptedit32.gif
>>
>> Paul
> 
>   You think this above junk is bad? it gets far worse.
> 
>   In Win2K: 128Gb unallocated, red tag properties: unknown type, 
> ST3500414CS.
>   So i used Computer Management to format the drive (since Parted Magic 
> cannot do that).
>   Floppy booted to DOS, FDISK 2Gb, FORMAT C: /U /S. Label TEST.
>   Partinfo: 2GB partition, FAT16B, free space 554598 Meg.
>   Spinrite barfs, "foreign language character set", but can do its check 
> thing.
>   Back to Win2k, see drive in windows explorer, (still NO USB used).
>   Computer management shows the 2G partition "TEST" and 26Gb unknown.
> 
>   Back to Parted Magic, deleted the 3DOS files,expanded partition to 
> full size,added 500MB BIG USB stick and cloned from that to the SCSI 
> drive (about 2 hours again).
>   Yawn; sameo-sameo so more fiddling to have 2Gb bootable DOS on the 
> SCSI, copied the contents of BIG to TEST and almost filled that 128G space.
>   ALL files look OK and the label looks OK 128G (remember that).
> 
>   Changed HD, booted to WinXP; now have 500GB BIG (Shadow0 stick, SCSI 
> drive, and XP drive.
>   Computer Management reports the SCSI: 1174.07Mb, 104.01Mb unallocated, 
> 811.57Mb "unknown partition". Might have said Gb; not relevant as this 
> is completely different WRT Win2k.
> 
>   Ptedit reports drive 1 size 38,162, C=4865,H=25, S=63; NTFS, Extended X.
>   Drive 2 size 144,010, C=56696, H=102, S=51; NTFS, 74, Novell junk 
> bytes, RAID junk.
>   Drive 3 size 476,977, C=6801, H=255, S=63; NTFS bootable.
> 
>   No changes to drive configuration.
>   Win2K reports SCRATCH 12G all data OK (note label..), BIG 500G all 
> data OK, <noinfo> 465.7G.
>   WinXP reports 104.01 un-allocated, 811.57 as drive F: not formatted, 
> 2.5979 unknown partition.
> 
>   So,pick system to get totally different layouts and useability.
> 
>   Get out our sawed-off shotgun and load it with Sodium Cyanide.
>   I see absolutely  NO way to get a fully useable, dependable 500GB SCSI 
> drive.
> 
>   I am willing to waste yet another 2 hours on drive wipe; there are 
> about 6 options available including an internal (meaning the HD) program 
> and shred.
>   BUT i need a WORKABLE path.
>   Unless there is some other program on the Parted Magic disk, one 
> cannot format a 500G hard drive and get FULL, reliable, useful results.

I wonder if there is an HPA on the disk.

But if there were, the size some of your attempts would have
been claiming, would likely have been truncated too.

On the machine I'm typing on, I can use HDPARM in linux, to check
for an HPA. The IDE interface on my board, supports HPA, and using
an IDE-to-SATA adapter I can connect SATA drives and define (or remove)
an HPA.

This is a way to "hide" some of the disk capacity.

https://en.wikipedia.org/wiki/Host_protected_area

Whereas, some of your problems seem geometry related.
CHS (Cylinder-head-sector) versus LBA. Hmmm <=== spark causes ignition

https://en.wikipedia.org/wiki/Logical_block_addressing

OK, took me long enough... The 128GB is actually 137GB,
and you've hit the 28 bit LBA limit of Win2K SP2. You
should be running Win2K SP4 + Rollup 1 Rev 2 as your
OS, as it is not limited to 137GB of disk capacity.

https://en.wikipedia.org/wiki/Logical_block_addressing#LBA48

The reason I didn't tweak onto this right away, is
I usually see 137GB as my "limit" here. I ran SP2 for
a year (because some CAD software wanted it), and then
did a hail mary, installed SP4, it worked, and I waved
bye-bye to SP2 for good.

If you'd prepped the drive in Win7, it would have said
465GB or whatever. If you'd taken it over to the Win2K SP2,
with the 137GB limit, that Win7-prepped drive would have
corrupted on you, and you'd have been most unhappy.

For best results in your computer room, you should have
all your gear "48 bit LBA" ready. Screwing around with SP2
is *not* a "member in good standing" when it comes to computers.
You've been warned... If it corrupts, I can't fix it for
you. The corruption is caused by address rollover, and the
first write operation above 137GB, overwrites the MBR and other
stuff (depending on size of attempted write command).

If you want to run Win2K SP2 forever, use 120GB IDE drives
and bask in the glory. Soon, the smallest drive
you'll be able to buy at retail, will be 1TB, and you'll
definitely want SP4 by then.

If you prep a drive on the Win2K SP2 machine, it will
limit the size automatically to 137GB. It won't allow
using any space in the danger zone. It's when you prep
drives on more capable machines, and plug them into
Win2K SP2, they're going to corrupt.

This is how it works.

<----------- 137GB ---------->|
+-----------------+-----------------+-----------------+
|  80GB partition |  80GB partition |  80GB partition |
+-----------------+-----------------+-----------------+
       (safe)        (will corrupt)    (cannot access)

When a partition spans the 137GB mark, the bottom of the
partition is below 137GB. The OS agrees to mount it.
Writes to addresses just slightly above 137GB, overwrite
the MBR and the first partition. The third partition,
won't even mount, as it is entirely over the line.

This means, for dual OS compatibility, you could make
a first partition below 137GB, leave an air gap, then
make a 330GB partition entirely above 137GB. When the drive
is plugged into Win2K SP2, only the bottom partition will
be accessible. If you plug the drive into Win7, both
partitions can be viewed. But while that's an amusing
solution, I don't consider that practical. I make selections
of setups here, for the broadest compatibility possible.

With reference to the previous diagram, this drive would
work in both Win2K SP2 and Win7, no damage. Win2K only
sees the first partition. Win7 sees the whole disk.

<----------- 137GB ---------->|
+-----------------+-----------------+-----------------+
|  80GB partition |  (unallocated)  |  80GB partition |
+-----------------+-----------------+-----------------+
       (safe)                          (cannot access)

Sorry for not catching this sooner. I still use Win2K SP4
as a maintenance OS here, and haven't had to deal with
a 28-bit LBA situation for years and years. You tend to forget.

HTH,
    Paul

Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-03-31 01:18 -0800
  Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-03-31 11:07 -0400
    Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-03-31 20:27 -0800
      Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-01 02:23 -0400
        Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-01 14:25 -0800
          Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-01 19:50 -0400
            Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-02 00:24 -0800
              Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-02 11:43 -0400
                Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-02 15:13 -0800
                Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-02 19:29 -0400
                Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-04 00:38 -0800
                Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-04 08:29 -0400
                Re: Nasty harddrive "space" problem UPDATE Robert Baer <robertbaer@localnet.com> - 2017-04-05 14:13 -0800
                Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-05 14:24 -0800
                Re: Nasty harddrive "space" problem (after UPDATE) Robert Baer <robertbaer@localnet.com> - 2017-04-05 21:50 -0800
                Re: Nasty harddrive "space" problem (after UPDATE) Paul <nospam@needed.invalid> - 2017-04-06 08:23 -0400
                Re: Nasty harddrive "space" problem (after UPDATE) Robert Baer <robertbaer@localnet.com> - 2017-04-09 11:49 -0800
                Re: Nasty harddrive "space" problem (after UPDATE) Paul <nospam@needed.invalid> - 2017-04-09 18:40 -0400
                Re: Nasty harddrive "space" problem (after UPDATE) Robert Baer <robertbaer@localnet.com> - 2017-04-11 00:32 -0800
                Re: Nasty harddrive "space" problem (after UPDATE) Paul <nospam@needed.invalid> - 2017-04-09 18:46 -0400
                Re: Nasty harddrive "space" problem (after UPDATE) Robert Baer <robertbaer@localnet.com> - 2017-04-11 00:50 -0800
                Re: Nasty harddrive "space" problem (after UPDATE) OS Comment Robert Baer <robertbaer@localnet.com> - 2018-01-19 01:55 -0800
                Re: Nasty harddrive "space" problem (after UPDATE) OS Comment Robert Baer <robertbaer@localnet.com> - 2018-01-22 00:30 -0800

csiph-web