@TheFu & MAFoElffen
BEFORE I post my progress thus far let me ASSURE Both of you that your advice did not fall on deaf ears or I'm ignoring your mentorship and advice. As the systems are a homelab.
That can be reconfigured with addition of a SAS controller and correct drives. And thank you for the advice, it will be used in my NFS (optiplex 3010) build is next so I can incorporate that into that system. Then shift the media server over to SAS or pure SSD i'll review the power setting again but if I recall correctly I did not allow the drives to power down EXCEPT in a shutdown or reboot but Like I said I'll triple check.
here is the progress thus far on what I have.
Code:
mike@bastion:~$ sudo umount /dev/md0
[sudo] password for mike:
mike@bastion:~$ sudo resize2fs -p /dev/md0 1800G
resize2fs 1.46.5 (30-Dec-2021)
Please run 'e2fsck -f /dev/md0' first.
mike@bastion:~$ sudo e2fsck -f /dev/md0
e2fsck 1.46.5 (30-Dec-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/md0: 976/213614592 files (1.0% non-contiguous), 254584432/854443520 blocks
mike@bastion:~$ sudo resize2fs -p /dev/md0 1800G
resize2fs 1.46.5 (30-Dec-2021)
Resizing the filesystem on /dev/md0 to 471859200 (4k) blocks.
Begin pass 3 (max = 26076)
Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on /dev/md0 is now 471859200 (4k) blocks long.
mike@bastion:~$ sudo mdadm --grow /dev/md0 --raid-devices=6
mdadm: this change will reduce the size of the array.
use --grow --array-size first to truncate array.
e.g. mdadm --grow /dev/md0 --array-size 2441267200
mike@bastion:~$ sudo mdadm --grow /dev/md0 --array-size 2441267200
mike@bastion:~$ sudo mdadm --grow /dev/md0 --raid-devices=6
mdadm: Need to backup 17920K of critical section..
mdadm: /dev/md0: Cannot grow - need backup-file
this last line caused a cockeyed look from me so I issued
Code:
mike@bastion:~$ sudo mdadm --grow /dev/md0 --raid-devices=6 --backup=/home/mike/*.tmp
mdadm: Need to backup 17920K of critical section..
hmm did it finish resizing ???
Code:
mike@bastion:~$ sudo mdadm -D /dev/md0 | grep -e "Array Size" -e "Device Size"
Array Size : 2441267200 (2.27 TiB 2.50 TB)
mike@bastion:~$ cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md0 : active raid5 sdb1[8] sdh1[6] sdi1[7] sdg1[5] sdf1[4] sde1[3] sdc1[1] sdd1[2]
2441267200 blocks super 1.2 level 5, 512k chunk, algorithm 2 [6/6] [UUUUUU]
[>....................] reshape = 0.6% (2956284/488253440) finish=649.7min speed=12448K/sec
Nope still working at resizing , ok just have to slow down quit rushing and wait 600 min until resized and complete until I can reissue the command sudo mdadm --grow /dev/md0 --raid-devices=6
and the post that TheFu made about the HDD Temps here is mine UNDER Load as a FYI and not bragging etc but to give a idea of what I have without taking a picture
Drive temperatures
sda: 26°C sdb: 30°C sdc: 29°C sdd: 31°C sde: 32°C sdf: 31°C sdg: 32°C sdh: 30°C sdi: 30°C
all have fans blowing over them
sdc through sdi are setting in a 6 bay (2.5" 7-9.5mm height) 1 x 5.25 caged bay with cooling fans
Bookmarks