Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-17 Thread Scott Robbins
On Thu, Feb 17, 2011 at 09:05:41PM -0500, Tom H wrote: On Wed, Feb 16, 2011 at 3:09 PM, compdoc comp...@hotrodpc.com wrote: In Ubuntu and Fedora, UUID's the default replacement of /dev/sdXY devices, but md and lvm devices are referred to in more traditional fstab stanzas. Possibly worth

[CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread James Smallacombe
We have about 50 CentOS servers with software RAID level 1 (mirroring). Each week, we swap out one of the drives (the one in the second of four hot-swap bays, only the first two of which contain drives) on each server and take them offsite for safekeeping. The problem is, the kernel seemingly

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread Robert Heller
At Wed, 16 Feb 2011 12:00:27 -0500 (EST) CentOS mailing list centos@centos.org wrote: We have about 50 CentOS servers with software RAID level 1 (mirroring). Each week, we swap out one of the drives (the one in the second of four hot-swap bays, only the first two of which contain drives)

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread James Smallacombe
At Wed, 16 Feb 2011 12:00:27 -0500 (EST) CentOS mailing list centos@centos.org wrote: We have about 50 CentOS servers with software RAID level 1 (mirroring). Each week, we swap out one of the drives (the one in the second of four hot-swap bays, only the first two of which contain drives) on

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread compdoc
The problem is, the kernel seemingly randomly switches between /dev/sdb and /dev/sdc for these devices. I use the UUID in fstab rather than '/dev/sda', etc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread Les Mikesell
On 2/16/2011 12:09 PM, compdoc wrote: The problem is, the kernel seemingly randomly switches between /dev/sdb and /dev/sdc for these devices. I use the UUID in fstab rather than '/dev/sda', etc In this case it would be something you give to mdadm to add a device back to a set. And you'd

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread yonatan pingle
partprobe as root should refresh the kernel partition / disk cache instead of a reboot. On Wed, Feb 16, 2011 at 7:30 PM, Robert Heller hel...@deepsoft.com wrote: At Wed, 16 Feb 2011 12:00:27 -0500 (EST) CentOS mailing list centos@centos.org wrote: We have about 50 CentOS servers with

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread Robert Heller
At Wed, 16 Feb 2011 12:38:53 -0500 (EST) CentOS mailing list centos@centos.org wrote: At Wed, 16 Feb 2011 12:00:27 -0500 (EST) CentOS mailing list centos@centos.org wrote: We have about 50 CentOS servers with software RAID level 1 (mirroring). Each week, we swap out one of the

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread James Smallacombe
On 2/16/2011 12:09 PM, compdoc wrote: The problem is, the kernel seemingly randomly switches between /dev/sdb and /dev/sdc for these devices. I use the UUID in fstab rather than '/dev/sda', etc In this case it would be something you give to mdadm to add a device back to a set. And you'd

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread Keith Roberts
On Wed, 16 Feb 2011, James Smallacombe wrote: To: CentOS mailing list centos@centos.org From: James Smallacombe ja...@sicom.com Subject: Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers At Wed, 16 Feb 2011 12:00:27 -0500 (EST) CentOS mailing list centos@centos.org wrote

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread James Smallacombe
At Wed, 16 Feb 2011 12:38:53 -0500 (EST) CentOS mailing list centos@centos.org wrote: At Wed, 16 Feb 2011 12:00:27 -0500 (EST) CentOS mailing list centos@centos.org wrote: We have about 50 CentOS servers with software RAID level 1 (mirroring). Each week, we swap out one of the

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread Robert Heller
At Wed, 16 Feb 2011 13:43:16 -0500 (EST) CentOS mailing list centos@centos.org wrote: On 2/16/2011 12:09 PM, compdoc wrote: The problem is, the kernel seemingly randomly switches between /dev/sdb and /dev/sdc for these devices. I use the UUID in fstab rather than '/dev/sda', etc

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread Brian Mathis
On Wed, Feb 16, 2011 at 1:41 PM, Robert Heller hel...@deepsoft.com wrote: Umm.  It has been stated elsewhere, but RAID is not really a substistute for proper backups. [...] -- Robert Heller             -- 978-544-6933 / hel...@deepsoft.com Deepwoods Software        --

Re: [CentOS] Software RAID Level 1, smartd and changing dev numbers

2011-02-16 Thread compdoc
However, we're not set up for UUIDs, the fstab just shows /dev/md0, etc. I mentioned it because I recently installed and set up servers with ubuntu 10.04 and fedora 14, while I was waiting for C6. Using the UUID is the default now. I also found it works fine in C5.5 - you just substitute the