Solved

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

Posted on 2008-10-06
7
839 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 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Connecting APC UPS 2200 via serial port 3 154
Server suggestion 2 37
Move Users to New Domain from Old Domain 8 101
need to clone a white copy of a linux device 2 99
Have you ever stumbled upon a software that is so great that you just love? It happened to me. Love at first sight. Filezilla Server.   Ok its not the most advanced ftp server I've came across. But its a fairly simple piece of software to get the …
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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