I recently had a problem with one of the hard drives on my Red Hat 7.2 system. There was
some kind of corruption that wasn't worth repairing so I wiped the disk, repartitioned and
reformatted, and now my system will not mount it when I boot. I am not sure what I need
to to do fix this. Here are a few more details.
System disk: /dev/hda connected to primary IDE channel on motherboard.
Spare disks: pair of Maxtor 80GB drives attached to PCI ATA100 controller
/dev/hde1 mounted as /max1
/dev/hdf1 mounted as /max2 <-- not mounting at boot.
I started by using fdisk to delete the partitions on /dev/hdf, then created one large
partition that used the entire disk. Next I formatted the new partition as ext2 and then
created a journal on it (making it ext3 right?).
I can manually mount this new partition like this: # mount /dev/hdf1 /max2
It seems to work just fine.
When I reboot I end up needing to enter the root password and drop into an administrative
mode. When using the "User Mount Tool" in GNOME, I am able to mount and unmount /max1
without problems, but I am unable to mount /max2.
Here is my /etc/fstab file:
# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/max1 /max1 ext3 defaults 1 2
LABEL=/max2 /max2 ext3 defaults 1 2
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
# dmesg |grep hd
Kernel command line: ro root=/dev/hda2
ide0: BM-DMA at 0xfc90-0xfc97, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfc98-0xfc9f, BIOS settings: hdc:DMA, hdd:pio
ide2: BM-DMA at 0xfcc0-0xfcc7, BIOS settings: hde:DMA, hdf:DMA
ide3: BM-DMA at 0xfcc8-0xfccf, BIOS settings: hdg:pio, hdh:pio
hda: Maxtor 86480D6, ATA DISK drive
hdc: NEC CD-ROM DRIVE:28B, ATAPI CD/DVD-ROM drive
hde: MAXTOR 4K080H4, ATA DISK drive
hdf: MAXTOR 4K080H4, ATA DISK drive
hda: 12594960 sectors (6449 MB) w/256KiB Cache, CHS=787/255/63, UDMA(33)
hde: 156301487 sectors (80026 MB) w/2000KiB Cache, CHS=155060/16/63, UDMA(100)
hdf: 156301487 sectors (80026 MB) w/2000KiB Cache, CHS=155060/16/63, UDMA(100)
hda: hda1 hda2 hda3 hda4 < hda5 >
hde: hde1
hdf: hdf1
hdc: ATAPI 32X CD-ROM drive, 256kB Cache, DMA
What am I missing?? I am using GRUB for my bootloader. Is there something I need to
configure there?
Thanks,
Mike