NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

fencer019's avatar
fencer019
Aspirant
Dec 14, 2021
Solved

RN104 Wrong total disk Size

I have a RN104 with 2 drives, 1x4TB and 1x2TB configured as JBOD. I pulled out the 2TB and cloned the disk to a new 6TB and resized the partition to take the full size of the disk.

When the 6TB was plugged into the device, ReadyNAS correctly identified the disk as a 6TB but the total space available remained the same.

Is there a way to fix this?

8 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    /fencer019 wrote:

     I pulled out the 2TB and cloned the disk to a new 6TB and resized the partition to take the full size of the disk.

    When the 6TB was plugged into the device, ReadyNAS correctly identified the disk as a 6TB but the total space available remained the same.

    Is there a way to fix this?


    I think all you need to do is manually expand the btrfs file system via ssh.

     

    Since the volume is named data, the command would be btrfs filesystem resize max /data

     

    If you haven't used ssh before:

    1. first enable it in system->settings->services
    2. then log in as root (for instance, enter ssh root@NAS-IP-ADDRESS from the windows search bar (using the real NAS IP address of course).  The password is the same as your NAS admin password.

    This is definitely done at your own risk.

    • Sandshark's avatar
      Sandshark
      Sensei - Experienced User

      How did you re-size the partition?  The ReadyNAS JBOD still uses MDADM RAID, it just creates RAIDs without redundancy.  If you didn't also expand the RAID, the file system won't expand because it's mounted on the RAID, not directly on the partition.  What does cat /proc/mdstat return from ssh?  Or alternately, what's the content of mdstat.log from the downloaded logs?

      • fencer019's avatar
        fencer019
        Aspirant

        This is the output from cat /proc/mdstat

        Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
        md124 : active raid1 sdd3[0]
              3902166784 blocks super 1.2 [1/1] [U]
              bitmap: 3/30 pages [12KB], 65536KB chunk
        
        md125 : active raid1 sda3[0]
              971911808 blocks super 1.2 [1/1] [U]
        
        md126 : active raid1 sdc3[0]
              3902167808 blocks super 1.2 [1/1] [U]
        
        md127 : active raid1 sdb3[0]
              5855670784 blocks super 1.2 [1/1] [U]
        
        md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]
              1044480 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
        
        md0 : active raid1 sdd1[0] sda1[5](S) sdc1[4] sdb1[3]
              4190208 blocks super 1.2 [3/3] [UUU]
  • I managed to allocate the space by running 

     

    btrfs filesystem resize 2:max /data

    Thanks Sandshark and StephenB for your valubale help!

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More