Author Topic: write error?  (Read 2069 times)

Offline smandable

  • Member
  • **
  • Posts: 49
Re: write error?
« Reply #30 on: July 20, 2012, 08:56:40 PM »
Hmm... no corruptions found on the 2 TB...

Offline smandable

  • Member
  • **
  • Posts: 49
Re: write error?
« Reply #31 on: July 20, 2012, 08:59:29 PM »
Tried to run a chk on the 3TB - "your filesystem is not big enough to contain the filesystem of (732566632) blocks as was specified in the found superblock. Failed to open the filesystem".

Offline Joe L.

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 17775
Re: write error?
« Reply #32 on: July 21, 2012, 06:59:23 AM »
Joe,

Thank you - I did search for this, but hadn't found the answer yet! "ls -l /dev/disks/by-id" gives me "no such file or directory", for some reason. I'd actually tried "reiserfsck --check /dev/sdf" , but left the "1" off ;)
One thing I have also been searching for is: which number would the parity drive be? sda1? I ask because I didn't want to run a filesystem check on it.
Sorry.

"disk", not "disks"   (I mis-typed)

ls -l /dev/disk/by-id

and you MUST use the first partition (with the "1" added to the base name of the drive)
Any correction action on the base name will not find the superblock (since it is not there) and if you attempt to then rebuild it, you'll corrupt the file-system that is on there.

Joe L.

Offline dgaschk

  • Hero Member
  • *****
  • Posts: 5696
Re: write error?
« Reply #33 on: July 21, 2012, 08:43:19 AM »
One thing I have also been searching for is: which number would the parity drive be? sda1? I ask because I didn't want to run a filesystem check on it.

It is safe to run the command with --check. You may as well run it on all of the data disks.

What you could do is remove the 3TB drive. Assign the 2TB to the slot and run the new config utility. This will set a new disk configuration, and invalidate parity. I don't believe the current parity is good anyways. Then, you should be able to run the file system check.

This should work.

Ok - but won't I lose the contents of that 2TB drive then?

No. After setting New Config the drives indicators should all turn blue and parity will rebuild when the array is started.
Include your VERSION and SYSTEM LOG for support issues
Unofficial Documentation  Check Disk Filesystems  The Analysis of Drive Issues  Console Commands 

Revert to stock system:                    Stock go file:
1. Rename the /boot(flash)/config/plugins directory.
2. Rename the /boot(flash)/plugins directory.
3. Rename boot(flash)/extra/.
4. Use the stock go file (boot(flash)/config/go).
                    #!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &

Offline smandable

  • Member
  • **
  • Posts: 49
Re: write error?
« Reply #34 on: July 22, 2012, 09:59:29 AM »
Ok - I have checked the filesystem on all of the drives. The only errors I had were actually on the parity drive ("bad root block"). Oddly, the 3TB drive also passed the check, and I say "oddly" because I had only gotten to about the 5GB mark on it when the rebuild failed. The drive still says there is 1.2 TB free. I am planning on researching the reiser fs a bit - I seem to recall something about the journal being quite small, but containing all of the file info. So maybe the actual data isn't there, but the journal is? In any case, I have the 2TB back in place, and am running a parity rebuild on the array with that one in place.
When it's complete, I will do a smart test on the parity drive to be sure it is ok, and then just add the 3TB to the array as an additional data drive.

Offline Joe L.

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 17775
Re: write error?
« Reply #35 on: July 22, 2012, 11:59:19 AM »
Ok - I have checked the filesystem on all of the drives. The only errors I had were actually on the parity drive ("bad root block"). Oddly, the 3TB drive also passed the check, and I say "oddly" because I had only gotten to about the 5GB mark on it when the rebuild failed. The drive still says there is 1.2 TB free. I am planning on researching the reiser fs a bit - I seem to recall something about the journal being quite small, but containing all of the file info. So maybe the actual data isn't there, but the journal is? In any case, I have the 2TB back in place, and am running a parity rebuild on the array with that one in place.
When it's complete, I will do a smart test on the parity drive to be sure it is ok, and then just add the 3TB to the array as an additional data drive.
The parity drive NEVER has a file-system on it.   There will never be a superblock found, as there is no file-system.
If you attempt to put one on it (attempt to fix the superblock), it will cause the next parity check to fail (and be useless as a parity drive to protect the others in the array until a proper parity sync is again made.)

Offline smandable

  • Member
  • **
  • Posts: 49
