-
Posts
362 -
Joined
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by Irazmus
-
sudo lsraid -a /dev/sdd lsraid: Device "/dev/sdd1" does not have a valid raid superblock lsraid: Device "/dev/sdd1" does not have a valid raid superblock lsraid: Device "/dev/sdd1" does not have a valid raid superblock lsraid: Device "/dev/sdd1" does not have a valid raid superblock [dev 9, 0] /dev/md0 93FE44FD.F2CFFC76.5DDC9418.D343A912 online [dev 8, 1] /dev/sda1 93FE44FD.F2CFFC76.5DDC9418.D343A912 good [dev 8, 17] /dev/sdb1 93FE44FD.F2CFFC76.5DDC9418.D343A912 good [dev 8, 33] /dev/sdc1 93FE44FD.F2CFFC76.5DDC9418.D343A912 good [dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing sudo fdisk -l /dev/sdd Disk /dev/sdd: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdd doesn't contain a valid partition table sudo cat /etc/raidtab cat: /etc/raidtab: No such file or directory
-
At home I run an Ubuntu (6.06) file, media, web, VMWare server with 4 RAID arrays. This system has been running happily since I built it last September, but this evening while testing an Asterisk VM I noticed that the contents of the largest and most important array (md0) were no longer visible from my workstation (XP Pro). Strange, thought I, it was fine this afternoon. I can see no problems with Samba as my other shares are working fine, so I SSH to the server and ls -la the array's mount point (/srv/videos), which returns total 0 [Random expletive], thought I, my files are gone, however a quick df -H confirms the array still has data Filesystem Size Used Avail Use% Mounted on /dev/md0 946G 745G 153G 83% /srv/videos So I check the array >cat /proc/mdstat Personalities : [raid1] [raid5] md3 : active raid1 hda3[0] 27993152 blocks [2/1] [u_] md2 : active raid1 hda1[0] hdb1[1] 48064 blocks [2/2] [uU] md1 : active raid1 hde1[0] sde1[1] 195357632 blocks [2/2] [uU] md0 : active raid5 sda1[0] sdd1[3] sdc1[2] sdb1[1] 937705728 blocks level 5, 64k chunk, algorithm 2 [4/4] [uUUU] unused devices: No problems there (Except the failed disk in md3 I already knew, and didn't care, about). Next comes >mdadm --query /dev/md0 /dev/md0: 894.27GiB raid5 4 devices, 0 spares. Use mdadm --detail for more detail. /dev/md0: No md super block found, not an md component. Followed by >mdadm --detail /dev/md0 /dev/md0: Version : 00.90.03 Creation Time : Sat Sep 23 22:20:25 2006 Raid Level : raid5 Array Size : 937705728 (894.27 GiB 960.21 GB) Device Size : 312568576 (298.09 GiB 320.07 GB) Raid Devices : 4 Total Devices : 4 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Mon Mar 5 17:30:37 2007 State : clean Active Devices : 4 Working Devices : 4 Failed Devices : 0 Spare Devices : 0 Layout : left-symmetric Chunk Size : 64K UUID : 93fe44fd:f2cffc76:5ddc9418:d343a912 Events : 0.6029041 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 2 8 33 2 active sync /dev/sdc1 3 8 49 3 active sync /dev/sdd1 I'm now more than a little concerned so I check the disks >mdadm --query /dev/sda1 /dev/sda1: is not an md array /dev/sda1: device 0 in 4 device active raid5 md0. Use mdadm --examine for more detail. >mdadm --query /dev/sdb1 /dev/sdb1: is not an md array /dev/sdb1: device 1 in 4 device active raid5 md0. Use mdadm --examine for more detail. >mdadm --query /dev/sdc1 /dev/sdc1: is not an md array /dev/sdc1: device 2 in 4 device active raid5 md0. Use mdadm --examine for more detail. >mdadm --query /dev/sdd1 /dev/sdd1: is not an md array /dev/sdd1: No md super block found, not an md component. >mdadm --examine /dev/sdd1 mdadm: No super block found on /dev/sdd1 (Expected magic a92b4efc, got 00000000) I now think I've found the problem, but daren't try anything lest I make things worse. Can anyone help me get my RAID back in working order without losing the video collection I've spent the last 3 years putting together? And before anyone asks, no, I have not tried turning it off and on again, as it's also my web server and I'd like to keep it running if possible, however I will do if rebooting is likely to help.
-
This will add custom CSS rules to all EduGeek pages, just change the contents of newCSS to the rules you wish to add (or override). // EduGeek CSS Modification // version 0.1 BETA! // 05-03-2007 // Released under the GPL license // [url]http://www.gnu.org/copyleft/gpl.html[/url] // // -------------------------------------------------------------------- // // This is a Greasemonkey user script. To install it, you need // Greasemonkey 0.3 or later: [url]http://greasemonkey.mozdev.org/[/url] // Then restart Firefox and revisit this script. // Under Tools, there will be a new menu item to "Install User Script". // Accept the default configuration and install. // // To uninstall, go to Tools/Manage User Scripts, // select "Access Bar", and click Uninstall. // // -------------------------------------------------------------------- // // ==UserScript== // @name EduGeek CSS Modification // @description Add custom CSS rules to EduGeek // @include [url]http://*.edugeek.net/*[/url] // @include [url]http://edugeek.net/*[/url] // @version 0.1 // ==/UserScript== newCSS = ('p { font-size: large ! important; }'); function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } addGlobalStyle(newCSS);
-
You can't get much leaner than DSL ( http://www.damnsmalllinux.org/ ), it doesn't have a LAMP server, but you could always apt-get it. Although I'd probably go with everyone else and use Ubuntu.
-
And here was me thinking it was a rabbit :oops: PHP is my language of choice, although I've been meaning to look at rails for a while, I just never seem to find the time...
-
Proxy switch "proxy on" & " proxy off" software
Irazmus replied to GavRob's topic in Network and Classroom Management
I was looking at this a while ago and eventually came up with an easier solution. I've set the "Automatic Proxy Configuration URL" (in Firefox) and "Use Automatic Configuration Script" (in IE) to a script on our internal webserver, when in school the script can be found and the proxy is used, when not in school it can't and so is ignored. function FindProxyForURL (url, host) { if ( host.match("intranet1|intranet2|intranet3).your.local.domain") || dnsDomainLevels(host) == 0 ) { return "DIRECT"; } else { return "PROXY your.proxy.server:port; DIRECT"; } } -
I wasn't, but now you mention it, I seem to remember reading something along those lines before.
-
Another useful tool is GreaseMonkey ( http://diveintogreasemonkey.org/ ). It would be very easy to write a GM script which replaces the stylesheet with one of your own, allowing you to have whatever colour scheme you like. I use it for a slightly darker Google...
-
Hence why I use the beautiful method on the Wiki
-
The GPO approach didn't worked for me either, could never find where to list the WEP key. Will look into it again when we put in the replacement wireless network which will have better security.
-
This is the method I'm currently using tagged onto the end of a RIS install http://www.russdev.com/edugeek/doku.php?id=autowificonfig
-
Do you allow staff to have Local Admin privileges?
Irazmus replied to Ravening_Wolf's topic in How do you do....it?
our school went one better about 10 years ago - cut about 12 copies of the master room key , gave one to each of the cleaners.... 8O The only people here to have master keys are the caretakers, Head, Bursar and myself. We give LA rights to staff on their laptops so they can install hardware at home, but the system is so locked down that they can't do any harm. Only the Head of ICT and myself have LA rights anywhere else. -
You might also try a connection monitor & packet sniffer to see what's going on. I used TCPView and Smartsniff last time I was having problems with the Document Server which helped push us in the right direction, albeit only a little.
-
I know of a broadband company whose unlimited actually means unlimited, DataComms Europe. I've been using them for 2-3 years with no problems, and with the amount I download, I'd have fallen fowl of monitoring / limiting if they had it (I've got a machine which watches RSS feeds and starts torrents for me). Unfortunately they're not cheap and in order to upgrade the speed without breaking the bank I've just switched to Eclipse. But I'd definately recommend DataComms for those who are willing to pay a little more.
-
Or a wind turbine?
-
No problems here either. Let's see if we can get all our members in the beta ^^
-
I've not had many problems with either ATI or NVidia cards or drivers, but I prefer NVidia as their drivers support more modes for dual screens. The only complaint I have with NVidia is the heat generated by the 8800. My record thus far, 75°C at full load, and from what I've read, thats normal 8O
-
Images were made using Google SketchUp and only took an evening. I've also got one of the new ICT office and server room, makes things so much easier when explaining the plan to the builders ^^
-
Surely the caretaker needs full access in case of break in or fire?
-
You get a door sign? I wish we could afford such extravagance. I'm lucky to get a door.
-
I don't have pics of the current suite, but this is the plan for the new one we'll be putting in before September.
-
Yes, dealing with teachers* The A-Team is the admin staff, which also includes the Science/AVA Technician and myself. We're not yet up to the standard of the original A-Team, the best we could do with that would be a Reliant Robin. * This comment is made in jest. Teachers aren't really that bad. Well, not all of them anyway.
-
Ours is also similar to those above SchoolName | |- Domain Controllers | |- Member Servers | |- PCs | |- Admin Workroom | |- DT2 | |- Library | |- Staff Laptops | |- Curriculum Laptops | |- Trolley 1 | |- Trolley 2 | |- Pupil Laptops | |- Etc | |- User Accounts | |- Staff | |- A Team | |- TAs | |- Teachers | |- Students | |- 03 | |- 04 | |- 05 | |- 06 Students are in OUs based on year of enrollment and are members of the Students and [EntryYear]_Students security groups All staff are members of the Staff and InternetAuth groups, and depending on their role they may also be members of: A Team OfficeStaff SIMS Users TeachersGroup PasswordChangers Moodle Creators Student accounts are created by a script which takes a csv file containing EntryYear,Surname,Forename. This creates the user account, adds group membership, creates home directories/redirected folders, sets ACLs. I'll have a similar one for staff when I get around to it. Student usernames are in the form Surname.Forename Teachers usernames are their initials, support staff use their first initial followed by their surname Staff laptops are members of subject groups which are used mainly during RIS to control application installation for programs without site licences.
-
Not upcoming but worthy of a mention. Supreme Commander Platform: PC Out when: Now http://shop.gameplay.co.uk/webstore/productpage.asp?productcode=RM02380&title=supreme_commander_-_dvd_rom Price: £24.99 Features: - Created by the same team that created Total Annihilation - Epic size. Maps up to 6561km² (81kmx81km) 8O - Dual screen support :twisted: Single player isn't brilliant, but multiplayer and modability are first rate
-
I used to have a 2K3 DC mirroring the school setup with an SuSE webserver, but I've scrapped them both and now run the following: Linux file/media/web/DNS/VM server (1.2TB after RAID and filling rapidly) Mini-ITX based Linux box for music streaming XBox for video streaming Linux webkiosk (running Damn Small Linux) Athlon XP 3000+ gaming rig (just retired) New C2D E6600/GF 8800 gaming rig (currently being tested with Supreme Commander ^^ )
