Linux RAID subsystem development
 help / color / mirror / Atom feed
* Is this stupid?
@ 2011-12-04 22:28 Leslie Rhorer
  2011-12-05  6:01 ` NeilBrown
  2011-12-05  6:18 ` Doug Dumitru
  0 siblings, 2 replies; 5+ messages in thread
From: Leslie Rhorer @ 2011-12-04 22:28 UTC (permalink / raw)
  To: linux-raid

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

I have a system - one that is not expandable - that has relatively limited
RAM, comparatively speaking, and must boot from a usb stick.  The system
hosts a RAID array, but one cannot assume the RAID array is available when
the system boots.  IOW, I want to be able to take down the RAID array for
maintenance, possibly booting the system with no array created, at all.

On the other hand, USB sticks have a limited number of writes available
before they fail, so I don't want the system to be thrashing the flash drive
any more than necessary.  At this time,  I have /var/run, /var/log,
/var/lock, and /tmp mounted as tmpfs file systems.  What I propose is to run
an init script that checks to see if the array is mounted, and if so appends
files in the aforementioned directories to existing directories on the array
and then remounts and binds the directories on the array.  The stop call in
the script will reverse the process so the system can shutdown or so I can
take the array offline after booting for maintenance.  Is this unwise?  Am I
missing something crucial that might cause the system to blow up?

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 3358 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-05  8:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-04 22:28 Is this stupid? Leslie Rhorer
2011-12-05  6:01 ` NeilBrown
2011-12-05  7:42   ` Leslie Rhorer
2011-12-05  6:18 ` Doug Dumitru
2011-12-05  8:01   ` Leslie Rhorer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox