RAID/LVM Root Filesystem on SuSE8.2
Matthew Carpenter
matt
Thu Feb 10 18:12:26 PST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Speaking of "making the partitions equal or greater in size", I learned
a slick trick reading this article (if everybody promises not to tell I
might scan the few pages and share) was the following line:
# sfdisk -d /dev/hdc | sfdisk /dev/hda
This is done once you've copied all the data from /dev/hda to the mirror
(which only lives on /dev/hdc), and takes /dev/hdc's partitioning scheme
and duplicates it to /dev/hda. That's just slicker'n snot.
As for monitoring, which method of monitoring/notification do you use
for failed disks?
David Bandel wrote:
| On Wed, 9 Feb 2005 14:00:36 -0800, Bill Campbell
| Well, I might agree if I were talking about GRUB. But with LILO's
| understanding of raid, it's no big deal. In fact, I've already lost a
| Maxtor 80Gb hdd (Maxtor must be out to lunch, I've lost a bunch of
| their 80Gb hdds this past year) that contained both /boot and /root.
| Were it not for raid, I'd have lost the contents of both (it was a
| hard crash). As it was, I removed hda, replaced with a Hitachi,
| reboot (the /boot was on hdc and /root on hde if I remember correctly,
| or maybe the reverse), partitioned remembering to make the partitions
| equal or greater in size, added the partitions and let mdadm rebuild
| all. Down time (which happened a day after the crash) consisted of
| the time it took to shutdown, remove the hard drive and replace with a
| new one, then restart the system. The system ran for a day after
| mdadm sent me a note telling me hda was a goner (actually it said md0
| and md2 were degraded).
|
| Ciao,
|
| David A. Bandel
- --
Matthew Carpenter
matt at eisgr.com http://www.eisgr.com/
Enterprise Information Systems
* Network Server Appliances
* Security Consulting, Incident Handling & Forensics
* Network Consulting, Integration & Support
* Web Integration and E-Business
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCC+czso9lqh4MragRAu9CAKC0N5vr1y1tuiG88wg41b7ma/nSLACfVTD+
Dvevn9GXgcjpZgepPRTxnqI=
=qmGB
-----END PGP SIGNATURE-----
More information about the Linux-users
mailing list