I did the following (I hope I copied this all correctly)

# dmesg | grep -i hd
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD2000JB-00DUA0, ATA DISK drive
hdb: WDC WD2000JB-00DUA0, ATA DISK drive
hdc: PLEXTOR CD-R PX-W1610A, ATAPI CD/DVD-ROM drive
hdd: PHILIPS DVDRW228, ATAPI CD/DVD-ROM drive
hda: max request size: 1024KiB
hda: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63
hda: cache flushes supported
hda: hda1 hda2 < hda5 hda6 > hda3
hdb: max request size: 1024KiB
hdb: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63
hdb: cache flushes supported
hdb: hdb1 hdb2 < hdb5 hdb6 > hdb3
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache
hdd: ATAPI 32X DVD-ROM CD-R/RW drive, 2048kB Cache
SCSI device sda: 781422768 512-byte hdwr sectors (400088 MB)
SCSI device sda: 781422768 512-byte hdwr sectors (400088 MB)
VFS: Can't find an ext2 filesystem on dev hda.
VFS: Can't find a valid FAT filesystem on dev hda.
VFS: Can't find an ext2 filesystem on dev hdb.
VFS: Can't find a valid FAT filesystem on dev hdb.
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
hdd: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdd: media error (bad sector): error=0x30 { LastFailedSense=0x03 }
end_request: I/O error, dev hdd, sector 1310080
Buffer I/O error on device hdd, logical block 327520

Then I did
# dmesg | grep -i ide
CPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00000400 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00000400 00000000 00000000
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00000400 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00000400 00000000 00000000
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
Unable to identify CD-ROM format.
Unable to identify CD-ROM format.
ide: failed opcode was: unknown
ide: failed opcode was: unknown

Finally I did
# df /dev/hda1
Filesystem 1K-blocks Used Available Use% Mounted on
/UNIONFS 2779904 1973276 806628 71% /UNIONFS.

I am not sure what this means though.

I started qtparted again and got the message: Warning unable to open /UNIONFS/dev/hdd read-write