[HLUG] HD problem

Graham Cole grahamcole at nerdshack.com
Sat Jun 16 10:11:46 BST 2007


thanks Andrew for the several ideas below. In the first place the
warning was given during the boot process and said:
SMART failure predicted on Primary Master:
Warning:Immediately back-up your data and replace your hard disk drive.
A failure may be imminent.

I guess I could have booted in recovery mode and saved all of my home
folder contents to disk. I've never done a save to disk because I had no
disk writer before now, so I decided to install a new disk with a new
system, Ubuntu 7.04, Feisty Fawn.

Now I can't find access to the second, suspect disc which shows up as
second master in the BIOS although I set the jumper to slave position.
In /var/log/messages I don't see the disk, presumably because it's not
part of the booted system. Here's an extract from that file:

Jun 15 18:57:28 localhost kernel: [   35.840394]     ide0: BM-DMA at
0xb800-0xb807, BIOS settings: hda:DMA, hdb:pio
Jun 15 18:57:28 localhost kernel: [   35.840407]     ide1: BM-DMA at
0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:pio
Jun 15 18:57:28 localhost kernel: [   36.127925] hda: ST320410A, ATA
DISK drive
Jun 15 18:57:28 localhost kernel: [   36.469320] ide0 at
0x1f0-0x1f7,0x3f6 on irq 14
Jun 15 18:57:28 localhost kernel: [   37.207482] hdc: HL-DT-ST
GCE-8523B, ATAPI CD/DVD-ROM drive
Jun 15 18:57:28 localhost kernel: [   37.879326] ide1 at
0x170-0x177,0x376 on irq 15
Jun 15 18:57:28 localhost kernel: [   37.889988] SCSI subsystem
initialized
Jun 15 18:57:28 localhost kernel: [   37.912847] hda: max request size:
128KiB
Jun 15 18:57:28 localhost kernel: [   37.921398] hda: 39102336 sectors
(20020 MB) w/2048KiB Cache, CHS=38792/16/63
Jun 15 18:57:28 localhost kernel: [   37.921409] hda: cache flushes not
supported
Jun 15 18:57:28 localhost kernel: [   37.921475]  hda: hda1 hda2 < hda5
>
Jun 15 18:57:28 localhost kernel: [   37.986300] hdc: ATAPI 52X CD-ROM
CD-R/RW drive, 2048kB Cache, UDMA(33)
 
It's odd that hdc appears as the CD drive! The only mention of hdb is
"hdb:pio" which I don't understand.

Any ideas welcome....

Graham

On Fri, 2007-06-15 at 16:58 +0100, Andrew Hodgson wrote:
> Hi,
> 
> Which distro?  You need to mount the drive - first find out the drive assignment - probably /dev/hdb? (where ? represents the partition).  You can run fdisk to check this by printing the partition table.  There may be a boot partition and a swap partition before the root (/) partition.
> 
> Once you know the partition you want to access on the second disk, use:
> 
> Mkdir -p /mnt/disk2
> Mount /dev/hdb3 /mnt/disk2
> 
> (as an example).
> 
> Also, what was the actual error you got, and where did you get it?  Look at /var/log/messages and /var/log/dmesg on the failed (?) disk.  Also check out fsck on the failed disk, remember to ensure you run the correct version for your filesystem.
> 
> Another option is that if you have a USB drive enclosure and a modern distro, it should automount if you plug it into the USB port.
> 
> Thanks.
> Andrew.
> 
> -----Original Message-----
> From: Graham Cole [mailto:grahamcole at nerdshack.com] 
> Sent: 15 June 2007 16:50
> To: herefordshire at mailman.lug.org.uk
> Subject: [HLUG] HD problem
> 
> Hi everyone
> I had a warning pop up to say my hard disk drive is going to fail so I
> should back up all files. Now I'm scared of opening the system again and
> I've installed another disk in the same box and I have a parallel Linux
> system running on that. Now I want to access files on the suspect disk
> on which I have put the jumper to slave position (to be exact, no jumper
> connecting). My BIOS makes out this is a second master rather than
> primary slave and I don't know how to access files from my primary
> system. Can you help me? Do I need to change the BIOS somehow?
> Graham
> 
> 
> 
> _______________________________________________
> Herefordshire mailing list
> Herefordshire at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/herefordshire
> 
> 
> 





More information about the Herefordshire mailing list