unraid not starting up completely


Recommended Posts

Hi

 

I wrote this in another thread (http://lime-technology.com/forum/index.php?topic=619.0) but since it doesn't have much to do with undeleting and a lot to do with brigning my tower up and running, I'm starting fresh.

 

Basically, I did

samba stop

umount /dev/md1

reiserfsck  --rebuild-tree --scan-whole-partition  /dev/md5

samba start

went to the web interface, stop the array

 

Then everything stopped from the web interface.

Before the stop, disk1 showed up as unformatted

 

after 5-10 minutes of nothing, I rebooter tower.

 

Now I have access to \\tower\discx and to some of my user shares, but not all of them.  The web interface won't come up

 

Access is slow so I think it's still working without using the physical disk1, just giving me access to files through the parity disk.

 

I have a backup of disk1 so I don't really care with what happens next, but I need the management station back up.

 

Any ideas ?

 

Gog

 

 

 

Link to comment

Is is possible that the rebuild tree created a lot of top level folders on your disks?  If so, user-shares will crash when it runs out of resources as it tries to make a shared drive on the LAN for them all.

 

if the folders were created, move them down a level... You might be able to get started then.

 

Joe L.

Link to comment

The thing is, I'm not sure where to look...

 

if I go to /mnt/disk1, it's completely empty.

 

if I do a df, /dev/md1 and /mnt/disk1 doesn't show up

And I don<t date mount /dev/md1 as I'm far from familiar with the command and I don't want to mess up my array

 

Gog

Link to comment

results below.

 

I plugged in a monitor in the video card and I see a segfault on the mount command for /dev/md1...

 

root@Tower:~# df

Filesystem          1K-blocks      Used Available Use% Mounted on

/dev/sde1              507104    30552    476552  7% /boot

/dev/md3            195354984  23155360 172199624  12% /mnt/disk3

/dev/md2            488371640 385136004 103235636  79% /mnt/disk2

shfs                683726624 408291364 275435260  60% /mnt/user

root@Tower:~# smbstatus

diskNumErrors.2=0

Samba version 3.0.26a

PID    Username      Group        Machine

-------------------------------------------------------------------

rdevType.2=SATA

Service      pid    machine      Connected at

-------------------------------------------------------

rdevSerial.2=5QG19T6R

No locked files

diskNumber.3=3

root@Tower:~# mdcmd status

cmdOper=status

cmdResult=ok95360952

sbName=/boot/config/super.dat

sbVersion=0.92.01TS6M

sbCreated=12007003183

sbUpdated=120233418019

sbEvents=20rs.3=0

sbState=0r.3=3

sbNumDisks=4=DISK_OK

sbSynced=1200773997

sbSyncErrs=0ATA

rdevSize.3=195360952

mdVersion=0.92.000826AS

mdState=STARTEDD1TS6M

mdNumProtected=4

mdNumDisabled=0

mdDisabledDisk=0

mdNumInvalid=0

mdInvalidDisk=0

mdNumMissing=0

mdMissingDisk=0

mdNumNew=0ds.4=0

mdResync=0tes.4=0

diskNumErrors.4=0

diskNumber.0=0

diskName.0=4=DISK_NP

diskState.0=7

diskSize.0=488386552

diskModel.0=ST3500320AS

diskSerial.0=5QM03DBL

diskNumReads.0=1376752

diskNumWrites.0=1376757

diskNumErrors.0=0

rdevNumber.0=0

rdevStatus.0=DISK_OK

rdevName.0=sda

rdevType.0=SATA

rdevSize.0=488386552

rdevModel.0=ST3500320AS

rdevSerial.0=5QM03DBL

diskNumErrors.5=0

diskNumber.1=1

diskName.1=md1ISK_NP

diskState.1=7

diskSize.1=488386552

diskModel.1=ST3500630AS

diskSerial.1=9QG1BQJ4

diskNumReads.1=122496551

diskNumWrites.1=213995

diskNumErrors.1=0

rdevNumber.1=1

rdevStatus.1=DISK_OK

rdevName.1=sdb

rdevType.1=SATA

rdevSize.1=488386552

rdevModel.1=ST3500630AS

rdevSerial.1=9QG1BQJ4

diskNumErrors.6=0

diskNumber.2=2

diskName.2=md2ISK_NP

diskState.2=7

diskSize.2=488386552

diskModel.2=ST3500630AS

diskSerial.2=5QG19T6R

diskNumReads.2=3107434

diskNumWrites.2=908145

diskNumErrors.2=0

rdevNumber.2=2

rdevStatus.2=DISK_OK

rdevName.2=sdc

rdevType.2=SATA

rdevSize.2=488386552

rdevModel.2=ST3500630AS

rdevSerial.2=5QG19T6R

diskNumErrors.7=0

diskNumber.3=3

diskName.3=md3ISK_NP

diskState.3=7

diskSize.3=195360952

diskModel.3=ST3200826AS

diskSerial.3=3ND1TS6M

diskNumReads.3=254843

diskNumWrites.3=254619

diskNumErrors.3=0

rdevNumber.3=3

rdevStatus.3=DISK_OK

rdevName.3=sdd

rdevType.3=SATA

rdevSize.3=195360952

rdevModel.3=ST3200826AS

rdevSerial.3=3ND1TS6M

diskNumErrors.8=0

diskNumber.4=4

diskName.4=8=DISK_NP

diskState.4=0

diskSize.4=0ATA

diskModel.4=

diskSerial.4=

diskNumReads.4=0

diskNumWrites.4=0

diskNumErrors.4=0

rdevNumber.4=4

rdevStatus.4=DISK_NP

rdevName.4=0

rdevType.4=PATA

rdevSize.4=0=

rdevModel.4=.9=0

rdevSerial.4=.9=0

diskNumErrors.9=0

diskNumber.5=5

diskName.5=9=DISK_NP

diskState.5=0

diskSize.5=0ATA

diskModel.5=

diskSerial.5=

diskNumReads.5=0

diskNumWrites.5=0

diskNumErrors.5=0

rdevNumber.5=5

rdevStatus.5=DISK_NP

rdevName.5==0

rdevType.5=PATA

rdevSize.5=00=

rdevModel.5=.10=0

rdevSerial.5=.10=0

diskNumErrors.10=0

diskNumber.6=610

diskName.6=10=DISK_NP

diskState.6=0

diskSize.6=0PATA

diskModel.6=0

diskSerial.6=

diskNumReads.6=0

diskNumWrites.6=0

diskNumErrors.6=0

rdevNumber.6=6

rdevStatus.6=DISK_NP

rdevName.6==0

rdevType.6=PATA

rdevSize.6=01=

rdevModel.6=.11=0

rdevSerial.6=.11=0

diskNumErrors.11=0

diskNumber.7=711

diskName.7=11=DISK_NP

diskState.7=0

diskSize.7=0PATA

diskModel.7=0

diskSerial.7=

diskNumReads.7=0

diskNumWrites.7=0

diskNumErrors.7=0

rdevNumber.7=7

rdevStatus.7=DISK_NP

rdevName.7==0

rdevType.7=PATA

rdevSize.7=02=

rdevModel.7=.12=0

rdevSerial.7=.12=0

diskNumErrors.12=0

diskNumber.8=812

diskName.8=12=DISK_NP

diskState.8=0

diskSize.8=0PATA

diskModel.8=0

diskSerial.8=

diskNumReads.8=0

diskNumWrites.8=0

diskNumErrors.8=0

rdevNumber.8=8

rdevStatus.8=DISK_NP

rdevName.8==0

rdevType.8=PATA

rdevSize.8=03=

rdevModel.8=.13=0

rdevSerial.8=.13=0

diskNumErrors.13=0

diskNumber.9=913

diskName.9=13=DISK_NP

diskState.9=0

diskSize.9=0PATA

diskModel.9=0

diskSerial.9=

diskNumReads.9=0

diskNumWrites.9=0

diskNumErrors.9=0

rdevNumber.9=9

rdevStatus.9=DISK_NP

rdevName.9==0

rdevType.9=PATA

rdevSize.9=04=

rdevModel.9=.14=0

rdevSerial.9=.14=0

diskNumErrors.14=0

diskNumber.10=10

diskName.10=4=DISK_NP

diskState.10=0

diskSize.10=0ATA

diskModel.10=

diskSerial.10=

diskNumReads.10=0

diskNumWrites.10=0

diskNumErrors.10=0

rdevNumber.10=10

rdevStatus.10=DISK_NP

rdevName.10=0

rdevType.10=PATA

rdevSize.10=0=

rdevModel.10=15=0

rdevSerial.10=15=0

diskNumErrors.15=0

diskNumber.11=11

diskName.11=5=DISK_NP

diskState.11=0

diskSize.11=0ATA

diskModel.11=

diskSerial.11=

diskNumReads.11=0

diskNumWrites.11=0

diskNumErrors.11=0

rdevNumber.11=11

rdevStatus.11=DISK_NP

rdevName.11=

rdevType.11=PATA

rdevSize.11=0

rdevModel.11=

rdevSerial.11=

 

diskNumber.12=12

diskName.12=

diskState.12=0

diskSize.12=0

diskModel.12=

diskSerial.12=

diskNumReads.12=0

diskNumWrites.12=0

diskNumErrors.12=0

rdevNumber.12=12

rdevStatus.12=DISK_NP

rdevName.12=

rdevType.12=PATA

rdevSize.12=0

rdevModel.12=

rdevSerial.12=

 

diskNumber.13=13

diskName.13=

diskState.13=0

diskSize.13=0

diskModel.13=

diskSerial.13=

diskNumReads.13=0

diskNumWrites.13=0

diskNumErrors.13=0

rdevNumber.13=13

rdevStatus.13=DISK_NP

rdevName.13=

rdevType.13=PATA

rdevSize.13=0

rdevModel.13=

rdevSerial.13=

 

diskNumber.14=14

diskName.14=

diskState.14=0

diskSize.14=0

diskModel.14=

diskSerial.14=

diskNumReads.14=0

diskNumWrites.14=0

diskNumErrors.14=0

rdevNumber.14=14

rdevStatus.14=DISK_NP

rdevName.14=

rdevType.14=PATA

rdevSize.14=0

rdevModel.14=

rdevSerial.14=

 

diskNumber.15=15

diskName.15=

diskState.15=0

diskSize.15=0

diskModel.15=

diskSerial.15=

diskNumReads.15=0

diskNumWrites.15=0

diskNumErrors.15=0

rdevNumber.15=15

rdevStatus.15=DISK_NP

rdevName.15=

rdevType.15=PATA

rdevSize.15=0

rdevModel.15=

rdevSerial.15=

root@Tower:~#

 

 

 

 

Link to comment
Basically, I did

samba stop

umount /dev/md1

reiserfsck  --rebuild-tree --scan-whole-partition  /dev/md5

samba start

went to the web interface, stop the array

 

I'm sure by now you have everything working, but if not...

 

Perhaps you were typing quickly, and forgot a step or 2, but the above procedure indicates that you umount'ed disk1, then ran reiserfsck on disk5 (which you don't have), then did not re-mount disk1, leaving it essentially invisible.  Did you run 'mount /dev/md1 /mnt/disk1' ?

 

