From theillien at yahoo.com Wed Dec 6 06:04:24 2006 From: theillien at yahoo.com (Mathew Snyder) Date: Wed, 06 Dec 2006 01:04:24 -0500 Subject: RAID reconstruction Message-ID: <45765D68.5080208@yahoo.com> It has become necessary to reconstruct a hardware RAID from level 0 to level 1. This is attached to an Intel RAID card. If I run the reconstruction will Linux automatically recognize the resized partition or will I completely bork things. My current setup is two drives in RAID 0 at 67GB, a boot partionion of 176MB and a swap of 2GB. Reconstruction would resize the logical drive from 67GB to roughly 33.4GB. How will doing this affect the other two partitions and will Linux choke on the resize? Thanks. Mathew From romeotheriault at fastmail.fm Wed Dec 6 12:47:34 2006 From: romeotheriault at fastmail.fm (Romeo Theriault) Date: Wed, 6 Dec 2006 07:47:34 -0500 Subject: RAID reconstruction In-Reply-To: <45765D68.5080208@yahoo.com> References: <45765D68.5080208@yahoo.com> Message-ID: <78FA538D-05B4-4790-9F11-C7995E6F6809@fastmail.fm> On Dec 6, 2006, at 1:04 AM, Mathew Snyder wrote: > It has become necessary to reconstruct a hardware RAID from level 0 > to level 1. > This is attached to an Intel RAID card. If I run the > reconstruction will Linux > automatically recognize the resized partition or will I completely > bork things. > > My current setup is two drives in RAID 0 at 67GB, a boot partionion > of 176MB and > a swap of 2GB. Reconstruction would resize the logical drive from > 67GB to > roughly 33.4GB. How will doing this affect the other two > partitions and will > Linux choke on the resize? > > Thanks. > Mathew > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list My guess is that this will completely bork your current setup. But I'm not an expert on this so I don't really know. Romeo From phb at llgc.org.uk Wed Dec 6 13:21:04 2006 From: phb at llgc.org.uk (Phil Bettinson) Date: Wed, 06 Dec 2006 13:21:04 +0000 Subject: RAID reconstruction In-Reply-To: <78FA538D-05B4-4790-9F11-C7995E6F6809@fastmail.fm> References: <45765D68.5080208@yahoo.com> <78FA538D-05B4-4790-9F11-C7995E6F6809@fastmail.fm> Message-ID: <4576C3C0.6010200@llgc.org.uk> Romeo Theriault wrote: > On Dec 6, 2006, at 1:04 AM, Mathew Snyder wrote: > >> It has become necessary to reconstruct a hardware RAID from level 0 to >> level 1. >> This is attached to an Intel RAID card. If I run the reconstruction >> will Linux >> automatically recognize the resized partition or will I completely >> bork things. If you simply do it straight, I would guess that it would horribly bork your settings... having said that..... I've managed (by accident, using the Megaraid tools on RHEL3 64bit (don't do it, they don't work!))to reconfigure a RAID5 array of 6 250GB disks to a RAID 1 Array, and to find that Linux was quite happy, and even dealt with the new size. I was a little shocked as my main server all of a sudden gained a large amount of diskspace, but no redundancy, however. I don't think I would ADVISE doing it straight. I think if you are going to be using a partition that is going to be growing in size you probably want to look at creating logical volumes, so you can grow and shrink them. Perhaps there's another way to achieve what you need doing? Thanks, Phil -- ----------------------------------------------------------------------- Phil Bettinson BEng, RHCT Beng, RHCT Swyddog Gweinyddu Systemau Systems Administrator Isadran Cyfrifiaduron Computer Section Llyfrgell Genedlaethol Cymru National Library of Wales Aberystwyth, Aberystwyth Ceredigion, Ceredigion SY23 3BU SY23 3BU Ff?n / Phone: 01970 632XX Ffacs / Fax: 01970 615XXX EBost / Email: NOSPAM at llgc.org.uk We / Web: http://www.llgc.org.uk ----------------------------------------------------------------------- Yn siarad drosof fy hun, nid LlGC - Speaking personally, not for NLW This is my official opt-out. I do not wish to recieve any marketing material of any kind. From theillien at yahoo.com Wed Dec 6 13:31:42 2006 From: theillien at yahoo.com (Mathew Snyder) Date: Wed, 06 Dec 2006 08:31:42 -0500 Subject: RAID reconstruction In-Reply-To: <4576C3C0.6010200@llgc.org.uk> References: <45765D68.5080208@yahoo.com> <78FA538D-05B4-4790-9F11-C7995E6F6809@fastmail.fm> <4576C3C0.6010200@llgc.org.uk> Message-ID: <4576C63E.9060005@yahoo.com> Phil Bettinson wrote: > Romeo Theriault wrote: >> On Dec 6, 2006, at 1:04 AM, Mathew Snyder wrote: >> >>> It has become necessary to reconstruct a hardware RAID from level 0 >>> to level 1. >>> This is attached to an Intel RAID card. If I run the reconstruction >>> will Linux >>> automatically recognize the resized partition or will I completely >>> bork things. > > If you simply do it straight, I would guess that it would horribly bork > your settings... having said that..... I've managed (by accident, using > the Megaraid tools on RHEL3 64bit (don't do it, they don't work!))to > reconfigure a RAID5 array of 6 250GB disks to a RAID 1 Array, and to > find that Linux was quite happy, and even dealt with the new size. I was > a little shocked as my main server all of a sudden gained a large amount > of diskspace, but no redundancy, however. > > I don't think I would ADVISE doing it straight. I think if you are going > to be using a partition that is going to be growing in size you probably > want to look at creating logical volumes, so you can grow and shrink > them. Perhaps there's another way to achieve what you need doing? > > > Thanks, > > Phil > As it turns out, I inadvertently went from a RAID 5 to RAID 0 and lost all of my redundancy. Incidentally, I did this with the MegaMGR tool which seems to function well with one exception. There seems to be roughly 830MB of unused space on the logical drive. It won't let me add a drive to the array as a result. Instead, it requires me to create a second logical drive so I guess I won't be getting my RAID 5 back. I'm not concerned about the growth though. The database that resides on this server has only only grown to a little over 6GB in size and it's roughly 3 years old. My concern is redundancy. Especially since this occurred as a result of a failed drive (among other things, such as me not paying attention ;) ). Mathew From phb at llgc.org.uk Wed Dec 6 15:44:29 2006 From: phb at llgc.org.uk (Phil Bettinson) Date: Wed, 06 Dec 2006 15:44:29 +0000 Subject: RAID reconstruction In-Reply-To: <4576C63E.9060005@yahoo.com> References: <45765D68.5080208@yahoo.com> <78FA538D-05B4-4790-9F11-C7995E6F6809@fastmail.fm> <4576C3C0.6010200@llgc.org.uk> <4576C63E.9060005@yahoo.com> Message-ID: <4576E55D.4080508@llgc.org.uk> Mathew Snyder wrote: > Phil Bettinson wrote: >> Romeo Theriault wrote: >>> On Dec 6, 2006, at 1:04 AM, Mathew Snyder wrote: >>> >>>> It has become necessary to reconstruct a hardware RAID from level 0 >>>> to level 1. >>>> This is attached to an Intel RAID card. If I run the reconstruction >>>> will Linux >>>> automatically recognize the resized partition or will I completely >>>> bork things. >> If you simply do it straight, I would guess that it would horribly bork >> your settings... having said that..... I've managed (by accident, using >> the Megaraid tools on RHEL3 64bit (don't do it, they don't work!))to >> reconfigure a RAID5 array of 6 250GB disks to a RAID 1 Array, and to >> find that Linux was quite happy, and even dealt with the new size. I was >> a little shocked as my main server all of a sudden gained a large amount >> of diskspace, but no redundancy, however. >> >> I don't think I would ADVISE doing it straight. I think if you are going >> to be using a partition that is going to be growing in size you probably >> want to look at creating logical volumes, so you can grow and shrink >> them. Perhaps there's another way to achieve what you need doing? >> >> >> Thanks, >> >> Phil >> > > As it turns out, I inadvertently went from a RAID 5 to RAID 0 and lost all of my > redundancy. Incidentally, I did this with the MegaMGR tool which seems to > function well with one exception. There seems to be roughly 830MB of unused > space on the logical drive. It won't let me add a drive to the array as a > result. Instead, it requires me to create a second logical drive so I guess I > won't be getting my RAID 5 back. > > I'm not concerned about the growth though. The database that resides on this > server has only only grown to a little over 6GB in size and it's roughly 3 years > old. My concern is redundancy. Especially since this occurred as a result of a > failed drive (among other things, such as me not paying attention ;) ). > > Mathew > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list Bugger. There wasn't really much else I could say =). The bad news is, having had a simsilar problem, the only thing I could do was destroy the array and start again. So, bite the bullet, blame it on the failed disk, pleaed for some down-time (and overtime, if your lucky), backup the 6GB, and settle down to a lot of waiting. Perhaps move it temporarily to a new system? Of course, there is the possibility that someone out there it netland ahs a better answer. Phil -- ----------------------------------------------------------------------- Phil Bettinson BEng, RHCT Beng, RHCT Swyddog Gweinyddu Systemau Systems Administrator Isadran Cyfrifiaduron Computer Section Llyfrgell Genedlaethol Cymru National Library of Wales Aberystwyth, Aberystwyth Ceredigion, Ceredigion SY23 3BU SY23 3BU Ff?n / Phone: 01970 632X Ffacs / Fax: 01970 615XXX EBost / Email: NOSPAM at llgc.org.uk We / Web: http://www.llgc.org.uk ----------------------------------------------------------------------- Yn siarad drosof fy hun, nid LlGC - Speaking personally, not for NLW This is my Official opt-out. I do not want marketing material From rob.myroon at tartan.ca Wed Dec 6 18:11:19 2006 From: rob.myroon at tartan.ca (Rob Myroon) Date: Wed, 06 Dec 2006 11:11:19 -0700 Subject: Help using find command In-Reply-To: <4564AAE3.70806@illegal-access.de> References: <003101c6fd38$c65939d0$0400a8c0@Hope> <456F5A8A.4000900@tartan.ca> <4564AAE3.70806@illegal-access.de> Message-ID: <457707C7.10400@tartan.ca> I know, I know, my date was wrong!! It was the date on my windows machine ... not the Linux server. I was checking the calendar and pressed OK by mistake! Joe Ventker wrote: > Rob Myroon schrieb: > >>> -----Original Message----- >>> From: redhat-sysadmin-list-bounces at redhat.com >>> [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Rob >>> Myroon >>> Sent: Thursday, November 30, 2006 1:47 PM >>> To: redhat-sysadmin-list at redhat.com >>> Subject: Help using find command > > Hi Rob, > > this is "off-topic"... but have you ever heared about NTP? Or do > you know the "date +s"-command ;-) > > Kind regards, > Joe > > >