Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

guys I have a low powered 1U server in my car which collect some data, but when I stop my car and remove my key, the power for the linux box will be cut immediately for the computer. And power back when key is in.

There will be 1-2 MySQL insert per minute into the disk.

Questions:

  1. Can I mount OS drive read-only for entire operation? and rest writable, to ensure OS will not be corruption?
  2. Can I use a UPS to issue shutdown command and restart command when power cuts and back. (never used any UPS)
share|improve this question

migrated from serverfault.com Apr 20 '11 at 16:07

This question came from our site for professional system and network administrators.

1  
Sounds like you should consider designing the system for a car instead of using a standard PC. There used to be plenty of websites out there with tons of information. –  Chris S Apr 20 '11 at 16:07
    
+1 for putting a server in your car! –  Moab Apr 20 '11 at 16:45
add comment

2 Answers

There are special power supplies available which run direct from the battery feed and monitor the accessory line. When the power is turned off it performs a clean ACPI shutdown using the power from the battery. Turning the ignition back on signals to the PSU to turn the power back on again. As they are 12V power supplies and not mains there is no need for such things as inverters, and they are consequently more power efficient.

Take a look at these for example from my favourite UK supplier.

share|improve this answer
    
What about branded UPS? because I would like to make rack server later for more complicated applications ( like video recognition?) do they provide clean ACPI shutdown and restart job? –  c2h2 Apr 20 '11 at 16:21
    
+1: @c2h2 - For DC-DC CarPC the best 'brand' I know of is Opus Solutions (opussolutions.com). I have used a 90W Opus DC-DC for years, works great. Includes a configurble shutdown controller, and ignition off/on/accessory mode detection (so it survives the crank, and switching between 'on' and 'accessory'). –  techie007 Apr 20 '11 at 17:16
add comment

Simple answer: Take the HD out of the equation. Try using a bootable CD instead of a hard drive.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.