Link to comment

right, copy and paste error.  That should be reiserfsk on md1

 

No, I stil haven't fixed this.  It may have to do with the fact that when I reboot the unraid server, my SageTV server is useless and that has a severe effect on the WAF...

 

I'm planning on physically removing disk 1 from the case this morning, see if the server recovers.

 

Mathieu

Link to comment

 

OK, so with disk1 physically out of the box, it boots and the web interface is up.

 

I want to remove that data from the array.  Can someone confirm that if I do a "restore" with one disk out, the array will be rebuild and that disk<s data will be purged from the parity drive ?

 

I read this:  "Restore will initialize the stored array configuration; all drives will appear as New, but data disk contents are not affected." but I'm a bit nervous...

 

Gog

Link to comment

Restore will "Set" the configuration to the currently assigned disks. It will rebuild parity based on the currently assigned disks.

 

So, stop the array, un-assign disk1, then on the main page, check the checkbox below "restore" and press the "Restore" button. (It does not actually restore anything, it "Stores" a configuration based on the drives currently assigned on the devices page and then calculates parity from those same assigned drives.)

 

Joe L.

Link to comment

I'm confused...

 

I  did the un-assign, restore, add-disk, assign, clear, forma.

 

Now the web interface tells me that I have a disk1 and that it's 100% free

 

The problem is, I still see my data under \\tower\disk1

 

I had made a backup of disk1 in \\tower\disk2\disk1.  I had done so through telnet.  I don't remember exactly my command, but something like "cp /mnt/disk1/. /mnt/disk2/disk1/."  Now it seems there is a symbolic link somewhere because I can read and write things in \\tower\disk1 and the changes show up in \\tower\disk2\disk1

 

How can I break that link ?

 

thanks

 

Gog

 

Link to comment

You just got it confused.  Your disk contents are probably still there.  Unraid shows as "unformatted" any drive it cannot mount with a reiserfs file-system.  There are many reasons the mount will fail... one of which is that the drive is "unformatted"

 

Reboot your server...  See what it then shows as shares. 

 

From the telnet prompt you can type:

cd

samba stop

stop

sync

reboot

 

Joe L.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.