Sponsored Content
Full Discussion: Fail to check disk
Top Forums UNIX for Dummies Questions & Answers Fail to check disk Post 302594101 by chebarbudo on Monday 30th of January 2012 12:29:35 PM
Old 01-30-2012
Error Fail to check disk

Hi there,

I can't find any way to check the file system on a partition.
The two following command fail with the same result:
Code:
e2fsck /dev/sdc10
e2fsck -b 8193 /dev/sdc10

Output:
Code:
e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Bad magic number in super-block while trying to open /dev/sdc10

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>

I already tried and searched this forum but none of the following threads could be of any help:
Can't repair super block, bad magic number - The UNIX and Linux Forums
Corrupted Hard Drive - The UNIX and Linux Forums
Bad magic number in super-block - The UNIX and Linux Forums

What other command can I do the check and repair the filesystem.

Thanks for your help
Santiago
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

check disk

How I do to check disk not use in my server. Sun Solaris 2.8 df -k du |sort -rn But I want check disk and analyse a file system not used. Thanks for reply. (1 Reply)
Discussion started by: chris_carmo
1 Replies

2. Shell Programming and Scripting

need help with disk check script

I wrote a script that checks particular device path directory which is full or more than 90% used, and will search older file inside and delete it. My code looks like this: #!/usr/bin/ksh ref=90 df -k | grep /cbmdata/00/gdd | tr -d '%' | \ while read a b c d e other do if (( $e >= $ref... (4 Replies)
Discussion started by: xramm
4 Replies

3. Solaris

How to check disk broken

Dear all, I have system that have 2 disk, and 1 off disk is broken, how can I check if the disk is broken or other problem. I'm using Solaris 10 x86. Thank you, Best Regards, Heru (4 Replies)
Discussion started by: heru_90
4 Replies

4. Solaris

check disk info

hi friends, - how may i check the list of disk partitions created till date specifying their physical path, size and date ? -i know only "df -k" "df -h" "du" -anyother command? -kindly advise friends..thanks alot (4 Replies)
Discussion started by: cromohawk
4 Replies

5. Solaris

Disk space check

Hi, I have a question regarding finding free space on the disk of a solaris machine. Many mount points are available in my machine. Right now i am using df -b option to get the free disk space available. I have an assignment to check free space on the disk. I pass the directory as a... (6 Replies)
Discussion started by: raghu.amilineni
6 Replies

6. Solaris

How to check disk io

Hi, How to check disk io mount pointwise? I am working as Oracle DBA and want to check disk io as per mount point for adding new datafiles in tablesapce or change my redolog files to lowest disk I/O mount point. My all mount points are like /data1, /data2, /data3 ,,,,,. Can somebody tell me how... (1 Reply)
Discussion started by: rahul_switch
1 Replies

7. UNIX for Advanced & Expert Users

check if the disk is slow

Hi, we have some Oracle DBs on a AIX server. We have the following error messages : Warning: log write time 540ms, size 5444KB *** 2008-05-14 10:19:02.686 Warning: log write time 1470ms, size 5533KB Oracle in LGWR Is Generating Trace file with "Warning: Log Write Time 540ms, Size 5444kb"... (6 Replies)
Discussion started by: big123456
6 Replies

8. Shell Programming and Scripting

How to check background tasks status, if fail report

Hi, I have a requirement where I want to submit appx 100 jobs based on the files received. Assume today I received source file for 50 jobs, then I have submit a common script at 50 times. This common script will take appx 1-2 mins to finish. I can' complete my parent script untill all the... (1 Reply)
Discussion started by: meetvipin
1 Replies

9. Homework & Coursework Questions

Looking to check disk space

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Need to check the disk space and if any portion disk space usage high then write to one file, later will... (5 Replies)
Discussion started by: Jasminshakoor
5 Replies

10. Shell Programming and Scripting

Check disk space

I am trying a script which will alert if disk space crosses some threshold, i googled it and got some scripts already, but they are not working with my server. The problem is, my filesystem names are big, so the sizes are moving to the second line. just like below any ideas? thanks in advance... (8 Replies)
Discussion started by: karthikeayan
8 Replies
SYSTEMD-FSCK@.SERVICE(8)				       systemd-fsck@.service					  SYSTEMD-FSCK@.SERVICE(8)

NAME
systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck - File system checker logic SYNOPSIS
systemd-fsck@.service systemd-fsck-root.service /lib/systemd/systemd-fsck DESCRIPTION
systemd-fsck@.service and systemd-fsck-root.service are services responsible for file system checks. They are instantiated for each device that is configured for file system checking. systemd-fsck-root.service is responsible for file system checks on the root file system, but only if the root filesystem was not checked in the initramfs. systemd-fsck@.service is used for all other file systems and for the root file system in the initramfs. These services are started at boot if passno in /etc/fstab for the file system is set to a value greater than zero. The file system check for root is performed before the other file systems. Other file systems may be checked in parallel, except when they are on the same rotating disk. systemd-fsck does not know any details about specific filesystems, and simply executes file system checkers specific to each filesystem type (/sbin/fsck.*). This helper will decide if the filesystem should actually be checked based on the time since last check, number of mounts, unclean unmount, etc. If a file system check fails for a service without nofail, emergency mode is activated, by isolating to emergency.target. KERNEL COMMAND LINE
systemd-fsck understands these kernel command line parameters: fsck.mode= One of "auto", "force", "skip". Controls the mode of operation. The default is "auto", and ensures that file system checks are done when the file system checker deems them necessary. "force" unconditionally results in full file system checks. "skip" skips any file system checks. fsck.repair= One of "preen", "yes", "no". Controls the mode of operation. The default is "preen", and will automatically repair problems that can be safely fixed. "yes" will answer yes to all questions by fsck and "no" will answer no to all questions. SEE ALSO
systemd(1), fsck(8), systemd-quotacheck.service(8), fsck.btrfs(8), fsck.cramfs(8), fsck.ext4(8), fsck.fat(8), fsck.hfsplus(8), fsck.minix(8), fsck.ntfs(8), fsck.xfs(8) systemd 237 SYSTEMD-FSCK@.SERVICE(8)
All times are GMT -4. The time now is 02:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy