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.
I have 2 hard drives on mu box
1st one is 500.0 MB ext4 Volume where I have my syste FC 13
and a 2nd one where I put my database files as follows
78.1 GB ext4 Volume usage = filesystem, format ext4
ih file browser, I can see an icon for a 80GB hard drive but whenever I double click I get the following
Quote:
Error mounting volume
An error occured while performing an operation on data Partition 1 of ATA Maxtor <: <the operation failed
clicking details
Quote:
Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
when I type
Quote:
dmesg | tail
I get
Quote:
# dmesg | tail
[drm] nouveau 0000:01:00.0: Allocating FIFO number 3
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 3
[drm] nouveau 0000:01:00.0: Allocating FIFO number 4
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 4
EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 343 failed (14677!=8565)
EXT4-fs (sda1): group descriptors corrupted!
EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 343 failed (14677!=8565)
EXT4-fs (sda1): group descriptors corrupted!
EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 343 failed (14677!=8565)
EXT4-fs (sda1): group descriptors corrupted!
What is very strange is that mysql works fine.
In disk utility, it indicates that disk is healthy, but when I click check file system i get
File system check on "data" (Partition 1 of ATA MAXTOR STM380215A) completed
File system is NOT clean
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
Hi there,
Check the man page for shutdown. I think you have to run 'shutdown -r -F now' and fdisk will start. However this is possible if the mount point is in fstab.
Another thing you can do is unmount the drive (if you can) and run fdisk directly on it.
Honestly I prefer the first option. Always worked for me.
Hope this helps.
e2fsck 1.41.10 (10-Feb-2009)
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sda
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 something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
My disk is ext4 and not ext2, so how should I run it
Thanks in advance
First run "mount" or "df" to make sure that /dev/sda1 is not mounted. Then use "e2fsck -v /dev/sda1" to check the ext4 file system. If it seems clean you add the f option to force checking:
I ran the 1st one, it asked me
One or more block group descriptor checksums are invalid. Fix<y>? yes
respondes by yes and ended by several other requests like this and funally
Quote:
Free inodes count wrong for group #1 (0, counted=8192).
Fix<y>? yes
Free inodes count wrong for group #343 (0, counted=8192).
Fix<y>? yes
by the way are other users have the right to see the contents of this device
I log with my user and I want to have all privileges as well on the device
ozegoods, I rebooted, and mysql does not start any more
I get
Quote:
[root@salamlinux ~]# service mysqld start
MySQL Daemon failed to start.
Starting mysqld:
IN the log file I have
Quote:
/usr/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
101025 0:21:53 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
101025 0:21:53 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
101025 00:21:53 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Well, the message says; "The error means mysqld does not have the access rights to the directory."
Access to files and directories is restricted according to permissions set with chmod and ownership set with chown, however I have never known e2fsck to change permissions or ownership.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.