Go to advanced search

by neo8223
Sun Jan 08, 2017 10:54 pm
Forum: Automation, sensing and robotics
Topic: Automation and using in the home - Is it legally safe?
Replies: 16
Views: 4113

Re: Automation and using in the home - Is it legally safe?

Hi All, I'm a rookie to the Pi, but I'm a member of International Brotherhood of Electrical Workers in the US. While my scope of work is low voltage communications specifically. But I know that no electrical contractor or journeyman can install or approve an installation of a device that does not m...
by neo8223
Sun Jan 08, 2017 10:40 pm
Forum: Automation, sensing and robotics
Topic: Automation and using in the home - Is it legally safe?
Replies: 16
Views: 4113

Re: Automation and using in the home - Is it legally safe?

Qualified Tradesman... Well Competent Person is the wording or there abouts, this allows home DIY, also altering things is less 'hassle', changing whole rings is usually more difficult. But if you know what you are doing then all should be ok. anything that has to certified you can call the council...
by neo8223
Sun Jan 08, 2017 10:18 am
Forum: Automation, sensing and robotics
Topic: Automation and using in the home - Is it legally safe?
Replies: 16
Views: 4113

Re: Automation and using in the home - Is it legally safe?

Hi all, Thanks for the replies. Have opened my eyes considerably. I do live in the UK so its good to know that legislation. I didn't know that Humidistats even exist!, so you've opened my world. I much prefer that idea to using a relay and home brew kit. Especially that it doesnt need to be IOT. htt...
by neo8223
Sun Jan 08, 2017 12:40 am
Forum: Automation, sensing and robotics
Topic: Automation and using in the home - Is it legally safe?
Replies: 16
Views: 4113

Automation and using in the home - Is it legally safe?

Really not sure if this is the right place to post this question however, I've recently become a home owner and really like the idea of home automation. However, buying off the shelf stuff costs an arm and a leg, and sometimes can't do everything you want. Fortunately, Raspberry pi is on hand to con...
by neo8223
Wed Oct 07, 2015 9:08 pm
Forum: Troubleshooting
Topic: raid 5 array clean degraded
Replies: 6
Views: 1834

Re: raid 5 array clean degraded

Congratulations to me... I fixed my own problem

sudo mdadm --manage /dev/md0 --add /dev/sdb1
by neo8223
Tue Oct 06, 2015 9:00 pm
Forum: Troubleshooting
Topic: raid 5 array clean degraded
Replies: 6
Views: 1834

Re: raid 5 array clean degraded

OK fixed... 1) shutdown pi 2) disconnect all drives 3) connect sda1, then sdb1, then sdc1 4) determine what disk is affected by running: sudo mdadm -E /dev/sda1 sudo mdadm -E /dev/sdb1 sudo mdadm -E /dev/sdc1 at the bottom it will say AAA or A.A or whatever... the dot stands for "missing" look for t...
by neo8223
Tue Oct 06, 2015 7:07 pm
Forum: Troubleshooting
Topic: raid 5 array clean degraded
Replies: 6
Views: 1834

Re: raid 5 array clean degraded

tried starting pi with no drives connected, then connected them all, one by one. This brought back up the 3 disks, but then tried to assemble and didn't work. will keep trying!! [email protected] ~ $ sudo mdadm --assemble --scan -v mdadm: looking for devices for further assembly mdadm: no RAID superblo...
by neo8223
Mon Oct 05, 2015 7:58 pm
Forum: Troubleshooting
Topic: raid 5 array clean degraded
Replies: 6
Views: 1834

Re: raid 5 array clean degraded

tried this too sudo mdadm --assemble --scan -v mdadm: looking for devices for further assembly mdadm: no recogniseable superblock on /dev/md/0 mdadm: /dev/sdc is busy - skipping mdadm: /dev/sdb is busy - skipping mdadm: no RAID superblock on /dev/sda mdadm: no RAID superblock on /dev/root mdadm: no ...
by neo8223
Mon Oct 05, 2015 7:52 pm
Forum: Troubleshooting
Topic: raid 5 array clean degraded
Replies: 6
Views: 1834

Re: raid 5 array clean degraded

more details [email protected] ~ $ sudo cat /proc/partitions major minor #blocks name 179 0 31636480 mmcblk0 179 1 57344 mmcblk0p1 179 2 31145984 mmcblk0p2 8 0 3906984960 sda 8 1 3906983936 sda1 8 16 3906984960 sdb 8 32 3906984960 sdc [email protected] ~ $ sudo fdisk -l Disk /dev/mmcblk0: 32.4 GB, 3239575...
by neo8223
Mon Oct 05, 2015 6:09 am
Forum: Troubleshooting
Topic: raid 5 array clean degraded
Replies: 6
Views: 1834

Re: raid 5 array clean degraded

oh, when it was working with just the 2 disks, webmin said that sda and sdc were the disks working, now it says sdb and sdc and none of my folders mounted. RAID device options Device file /dev/md0 UUID f3b96b65:139e097c:e6f1babc:e01aa71e RAID level RAID5 (Distributed Parity) Filesystem status For mo...
by neo8223
Mon Oct 05, 2015 6:06 am
Forum: Troubleshooting
Topic: raid 5 array clean degraded
Replies: 6
Views: 1834

