Solved

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

Posted on 2008-10-06
7
837 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Problem: Windows 32bit running out of paging space. Solution: Add additional page files on separate partitions. Background: By default Windows creates only one page file on the partition you install Windows on. You may know that the maximu…
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

15 Experts available now in Live!

Get 1:1 Help Now