• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hard disk mystery  RSS feed

 
Renu, Vairagade
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I’ve a Red Hat 6.2 Linux box in my office. On booting, the system echoes following information.
………
Partition check
hda: hda1 hda2 < hda5 > hda3 hda4
…….(more msgs)
Loading default keymap
Activating swap partitions swapon : /dev/hda4 : Invalid argument
swapon : /dev/hda4 : Invalid argument[FAILED]
Setting hostname miniature
Checking root filesystem
/dev/hda3 : clean, 59737 / 235200 files, 230849 / 469893 blocks [OK]
………..
Do these messages say that I have a hard drive/ partition named /dev/hda4? If yes, where is it located? When I give command df –h, I get following info.
$df –h
Filesystem Size Used Avail Use Mounted on
/dev/hda3 1.8G 873M 842M 71% /
If I do have a hard drive/ partition /dev/hda4, then why don’t I see it listed in the list above? Could it be that such a drive/partition does exist, but remains unused since it is unmounted, for whatever reasons? If unmounted, how can I mount it?
Please help me solve this mystery.
Thanx & regards
 
Tim Holloway
Saloon Keeper
Posts: 18800
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to your log, you DO have a /dev/hda4 - and it's a primary partition. Which any partition less that 5 should be. Although the exact format of the log message appears strange.
If you fun fdisk you should be able to see the partitions and what kind of filesystems are supposed to be there. You can then compare that with what's in /etc/fstab.
Also check the /etc/inittab and /etc/rc.d/rc.sysinit files for damage.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!