Jump to content

[SOLVED] replaced drive size does not match actual capacity


xisplo

Recommended Posts

Hello Everyone,

I dont want to recreate the Array as this is a test bench before i go live with it, and this was a test which I'd rather resolve than scratch and rebuild.

On my current production environment, I can easily swap disks and everything works correctly.
However, i cant solve this issue. Disk was precleared. 
I swapped in a 3TB for an artificially failed 2TB (unplugged).

 

Any suggestion?
The disk information shows 3TB, I'm just assuming this is a display issue under "size" (note the parity is 4Tb so the 2TB limit consideration does not apply)

 

MS2-drives.thumb.PNG.20ff4f30a71021a4295df14e724cccea.PNG

Edited by xisplo
Link to comment
Just now, trurl said:

And then what? Did you do the required rebuild of the replaced disk? Or did you arrive at this screenshot some other way?

of course the rebuild of the replaced disk took place. I've actually swapped in a second 3Tb and did a full rebuild and still the "size" identity shows 2TB

Link to comment

Which controller is that disk on? Marvell controllers are NOT recommended, and RAID controllers are NOT recommended.

 

04:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. 88SE9485 SAS/SATA 6Gb/s controller [1b4b:9485] (rev c3)
0a:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. 88SE9485 SAS/SATA 6Gb/s controller [1b4b:9485] (rev c3)

 

Link to comment
Oct 31 16:50:16 MS2 emhttpd: shcmd (190): xfs_growfs /mnt/disk7
Oct 31 16:50:16 MS2 kernel: XFS (md7): Corruption warning: Metadata has LSN (1227558665:4426755) ahead of current LSN (1:24). Please unmount and run xfs_repair (>= v4.3) to resolve.
Oct 31 16:50:16 MS2 kernel: XFS (md7): Metadata CRC error detected at xfs_allocbt_read_verify+0xd/0x3a [xfs], xfs_bnobt block 0xaea86668 
Oct 31 16:50:16 MS2 kernel: XFS (md7): Unmount and run xfs_repair
Oct 31 16:50:16 MS2 kernel: XFS (md7): First 128 bytes of corrupted metadata buffer:
Oct 31 16:50:16 MS2 kernel: 00000000: 36 2e 35 34 30 00 3c 00 a6 09 00 00 d4 31 08 00  6.540.<......1..
Oct 31 16:50:16 MS2 kernel: 00000010: 00 00 00 00 23 72 00 00 49 2b 0f 09 00 43 8c 03  ....#r..I+...C..
Oct 31 16:50:16 MS2 kernel: 00000020: 8a 41 e5 27 4b 10 a9 5f 28 64 e8 49 a5 5b e2 00  .A.'K.._(d.I.[..
Oct 31 16:50:16 MS2 kernel: 00000030: 00 00 00 00 fa d3 f8 06 ff ff ff ff 01 00 00 00  ................
Oct 31 16:50:16 MS2 kernel: 00000040: 12 00 00 80 ff 03 00 4d 00 55 00 76 00 52 00 00  .......M.U.v.R..
Oct 31 16:50:16 MS2 kernel: 00000050: 00 44 42 36 30 55 70 64 74 37 20 41 74 61 63 61  .DB60Updt7 Ataca
Oct 31 16:50:16 MS2 kernel: 00000060: 6e 64 20 31 36 6d 67 20 43 6f 73 74 3a 38 2e 33  nd 16mg Cost:8.3
Oct 31 16:50:16 MS2 kernel: 00000070: 32 20 46 65 65 3a 36 2e 35 34 30 00 3c 00 a6 09  2 Fee:6.540.<...
Oct 31 16:50:16 MS2 kernel: XFS (md7): metadata I/O error in "xfs_btree_read_buf_block.constprop.0+0x75/0xc1 [xfs]" at daddr 0xaea86668 len 8 error 74
Oct 31 16:50:16 MS2 kernel: XFS (md7): xfs_do_force_shutdown(0x1) called from line 296 of file fs/xfs/xfs_trans_buf.c. Return address = 00000000f269dff4
Oct 31 16:50:16 MS2 kernel: XFS (md7): I/O Error Detected. Shutting down filesystem
Oct 31 16:50:16 MS2 root: xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: Structure needs cleaning
Oct 31 16:50:16 MS2 root: meta-data=/dev/md7               isize=512    agcount=4, agsize=122094660 blks
Oct 31 16:50:16 MS2 root:          =                       sectsz=512   attr=2, projid32bit=1
Oct 31 16:50:16 MS2 root:          =                       crc=1        finobt=1, sparse=1, rmapbt=0
Oct 31 16:50:16 MS2 root:          =                       reflink=1
Oct 31 16:50:16 MS2 root: data     =                       bsize=4096   blocks=488378638, imaxpct=5
Oct 31 16:50:16 MS2 root:          =                       sunit=0      swidth=0 blks
Oct 31 16:50:16 MS2 root: naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
Oct 31 16:50:16 MS2 root: log      =internal log           bsize=4096   blocks=238466, version=2
Oct 31 16:50:16 MS2 root:          =                       sectsz=512   sunit=0 blks, lazy-count=1
Oct 31 16:50:16 MS2 root: realtime =none                   extsz=4096   blocks=0, rtextents=0
Oct 31 16:50:16 MS2 emhttpd: shcmd (190): exit status: 1
Oct 31 16:50:16 MS2 kernel: XFS (md7): Please unmount the filesystem and rectify the problem(s)

 

