No such file or directory while trying to open /dev/sda1

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
jorjjj
Posts: 1
Joined: 2009/06/21 02:10:02

No such file or directory while trying to open /dev/sda1

Post by jorjjj » 2009/06/21 02:17:07

Hy,

I have a Centos server with cPanel and a USB External 160 Gb Hard.
I can mount it, it works just fine.

But I get this error message after the server restart, even if I removed the USB Hard (/dev/sda1),
and Centos doesn't start.

Please help me quicklyyyyy!!!



[code]Setting up Logical Volume Management:
Checking filesystems
/1: clean, 7299/1537088 files,...
fsck.ext3: No such file or directory while trying to open /dev/sda1
/dev/sda1:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or somethine else, then the syperblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

/home1: clean ...
/tmp1: clean...
/usr1: clean...
/var1: clean...
/boot: clean...

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot when you leave the shell.[/code]


Thanks

User avatar
AlanBartlett
Forum Moderator
Posts: 9323
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

No such file or directory while trying to open /dev/sda1

Post by AlanBartlett » 2009/06/21 09:09:09

Please check your [b]/etc/fstab[/b] file. I suspect that the entry you created for the device has incorrect parameters in the last three fields of the line.

I suggest you use similar to this --

[code]
[b]noauto,owner 0 0[/b]
[/code]
-- as the last three fields.

Post Reply

Return to “CentOS 4 - Server Support”