RAID/LVM Root Filesystem on SuSE8.2
David Bandel
david.bandel
Thu Feb 10 20:19:42 PST 2005
On Thu, 10 Feb 2005 17:58:59 -0500, Matthew Carpenter <matt at eisgr.com> wrote:
> -----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?
umm. mdadm? :
ps ax | grep mdadm
2150 ? Ss 1:06 /sbin/mdadm -F -i /var/run/mdadm.pid -m root -f -s
when I installed mdadm, I was asked who to e-mail messages to. the -m
root says mail to root (I get root's mail)
>
> 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-----
>
>
--
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
More information about the Linux-users
mailing list