Solved

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

Posted on 2008-10-06
7
842 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
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 
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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Patch Management is administrated by page 129 of  the following document:     http://support.dell.com/support/edocs/software/smdmc/11/en/ug/ug.pdf However, there are issues with Patch Management with FTP (for instance, a slow Internet connectio…
The 6120xp switches seem to have a bug when you create a fiber port channel when you have a UCS fabric interconnects talking to them.  If you follow the Cisco guide for the UCS, the FC Port channel will never come up and it will say that there are n…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

617 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