Re: write error?
« Reply #36 on: July 22, 2012, 07:11:13 PM »
That's what I'd thought - just someone had said it wouldn't hurt to check the fs on the parity drive, so thought I would see what it did. At any rate, less than an hour left on the parity rebuild, so hopefully that will complete successfully, and I will be all set.

Anyone have any thoughts as to why the 3TB drive was reporting 1.2 TB free (and no errors when I ran reiserfsck) when it had only gotten to the 5GB or so mark before failing the rebuild? I would have expected it to be mostly empty...

Offline mbryanr

  • Hero Member
  • *****
  • Posts: 1248
Re: write error?
« Reply #37 on: July 23, 2012, 05:13:28 AM »
Something with the error message you got when attempting to rebuild onto the 3TB...
I would run pre clear on that drive.

Sent from my SAMSUNG-SGH-I897 using Tapatalk 2
My build
Media Players: WDTV Live, Boxee Box 1, Boxee Box 2,
Server 1:unRAID (15.5TB) Server 2:Synology DS-210j (1.5TB Raid1) Server 3:Synology DS-411j (4TB Raid1)
Router:Asus RT-N56U w/Custom FW and Asus EA-N66
Switch:HP Procurve 1410-8G

Offline smandable

  • Member
  • **
  • Posts: 49
Re: write error?
« Reply #38 on: July 23, 2012, 05:47:15 PM »
Thanks. I just finished the preclear. Now (and I will open a new thread for this if you think I should), I stop the array, add the new drive, check the "Yes I want to do this" checkbox - and the page refreshes. As in, I can add/remove disks, etc - the selects are still active. I can't seem to actually start the array!

~Sean

Offline smandable

  • Member
  • **
  • Posts: 49
Re: write error?
« Reply #39 on: July 23, 2012, 06:58:24 PM »
mbryanr,

I got an email that you had posted a reply - but I don't see it. Can you re-post?

Thank you,

Sean

Offline mbryanr

  • Hero Member
  • *****
  • Posts: 1248
Re: write error?
« Reply #40 on: July 23, 2012, 07:13:28 PM »
It should attempt to format the disk..... Anything in the syslog?

Sent from my SAMSUNG-SGH-I897 using Tapatalk 2
My build
Media Players: WDTV Live, Boxee Box 1, Boxee Box 2,
Server 1:unRAID (15.5TB) Server 2:Synology DS-210j (1.5TB Raid1) Server 3:Synology DS-411j (4TB Raid1)
Router:Asus RT-N56U w/Custom FW and Asus EA-N66
Switch:HP Procurve 1410-8G

Offline smandable

  • Member
  • **
  • Posts: 49
Re: write error?
« Reply #41 on: July 23, 2012, 07:31:36 PM »
I'm attaching it... but I see this:

Jul 23 22:07:25 Tower kernel: md: import disk6: [8,96] (sdg) WDC_WD30EZRX-00MMMB0_WD-WMAWZ0113519 size: 2930266532
Jul 23 22:07:25 Tower kernel: md: disk6 new disk

The "format" button never appears. The page refreshes as though I hadn't added the disk.

Offline mbryanr

  • Hero Member
  • *****
  • Posts: 1248
Re: write error?
« Reply #42 on: July 24, 2012, 08:28:35 AM »
Create a new thread... It should be formatting..

Sent from my SAMSUNG-SGH-I897 using Tapatalk 2
My build
Media Players: WDTV Live, Boxee Box 1, Boxee Box 2,
Server 1:unRAID (15.5TB) Server 2:Synology DS-210j (1.5TB Raid1) Server 3:Synology DS-411j (4TB Raid1)
Router:Asus RT-N56U w/Custom FW and Asus EA-N66
Switch:HP Procurve 1410-8G

Offline mbryanr

  • Hero Member
  • *****
  • Posts: 1248
Re: write error?
« Reply #43 on: July 25, 2012, 05:24:20 AM »
What version of pre clear did you use?

Sent from my SAMSUNG-SGH-I897 using Tapatalk 2
My build
Media Players: WDTV Live, Boxee Box 1, Boxee Box 2,
Server 1:unRAID (15.5TB) Server 2:Synology DS-210j (1.5TB Raid1) Server 3:Synology DS-411j (4TB Raid1)
Router:Asus RT-N56U w/Custom FW and Asus EA-N66
Switch:HP Procurve 1410-8G

Offline smandable

  • Member
  • **
  • Posts: 49
Re: write error?
« Reply #44 on: July 25, 2012, 11:47:15 AM »
I used the preclear.sh script - I just precleared again last night, thinking that perhaps since I had at some point tried to use the drive for a data rebuild it might need to be done again. No luck, though.