Hi all,I want a 4TB RAID 5 array.I have two internal 2TB disks and one external USB 2TB disk connected as RAID5, but with only 1.8TB of usable space and a spare drive. Please could somebody suggest how to expand to provide 4TB with parity? Thank you in advance!Initially I built and configured my 323 with 2x 2TB disks in RAID5
(1.8TB usable)
Hi,Thank you for your fast replyYes thats right using the wizard. Logs attached.Also, I realised that I had to click 'enlarge' RAID
and then 'enlarge' filesystem.
When I click enlarge RAID nothing happened, so I clicked enlarge filesystem and it said 'enlarging' but again nothing happened.
I then decided to fail a disk so that it would rebuild onto the spare USB. It is doing that now as we speak!
Apr 2 19:08:41 NAS user.err kernel: ata1.00: exception Emask 0x10 SAct 0x2 SErr 0x1000000 action 0x6 frozenApr 2 19:08:41 NAS user.err kernel: ata1.00: edma_err_cause=000400a0 pp_flags=00000003, EDMA self-disable, SError=01000000Apr 2 19:08:41 NAS user.err kernel: ata1.00: cmd 60/00:08:40:18:10/04:00:00:00:00/40 tag 1 ncq 524288 inApr 2 19:08:41 NAS user.err kernel: res 41/84:08:40:18:10/84:00:00:00:00/40 Emask 0x10 (ATA bus error)Apr 2 19:08:41 NAS user.info kernel: ata1: hard resetting linkApr 2 19:08:42 NAS user.info kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)Apr 2 19:08:42 NAS user.info kernel: ata1.00: configured for UDMA/133Apr 2 19:08:42 NAS user.info kernel: ata1: EH complete
EXT4-fs error (device md0): ext4_lookup:1437: inode #48759424: comm smbd: deleted inode referenced: 48791718EXT4-fs error (device md0): ext4_lookup:1437: inode #48759424: comm smbd: deleted inode referenced: 48791718
Hi João,Yep the USB drive is externally powered and I boot up before DNS 323.Would the errors be due to the fact the RAID was de-graded at the time?
I'm running a AMART test (long) on both drives.
will let you know the results.I'm certain the drives were the same size (sectors) but will double check.
Hiya,Thanks again for getting back to me.Yes I did upgrade the firmware... and no I didn't run the script before hand...To correct this, I followed the steps exactly and ran the script before re-flashing. However I still see the RAID as 0.9...
ls /Alt-F/usr/www/cgi-bin/ # will show if stray RC4 files are still in use
cat /etc/bay # will show which disk is which
mdadm --detail/dev/md0 # will show the current RAID setup/usage
mdadm --examine /dev/sd*2 # will show the current RAID components setup/usage
really not sure what to do now. I was hoping that would fix everthing.
I've attached my config once again.
ls: /Alt-F/usr/www/cgi-bin/: No such file or directory
[root@NAS]# cat /etc/bay
right_dev=sda
sda=right
right_cap="2.0TB"
right_fam="Seagate SV35"
right_mod="ST2000VX000-9YW164"
left_dev=sdb
sdb=left
left_cap="2.0TB"
left_fam="Seagate SV35"
left_mod="ST2000VX000-9YW164"
usbc_dev=sdc
sdc=usbc
usbc_cap="2.0TB"
usbc_fam="BUFFALO "
usbc_mod="External HDD "
[root@NAS]# mdadm --detail/dev/md0
mdadm: unrecognized option `--detail/dev/md0'
Usage: mdadm --help
for help
[root@NAS]# mdadm --detail/dev/md0
mdadm: unrecognized option `--detail/dev/md0'
Usage: mdadm --help
for help
[root@NAS]# mdadm --examine /dev/sd*2
/dev/sda2:
Magic : a92b4efc
Version : 0.90.00
UUID : 142b9225:d8aed49c:cced5de7:ca715931
Creation Time : Wed Mar 25 21:16:49 2015
Raid Level : raid5
Used Dev Size : 1952987648 (1862.51 GiB 1999.86 GB)
Array Size : 1952987648 (1862.51 GiB 1999.86 GB)
Raid Devices : 2
Total Devices : 3
Preferred Minor : 0
Update Time : Mon Apr 6 00:00:19 2015
State : clean
Internal Bitmap : present
Active Devices : 2
Working Devices : 3
Failed Devices : 0
Spare Devices : 1
Checksum : 4c1ea990 - correct
Events : 691786
Layout : left-symmetric
Chunk Size : 512K
Number Major Minor RaidDevice State
this 1 8 2 1 active sync /dev/sda2
0 0 8 18 0 active sync /dev/sdb2
1 1 8 2 1 active sync /dev/sda2
2 2 8 34 2 spare /dev/sdc2
/dev/sdb2:
Magic : a92b4efc
Version : 0.90.00
UUID : 142b9225:d8aed49c:cced5de7:ca715931
Creation Time : Wed Mar 25 21:16:49 2015
Raid Level : raid5
Used Dev Size : 1952987648 (1862.51 GiB 1999.86 GB)
Array Size : 1952987648 (1862.51 GiB 1999.86 GB)
Raid Devices : 2
Total Devices : 3
Preferred Minor : 0
Update Time : Mon Apr 6 00:00:19 2015
State : clean
Internal Bitmap : present
Active Devices : 2
Working Devices : 3
Failed Devices : 0
Spare Devices : 1
Checksum : 4c1ea99e - correct
Events : 691786
Layout : left-symmetric
Chunk Size : 512K
Number Major Minor RaidDevice State
this 0 8 18 0 active sync /dev/sdb2
0 0 8 18 0 active sync /dev/sdb2
1 1 8 2 1 active sync /dev/sda2
2 2 8 34 2 spare /dev/sdc2
/dev/sdc2:
Magic : a92b4efc
Version : 0.90.00
UUID : 142b9225:d8aed49c:cced5de7:ca715931
Creation Time : Wed Mar 25 21:16:49 2015
Raid Level : raid5
Used Dev Size : 1952987648 (1862.51 GiB 1999.86 GB)
Array Size : 1952987648 (1862.51 GiB 1999.86 GB)
Raid Devices : 2
Total Devices : 3
Preferred Minor : 0
Update Time : Sun Apr 5 01:05:39 2015
State : clean
Internal Bitmap : present
Active Devices : 2
Working Devices : 3
Failed Devices : 0
Spare Devices : 1
Checksum : 4c1d677c - correct
Events : 691786
Layout : left-symmetric
Chunk Size : 512K
Number Major Minor RaidDevice State
this 2 8 34 2 spare /dev/sdc2
0 0 8 18 0 active sync /dev/sdb2
1 1 8 2 1 active sync /dev/sda2
2 2 8 34 2 spare /dev/sdc2"
Hi any opinions on what I should do?
I have copied all my data off, so clear to destroy raid and start again with fresh install, but how do I do this?
SMART Error Log Version: 1No Errors LoggedSMART Self-test log structure revision number 1Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error# 1 Short offline Completed without error 00% 3049 -...# 5 Extended offline Completed without error 00% 2959 -
# 5 Extended offline Aborted by host 10% 13209 -
Many thanks,
Craig