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 2008-03-25 00:03:14

aleck
Member
Registered: 2007-02-04
Posts: 15

Need help: unerasable file

I have recently switched from RAID to separate drives setup.
I pushed the format through web interface, that looks to have went ok. However, it only formatted one of the drives.

The second drive (now HD_b2) is not touched. I don't have an option in the web interface to format it. Is there a way to do this manually, from telnet?

The reason I want to do this is because there is this display in one of the folders on HD_b2:

drwxrwxrwx   14 nobody   501          4096 Mar 24 21:59 .
drwxrwxrwx    3 nobody   501          4096 Mar 24 21:59 ..
drwxrwxrwx    2 nobody   501          4096 Mar 24 21:59 F
drwxrwxrwx    2 nobody   501          4096 Mar 24 21:59 L
drwxrwxrwx    2 nobody   501          4096 Mar 24 21:59 N
?--S--s--x 29797 18317571 168502351868775033 Sep 12  2028 O
drwxrwxrwx    2 nobody   501          4096 Mar 24 21:59 S
drwxrwxrwx    2 nobody   501          4096 Jan 30  2007 T
drwxrwxrwx    2 nobody   501          4096 Jan 30  2007 U
drwxrwxrwx    2 nobody   501          4096 Jan 30  2007 V
drwxrwxrwx    2 nobody   501          4096 Jan 30  2007 W
drwxrwxrwx    2 nobody   501          4096 Jan 30  2007 X
drwxrwxrwx    2 nobody   501          4096 Jan 30  2007 Y
drwxrwxrwx    2 nobody   501          4096 Jan 30  2007 Z

This "O" used to be a folder, but now is some being of its own. I can't delete, rename, nothing. sad

1.04, fun_plug 0.4

Offline

 

#2 2008-03-25 00:14:35

jayas
Member
Registered: 2008-01-24
Posts: 151

Re: Need help: unerasable file

Hi Aleck,

Do a fdisk and check that partitions on /dev/sda are same as /dev/sdb, then use mke2fs to create the file system on /dev/sdb2.  I think just doing "mke2fs /dev/sdb2" should be sufficient.  Online manual can be found here:

  http://www.phpman.info/index.php?parame … p;mode=man

Hope this helps.

Jaya

Last edited by jayas (2008-03-25 00:14:58)


H/W=B1 F/W=1.04; RAID1: SAMSUNG HD501LJ T166 (500GB, SATA 3.0Gb/s 16MB)

Offline

 

#3 2008-03-25 00:35:49

aleck
Member
Registered: 2007-02-04
Posts: 15

Re: Need help: unerasable file

Wow, that was quick. smile
In the meantime, just after I posted the message, I remembered how I could format just one drive - simply take the other one out and format through the web interface.

This now resulted in HD_a2 becoming Volume_2, HD_b2 is Volume_1. This does not trouble me. There is also HD_b4, which seems to be a bug in the 1.04 FW, unless I misread the forum posts here. I can leave with that.

In any case, thanks for you help - given how I fiddle with this every other day, mke2fs pointer might still be used.

The only mystery is what happened so that I got that craziness in the file system...

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB