• February 16, 2020, 06:13:24 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Upgraded 4x500gb to 4x1.5tb, total hdd volume still the same  (Read 1950 times)

mycabrand

  • Level 1 Member
  • *
  • Posts: 1
Upgraded 4x500gb to 4x1.5tb, total hdd volume still the same
« on: April 03, 2010, 05:53:05 AM »

Am i missing anything?  1 installed and resynched each 1.5tb one after the other but after the last drive completed re-synch still says my total disk space is 1.4tb and free space remained the same as before.

I have the 1.03 firmware.

Please help. ???
Logged

Bhavik

  • Level 2 Member
  • **
  • Posts: 41
Re: Upgraded 4x500gb to 4x1.5tb, total hdd volume still the same
« Reply #1 on: April 04, 2010, 08:34:00 PM »

Just replacing the drives will not grow the array. When you replaced the drives it just rebuilt the data that was missing from the RAID array. I'm assuming you have it in RAID 5 configuration.

The device doesn't support growing of RAID arrays via the GUI. There is a possibility of using mdadm via telnet to grow your array.

I think this is how you do it, I haven't tried it myself. I'd highly recommend backing up your data before you try this.

Get the details on the current array
Code: [Select]
mdadm --detail /dev/md0
Check the device size is correct
Device Size : 1462766336 (1395.00 GiB 1497.87 GB)

Unmount the array
Code: [Select]
umount /dev/md0
Grow the array to maximum size, this could take some time.
Code: [Select]
mdadm /dev/md0 --grow --size=max
Now that the array has grown, the file system needs to be expanded to match.
Code: [Select]
resize2fs /dev/md0
Mount the expanded/grown array with it's resized filesystem
Code: [Select]
mount -t ext3 /dev/md0 /mnt/HD_a2
Check the size of the array
Code: [Select]
mdadm --detail /dev/md0
/dev/md0:
        Version : 00.90.03
  Creation Time : Sun May 17 14:37:06 2009
     Raid Level : raid5
     Array Size : 4388299008 (4185.01 GiB 4493.62 GB)
    Device Size : 1462766336 (1395.00 GiB 1497.87 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Mon Apr  5 15:41:43 2010
          State : clean
 Active Devices : 4
Working Devices : 4

« Last Edit: April 05, 2010, 12:14:14 AM by Bhavik »
Logged