https://wiki.unraid.net/Manual/Storage_Management#Repairing_a_File_System

 

Link to comment
1 hour ago, trurl said:

Which controller is that disk on? Marvell controllers are NOT recommended, and RAID controllers are NOT recommended.

 

04:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. 88SE9485 SAS/SATA 6Gb/s controller [1b4b:9485] (rev c3)
0a:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. 88SE9485 SAS/SATA 6Gb/s controller [1b4b:9485] (rev c3)

 

2x SM AOC-SAS2LP-MV8 cards in JBOD

 

Thank you for the recommendation on the fs repair, we are trying it now.

Link to comment
19 hours ago, trurl said:
Oct 31 16:50:16 MS2 emhttpd: shcmd (190): xfs_growfs /mnt/disk7
Oct 31 16:50:16 MS2 kernel: XFS (md7): Corruption warning: Metadata has LSN (1227558665:4426755) ahead of current LSN (1:24). Please unmount and run xfs_repair (>= v4.3) to resolve.
Oct 31 16:50:16 MS2 kernel: XFS (md7): Metadata CRC error detected at xfs_allocbt_read_verify+0xd/0x3a [xfs], xfs_bnobt block 0xaea86668 
Oct 31 16:50:16 MS2 kernel: XFS (md7): Unmount and run xfs_repair
Oct 31 16:50:16 MS2 kernel: XFS (md7): First 128 bytes of corrupted metadata buffer:
Oct 31 16:50:16 MS2 kernel: 00000000: 36 2e 35 34 30 00 3c 00 a6 09 00 00 d4 31 08 00  6.540.<......1..
Oct 31 16:50:16 MS2 kernel: 00000010: 00 00 00 00 23 72 00 00 49 2b 0f 09 00 43 8c 03  ....#r..I+...C..
Oct 31 16:50:16 MS2 kernel: 00000020: 8a 41 e5 27 4b 10 a9 5f 28 64 e8 49 a5 5b e2 00  .A.'K.._(d.I.[..
Oct 31 16:50:16 MS2 kernel: 00000030: 00 00 00 00 fa d3 f8 06 ff ff ff ff 01 00 00 00  ................
Oct 31 16:50:16 MS2 kernel: 00000040: 12 00 00 80 ff 03 00 4d 00 55 00 76 00 52 00 00  .......M.U.v.R..
Oct 31 16:50:16 MS2 kernel: 00000050: 00 44 42 36 30 55 70 64 74 37 20 41 74 61 63 61  .DB60Updt7 Ataca
Oct 31 16:50:16 MS2 kernel: 00000060: 6e 64 20 31 36 6d 67 20 43 6f 73 74 3a 38 2e 33  nd 16mg Cost:8.3
Oct 31 16:50:16 MS2 kernel: 00000070: 32 20 46 65 65 3a 36 2e 35 34 30 00 3c 00 a6 09  2 Fee:6.540.<...
Oct 31 16:50:16 MS2 kernel: XFS (md7): metadata I/O error in "xfs_btree_read_buf_block.constprop.0+0x75/0xc1 [xfs]" at daddr 0xaea86668 len 8 error 74
Oct 31 16:50:16 MS2 kernel: XFS (md7): xfs_do_force_shutdown(0x1) called from line 296 of file fs/xfs/xfs_trans_buf.c. Return address = 00000000f269dff4
Oct 31 16:50:16 MS2 kernel: XFS (md7): I/O Error Detected. Shutting down filesystem
Oct 31 16:50:16 MS2 root: xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: Structure needs cleaning
Oct 31 16:50:16 MS2 root: meta-data=/dev/md7               isize=512    agcount=4, agsize=122094660 blks
Oct 31 16:50:16 MS2 root:          =                       sectsz=512   attr=2, projid32bit=1
Oct 31 16:50:16 MS2 root:          =                       crc=1        finobt=1, sparse=1, rmapbt=0
Oct 31 16:50:16 MS2 root:          =                       reflink=1
Oct 31 16:50:16 MS2 root: data     =                       bsize=4096   blocks=488378638, imaxpct=5
Oct 31 16:50:16 MS2 root:          =                       sunit=0      swidth=0 blks
Oct 31 16:50:16 MS2 root: naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
Oct 31 16:50:16 MS2 root: log      =internal log           bsize=4096   blocks=238466, version=2
Oct 31 16:50:16 MS2 root:          =                       sectsz=512   sunit=0 blks, lazy-count=1
Oct 31 16:50:16 MS2 root: realtime =none                   extsz=4096   blocks=0, rtextents=0
Oct 31 16:50:16 MS2 emhttpd: shcmd (190): exit status: 1
Oct 31 16:50:16 MS2 kernel: XFS (md7): Please unmount the filesystem and rectify the problem(s)

 

https://wiki.unraid.net/Manual/Storage_Management#Repairing_a_File_System

 

this solved it, thank you!

Link to comment
  • xisplo changed the title to [SOLVED] replaced drive size does not match actual capacity

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.

×
×
  • Create New...