moved disk to new controller, partition now empty!!

From: Derek (dealy663_at_hotmail.com)
Date: 09/01/03


Date: 31 Aug 2003 15:54:00 -0700

Hi,

I purchased a Maxtor SATA 150 controller. After much work getting the
drivers working on Mandrake 8.2 w/kernel 2.4.18 I got my new SATA
drive working, cool.

So now I've decided to move my ATA 133 drive that was attached to the
mobo controller that only does UDMA 33 to the SATA 150 which supports
133. After moving the disk the primary partition appears to be empty
while the second partition still has all of its data! Now of course
the primary partition on this disk was /usr and the second was /opt,
guess which one I really needed to work!

FDisk and HardDrake both show the two partitions when attached to the
new controller and fsck doesn't report any errors on part1.

I'm really stumped as to why part1 isn't showing anything after being
mounted.

Any ideas what might be wrong? Here is my fstab file. The drive I'm
talking about is /dev/sdd.

/dev/sda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/scd0 /mnt/cdrom iso9660
iocharset=iso8859-1,ro,nosuid,noauto,exec,user,nodev 0 0
/dev/fd0 /mnt/floppy vfat
iocharset=iso8859-1,umask=0,sync,nosuid,user,noauto,nodev,codepage=850,unhide
0 0
/dev/sda6 /mnt/windows ext3 defaults 1 2
#/dev/hda5 /opt ext3 defaults 1 2
/dev/sdd5 /mnt/ata2 ext3 defaults 1 2
/dev/sdc1 /mnt/sata1 ext3 defaults 1 2
none /proc proc defaults 0 0
#/dev/hda1 /usr ext3 defaults 1 2
/dev/sdd1 /mnt/ata1 ext3 defaults 1 2
/dev/sdb1 /var ext3 defaults 1 2
/dev/sda5 swap swap defaults 0 0

here is the part table from fdisk
[root@pangloss etc]# fdisk /dev/sdd

The number of cylinders for this disk is set to 2100.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdd: 255 heads, 63 sectors, 2100 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot Start End Blocks Id System
/dev/sdd1 * 1 780 6265318+ 83 Linux
/dev/sdd2 781 2101 10610082 5 Extended
/dev/sdd5 781 2101 10610050+ 83 Linux

Command (m for help):

thanks in advance, Derek



Relevant Pages

  • Re: =?ISO-8859-15?Q?=22gro=DFe=22_Festplatte_an_alten_48?= =?ISO-8859-15?Q?6er?=
    ... Doch FDisk erkennt nur 512 MB! ... NT war immerhin so intelligent und hat eine 512 MB Partition angelegt und eine weitere Partition für den Rest. ... C mit 512 MB, D als Logisches Laufwerk in einer erweiterten Parition mit den Rest. ... Ich kann nicht einfach eine Platte an einem Controller partitionieren und an einem anderen nutzen. ...
    (de.comp.hardware.laufwerke.festplatten)
  • Re: Installing XP
    ... If from a boot to an ms-dos floppy, and using FDisk, you probably have a bad hard drive ... controller. ... partition failure would imply some BIOS error. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: messed up partition table reinstalling windows 98
    ... I booted up her system using the 98 floppy, ran fdisk and deleted the ... Partition 1 as an Extended DOS partition 353 MB ... The Extended DOS Partition contains Logical DOS Drives ...
    (Ubuntu)
  • Re: em0 watchdog timeout (and 3ware problems) 7-stable
    ... After restarting, the system partition is no ... SATA controller, connected to 16 1TB SATA drives, this configured as ...
    (freebsd-stable)
  • Re: Partition =?ISO-8859-1?Q?vergr=F6=DFern?=
    ... dem fdisk sehr wohl mit einer Partition und nicht mit einem ... Aufruf mit eine Partition. ... Der von einigen richtigerweise gemachte Einwand, fdisk könne nur auf der ganzen Platte arbeiten, scheinst Du ignorieren zu wollen. ...
    (de.comp.os.unix.linux.misc)