Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linux server1.example.com 2.4.21-27.EL #1 SMP Wed Dec 1 21:53:20 EST 2004 ppc64 ppc64 ppc64 GNU/Linux
In which one of the partition is mounted read only.
when i try to create folder in the corresponding partition i am getting this error.
mkdir: cannot create directory `test': Input/output error
I would recommend having a backup of this critical data somewhere else as a first step.
Do you know the dev name that is causing problems? You can type `mount` and find out what dev is being mounted for the partition you are referring to. For example: "/dev/sda2 on /home type ext3 (rw,acl)" means /home is being mounted from /dev/sda2.
I would then unmount that partition - example: `umount /home`
Then run `e2fsck /dev/sda2`
Hi zQUEz Thanks for you replay. just curious e2fsck /dev/sde is that command is sufficient or i have to send any parameters like -y . Bcos the e2fsck is going to run overnight. Just to know will formatting the partition will solve the problem?.
I unmounted the corresponding partition and run the e2fsck /dev/sde I got these errors
[root@server1 root]# e2fsck /dev/sde
e2fsck 1.32 (09-Nov-2002)
/dev/sde contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes Error reading block 268435458 (Attempt to read block from filesystem resulted in short read) while doing inode scan. Ignore error<y>? yes
Force rewrite<y>? yes
Error reading block 268435459 (Attempt to read block from filesystem resulted in short read) while doing inode scan. Ignore error<y>
do i have to continue with yes or no? And let me know do i want replace the HDD?
It is not sounding like your HDD is healthy at this point.
Assuming you have a backup, you could run with a -y flag to have it automatically assume yes to all prompts.
OR, you could use the -p flag which will have it fix errors that it finds that can be easily fixed, but if it comes across an error that may cause issues fixing, it will fail and stop.
I would say at this point, use the -y flag and see what happens.
I tried with -p flag but it stops with the error "Unexpected inconsistency". I have AMC for the HDD which is in SAN. so can i go for the replacement of running the e2fsck -y to solve the error. Bcos you have mentioned that HDD is not healthy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.