raid 5 array clean degraded

hi all I have 3 usb drives as part of a raid 5 array on my pi and one of the disks degraded as I accidently unplugged one of the USB's whilst it was switched on. It still worked under 2. To be risk averse, I tried copying all of the data to another pc before doing anything. Unfortunately, the pi doe...
by neo8223
Sat Feb 21, 2015 10:38 pm
Forum: Raspbian
Topic: Creating a raid5 array
Replies: 11
Views: 10631

Re: Creating a raid5 array

Bleh. I corrupted my sd card again whilst trying to backup my pi. I had the 4 green lights of death so had to rebuild. I had mahoosive issues getting the pi to work again and it was my: /etc/mdadm/mdadm.conf file that was incorrect. Ensure that this file has the following and nothing else!: # mdadm....
by neo8223
Wed Feb 18, 2015 4:14 am
Forum: Raspbian
Topic: Disaster has struck - Degraded Raid 5
Replies: 2
Views: 680

Re: Disaster has struck - Degraded Raid 5

Hi all, I followed this guide: https://raid.wiki.kernel.org/index.php/Recovering_a_failed_software_RAID I got up to: force assembley and it failed. so I reset the assembleys (it didnt work anyway) By this stage, my devices were called sda1, sdd1 and sde1. I tried to do as guided in the above to forc...
by neo8223
Tue Feb 17, 2015 11:15 pm
Forum: Raspbian
Topic: Disaster has struck - Degraded Raid 5
Replies: 2
Views: 680

Re: Disaster has struck - Degraded Raid 5

Hi all, OK so after going to sudo fdisk /dev/sdb then typing in w and enter, it brought back up the partitions, however it went back down again after. Im not too sure whats next! Ill keep trying. 2bh, if i lose everything, i wont mind too much as theres no data which isnt stored elsewhere and im sti...
by neo8223
Tue Feb 17, 2015 11:07 pm
Forum: Raspbian
Topic: Disaster has struck - Degraded Raid 5
Replies: 2
Views: 680

Disaster has struck - Degraded Raid 5

Hi all So, I've just set up a raid 5 array and it was rebuilding. (not yet finished) Whilst rebuilding, I have been transferring files. Unfortunately, I managed to crash my pi. This may be down to overclocking and running a million commands at once... However, now when I rebooted, my raid array is c...
by neo8223
Sun Feb 15, 2015 3:17 pm
Forum: Raspbian
Topic: Creating a raid5 array
Replies: 11
Views: 10631

Re: Creating a raid5 array

Heres how to delete a raid and start again from scratch. Below are the steps that we are going to do: Stop Raid Remove Raid Delete Partitions Re-create all new partitions under 'fd' for 'Linux Raid Autodetect' - Credits to Missy: Thanks Missy :-) zero out superblocks create new raid make new file sy...
by neo8223
Sun Feb 15, 2015 12:55 pm
Forum: Raspbian
Topic: Creating a raid5 array
Replies: 11
Views: 10631

Re: Creating a raid5 array

Thanks Beta-tester!! It worked!

It didn't work the first time i tried because i added it to a new line. However with adding to the same line, it only just booted!!! :D

Once i've automated the whole thing, ill create a guide for n00bs like me :-)

Thanks again!
by neo8223
Sun Feb 15, 2015 10:56 am
Forum: Raspbian
Topic: Creating a raid5 array
Replies: 11
Views: 10631

Re: Creating a raid5 array

sudo mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1 lol thanks :) another round of documentation: [email protected] ~ $ sudo cat /proc/partitions major minor #blocks name 179 0 31636480 mmcblk0 179 1 116998 mmcblk0p1 179 2 1 mmcblk0p2 179 3 32768 mmcblk0p3 179 5 61440...
by neo8223
Sun Feb 15, 2015 12:20 am
Forum: Raspbian
Topic: Creating a raid5 array
Replies: 11
Views: 10631

Re: Creating a raid5 array

Bah, I give up for the night.

What do I do with this error?

[email protected]:/home/pi# mdadm –create /dev/md0 –level=5 –raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1
mdadm: An option must be given to set the mode before a second device (/dev/md0) is listed
by neo8223
Sat Feb 14, 2015 11:48 pm
Forum: Raspbian
Topic: Creating a raid5 array
Replies: 11
Views: 10631

Re: Creating a raid5 array

Hi all. So, i rebuilt the raid, this time having no filesystems on the hdd's, so re-mounting after reboot is a little different now. sudo mdadm -A /dev/md0 /dev/sda /dev/sdb /dev/sdc sudo mount /dev/md0p1 /mnt I created a partition on the md0 this time round and still nothing. However, this time i d...
by neo8223
Mon Feb 09, 2015 11:32 pm
Forum: Raspbian
Topic: Creating a raid5 array
Replies: 11
Views: 10631

Creating a raid5 array

Hi all So work has funded me a new raspberry pi 2 and 3 x 4TB external hdds. These work great and the raspberry pi can see them. I initially created a new raid 5 partition (it created ext2) as md0 and then mounted. I used this dudes guide: http://www.davidhunt.ie/raid-pi-raspberry-pi-as-a-raid-file-...

Go to advanced search