Solved

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

Posted on 2008-10-06
7
836 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
  • 4
  • 3
7 Comments
 
LVL 87

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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 87

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 87

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Samba is the de-facto standard program (or, more correctly: suite of programs) that UNIX and Linux systems use to share files with Microsoft Windows (and more recently, Mac OS-X) systems. Currently, there are 2 common versions of Samba available,…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now