× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

rn-expand[2065]: Failed to get device type for /dev/md0: 25

gbeddow
Luminary

rn-expand[2065]: Failed to get device type for /dev/md0: 25

I'm seeing this message in the logs every 2 minutes:

rn-expand[2065]: Failed to get device type for /dev/md0: 25

I couldn't find much info on rn-expand, but it seems to relate to expanding volumes. I have a single 2TB SSD, so volume expansion shouldn't be involved. Should I be concerned? Why is this happening?

Model: RN202|ReadyNAS202 2-Bay
Message 1 of 13
StephenB
Guru

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25


@gbeddow wrote:

Should I be concerned?


Yes.  Hopefully @JohnCM_S or @Marc_V will follow up.

 

What is the disk model?

Message 2 of 13
gbeddow
Luminary

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

Thanks @StephenB  for your reply.

This is a WD Red SA500 NAS 2.5" 2TB SSD.

Message 3 of 13
StephenB
Guru

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25


@gbeddow wrote:

Thanks @StephenB  for your reply.

This is a WD Red SA500 NAS 2.5" 2TB SSD.


Thx.  that might help the mods sort out what is happening.

Message 4 of 13
gbeddow
Luminary

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

 @JohnCM_S or @Marc_V, any idea why this is happening and what can be done to resolve it?

Message 5 of 13
gbeddow
Luminary

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

Also noticed this in the syslog:
# cat /data/rsyslog/syslog | grep rn-expand
...
Jul  6 12:05:27 RN202 rn-expand[2065]: Failed to get device type for /dev/md0: 25
Jul  6 12:08:38 RN202 rn-expand[2063]: Trying auto-expand (in-place)
Jul  6 12:08:38 RN202 rn-expand[2063]: Considering inplace auto-expansion for data
Jul  6 12:08:38 RN202 rn-expand[2063]: Checking if RAID disk sda is expandable...
Jul  6 12:08:38 RN202 rn-expand[2063]: Trying auto-extend (grow onto additional disks)
Jul  6 12:08:38 RN202 rn-expand[2063]: auto_extend: Checking disk sda...
Jul  6 12:08:38 RN202 rn-expand[2063]: Trying xraid-expand (tiered expansion)
Jul  6 12:08:38 RN202 rn-expand[2063]: Considering X-RAID auto-expansion for data
Jul  6 12:08:38 RN202 rn-expand[2063]: Checking if RAID disk sda is expandable...
Jul  6 12:08:38 RN202 rn-expand[2063]: No enough disks for data-0 to expand [need 2, have 0]
Jul  6 12:08:38 RN202 rn-expand[2063]: 0 disks expandable in data
Jul  6 12:09:38 RN202 rn-expand[2063]: Failed to get device type for /dev/md0: 25
...
Why is it trying to "auto-expand"? There's nothing to expand AFAICT.
Message 6 of 13
Marc_V
NETGEAR Employee Retired

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

@gbeddow @StephenB

 

It seems the message is due to the NAS trying to check if it can expand on continual basis and the message may be due to the device being unknown to the system.

 

What make and model is your SSD drive?

Message 7 of 13
gbeddow
Luminary

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

@Mark_V This is a WD Red SA500 NAS 2.5" 2TB SSD.

Message 8 of 13
gbeddow
Luminary

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

@Mark_V So what needs to be done? Or are you saying it's not a concern?

Message 9 of 13
Marc_V
NETGEAR Employee Retired

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

@ggbeddow

 

Just want to know as well if you are having issues with your NAS? This is to check if we need to investigate further.

 

The rn-expand queries each device on the ReadyNAS and that involves sda, sdb... and all md devices just like md0 which the message is about. rn-expand once it goes through the device lists, it tries to identify what type md0 is in this case the query cannot be completed successfully since it will not provide any info for a device type since it's a RAID device. Not really sure what should be the entry is but if you are not having any issues with the NAS I believe we can ignore those messages.

 

HTH

Message 10 of 13
gbeddow
Luminary

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

Not having any issues with the NAS AFAIK other than these messages.
Still, a message that clutters up the logs every 2 minutes seems worth fixing. Will this be addressed in a future ReadyNAS update, or at least through apt-get?
Message 11 of 13
gbeddow
Luminary

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

@Mark_V  @JohnCM_S 

Bump. Haven't heard back on this.

Message 12 of 13
Marc_V
NETGEAR Employee Retired

Re: rn-expand[2065]: Failed to get device type for /dev/md0: 25

@gbeddow

 

It is actually a function that checks the NAS every 2 minutes to make sure it does not miss any opportunities on expansion. It's a notice that we will not be able to fix since it's not an error.

 

HTH

Message 13 of 13
Top Contributors
Discussion stats
  • 12 replies
  • 1465 views
  • 0 kudos
  • 3 in conversation
Announcements