Ramblings from MostlyChris

Tech stuff and a bit more

Browsing Posts published in April, 2009

If your .FRM file gets hosed up, you'll need to repair it or your database(s) will be worthless. You'll still need to make sure you make regular backups of your databases so you can use them to rebuild the .FRM file. 1. Get last good backup of database (assumes the backup is an .sql formatted [...]

Launch `hpacucli’, the RAID interface and run the following: controller slot=0 pd show all All drives will be shown — it’s obvious which ones are not configured as a logical disk. controller slot=0 create type=ld drives=2:2 We’ve only added one drive, and the controller is smart enough to know that making a logical disk out [...]

If configured, you can access the RAID controllers in a Dell server or an HP server by browsing to the IP address of the server and using the ports listed. Dell Servers (OpenManage) https://ip.ad.dr.es:1311 HP Servers https://ip.ad.dr.es:2381 Notice they are both https.

If you find yourself in a situation where you have run out of drive space and your applications are failing as a result, you can run the following command to remove the reserve blocks on the drive and make some space. tune2fs -m 0 /dev/devicename Replace /dev/devicename with the partition you need to make space [...]

NOTE: RAID expansions can take a few hours to complete, especially if done on-line. This assumes that new drives have been added to the RAID array and a rebuild of the array has been done. You will need to follow these steps to have the OS recognize the new space. 1. Confirm fdisk -l shows [...]