Cache drive Unformatted


Recommended Posts

Adding 3 new hard drives to the array and Putting them in their slots within the web gui.  For some reason I decided to change the cache drive slot to nothing and then put it back into cache drive position.  I thought there wouldn't be any danger in that as nothing would change unless i selected to apply it. 

 

So I went to start the array using the web gui and discovered that now the cache drive was showing as unformatted with the new drives being added.  It is still the same drive and it is still in the cache slot according to the web gui.

 

Checked the cache drive settings and found it was showing this

 

Partition format: GPT: 4K-aligned

File system type: unknown

 

When I check unmenu, i discover that it shows the cache drive as having a reiserfs filesystem.

 

WDC_WD30EZRX-00_WD-WMAWZ0427163 37°C 3T /dev/sda

 

 

partition (2,930,266,535 blocks): 3T /dev/sda1 /mnt/cache reiserfs

 

Not sure where to go from here.  I just want the array to recognise it as it was before as nothing should have changed.

 

Link to comment

Running version 5.0-rc12a

 

Tried to run this command

 

reiserfsck --check /dev/sda1

 

(Yes)

 

and then this shows up

 

Partition /dev/sda1 is mounted with write permissions, cannot check it

 

Just did this as well

 

dd if=/dev/sda1 count=195 | od -c -A d |  sed  30q

195+0 records in

195+0 records out

99840 bytes (100 kB) copied, 0.000464767 s, 215 MB/s

0000000  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0

*

0065536  i 024 252  +  J 201 314 027  6  X 261  \r 022  \0  \0  \0

0065552  \0  \0  \0  \0  \0      \0  \0  \0 004  \0  \0 316 212  ,  0

0065568 204 003  \0  \0 036  \0  \0  \0  \0  \0  \0  \0  \0 020 314 003

0065584 214 002 002  \0  R  e  I  s  E  r  2  F  s  \0  \0  \0

0065600 003  \0  \0  \0 005  \0  U  W 002  \0  \0  \0 240  G 306 001

0065616 001  \0  \0  \0 305 374  ^ 312  z  -  H 352 204 211  2  4

0065632 337 031  } 201  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0

0065648  \0  \0  \0  \0  L  \0 036  \0  : 204 325  O  \0  N 355  \0

0065664  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0

*

0065728  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 001  \0  \0  \0

0065744  Q 245  #  \0  U 245  #  \0  _ 245  #  \0  ` 245  #  \0

0065760  | 245  #  \0  } 245  #  \0 220 245  #  \0 222 245  #  \0

0065776 224 245  #  \0 227 245  #  \0 230 245  #  \0 232 245  #  \0

0065792 233 245  #  \0 235 245  #  \0 375 245  #  \0 376 245  #  \0

0065808 024 246  #  \0 025 246  #  \0 026 246  #  \0 030 246  #  \0

0065824 034 246  #  \0 036 246  #  \0    246  #  \0  ! 246  #  \0

0065840  " 246  #  \0  # 246  #  \0  % 246  #  \0  ' 246  #  \0

0065856  ) 246  #  \0  + 246  #  \0  . 246  #  \0  / 246  #  \0

0065872  R 246  #  \0  T 246  #  \0  c 246  #  \0  g 246  #  \0

0065888 336 246  #  \0 337 246  #  \0 343 246  #  \0 345 246  #  \0

0065904  y 257  #  \0  z 257  #  \0 300 262  #  \0 301 262  #  \0

0065920 325 262  #  \0 326 262  #  \0 341 262  #  \0 342 262  #  \0

0065936 347 262  #  \0 350 262  #  \0 031 265  #  \0 033 265  #  \0

0065952  a 266  #  \0  e 266  #  \0  g 266  #  \0  i 266  #  \0

0065968  j 266  #  \0  l 266  #  \0 213 266  #  \0 214 266  #  \0

0065984  g 267  #  \0  i 267  #  \0 202 267  #  \0 203 267  #  \0

0066000 002 304  #  \0 003 304  #  \0 337 304  #  \0 340 304  #  \0

 

Link to comment

Found out it was an unmenu script for making a swap file on the cache drive that was keeping it busy.  Unmounted the cache drive properly and started the reiser check.  This is what has happened so far. (will update this post as it continues)

 

 

Zero bit found in on-disk bitmap after the last valid bit.

Checking internal tree.. finished                               

Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs.

Checking Semantic tree:

finished                                                                     

2 found corruptions can be fixed when running with --fix-fixable

 

Input this

 

reiserfsck --fix-fixable /dev/sda1

 

Output

 

Replaying journal: Done.

Reiserfs journal '/dev/sda1' in blocks [18..8211]: 0 transactions replayed

Zero bit found in on-disk bitmap after the last valid bit. Fixed.

Checking internal tree.. finished                               

Comparing bitmaps..vpf-10630: The on-disk and the correct bitmaps differs. Will be fixed later.

Checking Semantic tree:

finished                                                                     

No corruptions found

There are on the filesystem:

Leaves 543058

Internal nodes 3709

Directories 485772

Other files 830449

Data block pointers 349248906 (16535493 of them are zero)

Safe links 0

###########

 

Started the array and everything has returned to normal.  Adding the new disks now.

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.