Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Unable to fsck ext2 file system, but I can mount the partition and use files.

Posted on 2008-10-06
7
Medium Priority
?
849 Views
Last Modified: 2013-12-02
I have a Linux based NAS with a single partition used for immediate disk based backups prior to moving to other media.

The partition was about 98% full when it went south.  I was able to login to the NAS and effect a file system repair after umount using "xfs_repair -L <device>".  I was unable to fsck the partition.

I still cannot fsck the partition as it cannot find the superblock.  I have tried most of the alternate superblock as reported by "mke2fs -n <device>" with the same results.

I can mount the partition and use it, the mount comes back following reboots, I just cannot umount and fsck the partition.

How can I repair this partition so that the fsck functions?
0
Comment
Question by:jvossler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 88

Expert Comment

by:rindi
ID: 22656969
Remove the HD from the NAS, put it into a PC, boot it using a knoppix or Mepis LiveCD and run fsck commands from there.

http://knoppix.net
http://mepis.org
0
 

Author Comment

by:jvossler
ID: 22659046
The NAS is a RAID device using 6 drives of 500 GB each.  The 4.0 TB (raw) capacity shows up as a 3.2 TB disk to the Linux OS and it is available via NFS.

I am assuming that any remedy for the fsck will have to be done locally on the Linux OS in order to preserve the data on the RAID set.
0
 

Author Comment

by:jvossler
ID: 22659054
Sorry, make that 8 drives of 500 GB each.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 88

Expert Comment

by:rindi
ID: 22659093
It depends on what the local Linux is capable of. Maybe you need to get in touch with the NAS manufacturer, as those OS's installed are usually cut down.
0
 

Accepted Solution

by:
jvossler earned 0 total points
ID: 22812654
The vendor support has been less than helpful.  Our experience with this company has repeatedly shown a lack of customer server on both hardware and software.  Even a failed power supply could not be replaced correctly.  After getting the model number and serial number they sent a replacement power supply that would not work in the unit TWICE.  Only when we sent the failed unit to them could they determine which power supply they needed to ship.

The NAS operating system is only supported by ONE person "Dr. Hao" that, while he may be the creator of the version of Linux they are shipping, he has no concept of customer service.  His answer was that we needed to replace the OS mother board and take a 50%+ chance of loosing all the data, or send the entire unit back to them for investigation for a couple of weeks with no confidence that the data would be intact.

Aberdeen Inc is a small company attempting to play in the enterprise storage market.  They do not have the hardware support, software support or customer service expertise to stand behind there products.


This device hold all our immediate backups
0
 
LVL 88

Expert Comment

by:rindi
ID: 22812954
Check the following link, it explains what can help to repair an XFS filesystem.

As your system is using XFS, fsck won't help as that isn't for XFS filesystems.

http://linux.die.net/man/8/xfs_repair

0
 

Author Comment

by:jvossler
ID: 22830717
I am using xfs_repair to get the file system up and running each time this happens.  But the man page you reference does include the fsck.xfs reference that should allow fsck on an xfs file system.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More or less everybody in the IT market understands the basics of Networking, however when we start talking about Storage Networks, things get a bit dizzier, and this is where I would like to help.
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question