DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2012-03-13 01:09:04

elucubra
New member
Registered: 2012-03-12
Posts: 2

Unable to check disks ( e2fsck)

Hello,

After a series of mishaps, and a couple of very close together power-outs, I nedd to check my disks, but I seem to be unable to do so.

To start, I have a 1 TB + a 2 TB drive in my 320.  I set them up as a 1 TB RAID 1volume, with the remaining space as a 1 TB JBOD volume.

I tried to follow the insructions at http://www.inreto.de/dns323/fsck/, but it didn't work. it told me something about a kernel incompatibility ( i think)

To be able to fsck them, I'm booting from a USB.   I believe I have unmounted both volumes, but when I try to run e2fsck, it tells me that :

# Filesystem mounted or opened exclusively by another program?
-sh: Filesystem: not found

I'm stumped.

How can I repair the FS?

Offline

 

#2 2012-03-13 21:22:34

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Unable to check disks ( e2fsck)

elucubra wrote:

I tried to follow the insructions at http://www.inreto.de/dns323/fsck/, but it didn't work. it told me something about a kernel incompatibility ( i think)

Yes, that is true. This method is DNS323 only, unless someone ports the reloader module to the Kirkwood kernel.

I believe I have unmounted both volumes

What is the output of

Code:

cat /proc/mounts

How can I repair the FS?

Besides the way you are already trying, you could connect the disks to a Linux PC, assemble the raid array, and check them.

Offline

 

#3 2013-02-24 03:35:13

DrPaul
New member
Registered: 2012-05-11
Posts: 3

Re: Unable to check disks ( e2fsck)

Sorry to hijack this thread, but I have the same issue.  I am trying to check a linear raid (my /dev/md2) after I lost a drive.  /dev/md2 is not mounted.  Below is my /proc/mdstat.  I just added the new drive back to /dev/md0 and /dev/md1.  BTW, anyone know why the swap on a DNS-325 is setup as a RAID1?  Thanks in advance.

Paul

Personalities : [linear] [raid0] [raid1]
md2 : active linear sda3[0]
      978840384 blocks 64k rounding
     
md1 : active raid1 sdb2[2] sda2[0]
      973629312 blocks [2/1] [U_]
      [====>................]  recovery = 21.9% (213806272/973629312) finish=98.9min speed=127979K/sec
     
md0 : active raid1 sdb1[2] sda1[0]
      530048 blocks [2/1] [U_]
          resync=DELAYED
     
unused devices: <none>

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB