Tags: mdadm

08/11/11

  07:47:49 am, by The Dreamer   , 718 words  
Categories: Hardware, Software, Computer, Storage

The storage upgrades on Orac and Zen begin

Because one of the 1TB RAID1 drives was starting to fail...I was looking at options to replace it.

I original had a plan to upgraded one of my 1.5TB RAID1's to a pair of 2TB drives....freeing one of the 1.5TB drives to test out the OCE/ORLM feature of the RR622 & TR5M-BP on Zen...converting the current 2x1.5TB RAID0 to a 3x1.5TB RAID5 (or perhaps 4x1.5TB) Oops!Backup seems to be doing well and its filling up the space, I'm sure there's a setting to tell it not to, but not an issue at the moment. Guess I should buy it before the 30 day trial runs out.

At first I was looking at new 1TB drives....though for $20 more I could get 2TB drives, the same kind as the 6x2TB RAID10. The 1TB and 1.5TB drives have been 7200RPM (as were all previous drives)....the Hitachi's are the first of the greener drives....5940RPM. Given that I'm doing PM RAID in a first gen PCI Express box, I'm probably still not seeing the full potential of the greener drives.

Full story »

08/07/11

  06:43:59 pm, by The Dreamer   , 165 words  
Categories: Hardware, Computer, Storage

Another Harddrive is biting the dust

Two years ago I bought a pair of 1TB drives from NewEgg.

This being first Sunday and all, mdadm checkarray ran on Orac for several of the arrays (the 3 arrays that share the 5-bay port multiplier enclosures are excluded, and get run individually later....since running at the same time is slow)

Anyways....1 of the 1TB drives spat lots of errors....and Orac is pausing now as it spits errors now and then. Guess I'll look to getting a new 1TB drive via Amazon Prime?

I was curious, and went to check warranty status on Seagate....nope. Really, went over to NewEgg to see when I had gotten the drives and what kind of warranty it had.... Only a 2 year warranty. Guess that's that.

Wonder if I should buy one new drive, two new drives....and if I go two new drives....should I get bigger ones? They don't fit the original expansion plan I had....plus my usage has grown to where the old plan doesn't work anymore....

hmmm.... :hmm:

07/09/11

  09:03:13 pm, by The Dreamer   , 1290 words  
Categories: Hardware, Software, Computer, Storage

New arrays on Orac

This is an owed post (of over 3 months in the making....) I had thought of lots of things to write for this since I meant to write it, but didn't write anything. And, now its so old...that I'm just going to be really terse....

:lalala:

The lead in to this posting was Worked on Orac yesterday. So, I got those 5 2TB drives...and first tried to make it RAID5 using mdadm. And, started filling it up....though the performance didn't seem to be much better using XFS, plus the new backuppc seemed to have regressed on handling XFS.... so I heard about ZFS on Linux....as kernel modules that do the taint. And, tried out RAIDZ, with its variable striping to maybe to do better on performance. It seemed nice, but then stack dumps filling up my logs....rebooted and then did a zpool scrub, and it went to work fixing lots and lots of errors, and then a few unrecoverable errors.

Guess no ZFS, and the XFS didn't seem enough of a gain to make it different from everything else. Even though there's one really big problem with ext4. Resizing it causes corruption. Supposed to be fixed now, but before I switched to the new array, I grew the backuppc volume for 3.75TB to 3.8TB, offline...and it resulted in corruption still.

So, I was making the new backuppc volume the full size of the array. As I mulled over the situtation...I decided that I would try RAID10, sure that wouldn't get as huge a boost over the old RAID6 array of 1.5TB, but it would still be an increase...and no idea what I'm going to do when I need more space. But, first I had to get a 6th 2TB drive to do RAID10. Plus it would mean that I would need to do something else with the 1.5TB drives. One was going to have to come out. Sure it could run degraded initially (though did find that it would come back after a reboot, guess the boot making degraded arrays come online...only does it for OS filesystems. Though the boot get's stuck because it can't mount filesystems and the recovery of mounting just doesn't work still. Getting into single user is such a pain too. Though after I broke my sudoers file recently, I turned off hiddenmenu.

The hard part about making the RAID10, was figuring out the ordering of devs...so that it was mirror across the eSATA channels and stripping with in. There's only 2 channels, and 6 drives in this array...so figured that was the best way to go. Though now that I've realized that its only PCI express 1.0, not sure if that was the best way to go. Though to try the other, would call for me to get 8 drives? And, who knows what the future holds for supporting backuppc....

internal bitmap on doesn't seem to degrade the RAID10 as much as RAID5 or RAID6, so I have that turned on now.

Now there was the question of what to do with the 4 remaining drive bays and the 4 1.5TB drives. Would I got with another RAID10, a couple of RAID1...would I concat them into the LVM for growth or make them separate.

Well, on the old 1TB array was my old MMC volume, which needed more space and part of the 5x1.5TB RAID6 was a backup volume...also in need of more space. I decided that I would go with two separate RAID1s using the Seagate 1.5TB drives (I had pulled the Samsung 1.5TB to make it degraded....that drive has since been hooked up to TARDIS for local backups).

Around this time, my Roku appeared...and I went through the various attempts to map a network drive to it for local content. Settling on the HSTI Media Stick and its 1TB maximum. I settled on going with 2 1.5TB RAID1 arrays. One of them was made fully available to be the new MMC volume. And, the other...I made a 1TB volume (called TARDIS) for the HSTI Media Stick, and the rest became the new backup volume.

The old 1TB RAID1 array stayed online, until it was recently repurposed into the volume for Time Machine backups (only 931GB).

Now I've been debating playing around with external bitmaps and/or external journaling to see if I can get more performance. But, external bitmaps go away after a reboot, and that just seems to be a bug that isn't going to get fixed anytime soon. external journaling would require me to find some devices for that....so I got the idea of PCI Compact Flash adapter and some compact flash cards....I have a couple of the PCI Compact Flash adapters....and I do have a few compact flash cards around. Though when I was playing around with ReadyBoost on Zen, I found they weren't really that great on speed. And, I was going to want to get as much speed out of things as I could here....so I did some checking and now I'm waiting to get around to buying some 600x CF cards to get around to trying this. The fastest card I have available in my collection is a 133x. And, I don't recall why I bought that one. Ones earlier than that would be left overs from when I had my PowerShot S20, then an REB1200 and then a Nikon Coolpix 5700.

These days, I'm all about the SD cards for my digital cameras (Eye-Fi), though been thinking of getting an ultracompact (and wearing my holster less often)....and some that I've looked at use MicroSD cards. Don't have any extra Class 10 ones laying about though....though I do have a couple of Class 6 8GB cards that need a home (I got them in a 2for1 sale, and the need for 1 didn't happen as planned....and when I do get around to getting that device, I'm sure I'll probably cave and get a 16GB or 32GB Class 10 MicroSD card.)

Full story »

07/03/11

  12:41:41 pm, by The Dreamer   , 789 words  
Categories: Hardware, Computer, Home, Appliances, Storage, Healthcare

Its Sunday of a 3-day/Monday long weekend, got something started at least.

Like I had said, this is the time to start replacing filters. Though I didn't necessarily mean they would happen this (long) weekend...though it was part of the plan (this year).

This morning, I slept in....it was after 10 sometime. I noticed lights flashing, Orac seemed to have died overnight. It does get warm before it cools off, after bedtime....and its the first Sunday of the month, so it was running checkarrays. Guess that was too much for it. Booted it back up, poked some logs and then looked at smartctl a bit....fired off some short selftests, and restarted checkarrays and back to my morning.

Maybe I should try to hit the tower fan to run for a couple of hours when I go to bed....or maybe I could just leave it going all summer....and see if that helps. Or find somewhere other than the lower shelf of my old printer stand to put the disk arrays.... :hmm:

So morning....now after 11am....I start coffee and think I'll have some breakfast sausages (which means the a whole package). Had to have them sometime this weekend, after buying them yesterday. Because the Dillons store changed the display to this awful spring loaded push stuff to the front type system, which probably works fine for things that have thicker packaging... but a foam tray of sausages with thin plastic wrap...not so good. Pretty much impossible to get a package out without the plastic getting ripped. Been this way for months and months...don't know why they haven't figured it out yet. They keep running register receipt surveys...though not sure why now, before it seemed centered around whether they should upgrade/replace my Dillons. They are now working on building the new Dillons. But....

Anyways...that meant I'd have to use the range hood, and replacing the charcoal filter is one of the key filters to replace this weekend. So, I started that process, and ended up doing a wipe down/clean everything, including the inside of the microwave. Now, the inside of my microwave does reflect that I don't clean it that often...but it wasn't disgusting or anything. And, the end result isn't spotless...but at least it isn't greasy and it is cleaner. But the grill in front of the filter only gets attention when I'm replacing the filter. Oh, just realized I forgot the grease filters on the bottom. I should do those later. Wonder if I can toss those in the dishwasher?? They're supposed to be....but I suppose if I had too, I could probably track down replacements on line, eh? Evidently as P/N 4358853. Wonder when the bulbs are going to need replacing....should be a standard 40W appliance bulb in the microwave, P/N Y0053437, though its a different 25W bulb on the underside? P/N A3073101. Hmmm, wonder if they make LED replacements for these. Perhaps I'll look at replacing sooner than later....

Now while cooking my sausages....I thought I of one other thing that is on my list to replace. And, that is the UV-C bulb in my Germ Guardian 1000 in the bathroom. Yes, its more than just a night light in there.... Supposed to replace the bulb like every 6 months. Though its been 9 months since I got it. I did get a couple of spare bulbs a while back, but I first had to find them...turned out they were in the first place I looked...only I wasn't looking there for them (moved something more recently added to my cabinet to another 'better' spot....yeah, I also did some light rearranging as I was looking for them. Like I bought a new thing of toothpaste, only to find today that I already had two ... neither in the expected location....) At least I avoided another new nose hair trimmer...when I was entering the transaction in Quicken, it pre-populated using the information of my last drugstore.com transaction. Which showed that I had already bought the item last time, at a lower price than this time (this time's had a mail-in rebate...) Was able to cancel and replace the order. Though it probably means that the charge won't hit my Discover card until after June 30th (so no 5% cashback bonus for the drugstore.com purchase...).

Full story »

04/20/11

  11:35:17 pm, by The Dreamer   , 3081 words  
Categories: Hardware, Software, Computer, BOINC, Storage

Zen is back, with a little help from Acronis True Image Home 2011

.... kind of, though more not.

Three weeks ago today, Zen locked up. And, when it came back...it wasn't all there. It was bad....stuff wouldn't run, missing or corrupt system dlls, etc. Well, I did buy Acronis True Image Home 2011 the weekend before, and I had got nonstop backups going for a few days...and it seemed to show that it had replaced the old backup settings (image back only). And, trying to go into "Backup and Restore" launched Acronis True Image Home....

Guess I will restore the system to a previous time earlier that day. Seems the last time was about 6 hours back (and there were other weird gaps) later I read that non-stop isn't really non-stop...it'll pause if the machine is 'too busy'. Problem is it thinks BOINC is the machine being 'too busy'....didn't figure this out until later.

But, I went for it. After doing the restore, it rebooted...and...poof, I have nothing. Well, it went into HP's recovery partition instead. And, the only option enabled there is to restore the system to factory. After some cursing, I figured I'd go ahead, reinstall Acronis True Image Home and try again with an earlier time. While, that was happening, I had gotten onto another computer to do some surfing to see if there was some alternative way to invoke the restore, having not used the create restore cd option yet.

I found that I could download an iso from acronis, that was the same as what the software would've created and boot with that. So, instead of completing the initial setup screens of the freshing restored to factory...I booted from that. And, then tried looking for an earlier restore time.

Well, that interface is pretty bad. The worst part is that it sorts non-stop backup times alphabetically....so 1:59 is followed by 10:00, and then 11 and 12, before 2:00 shows....and AM & PM, those are at the end of the string...so PM times are interleaved into the AM times. Well, I remembered what time I had restored to previously, so I had a starting time to search for and try to guess backwards to a suitable restore time. There was a huge gap, now it was a busy 'vacation' day. I had a doctor appoint in the morning and then an MRI in the afternoon. The first restore attempt had been to a time shortly after returning from the MRI. The next backup times were for a period after I had returned from the doctor appointment. Might be okay....I would probably lose one Quicken transaction, but I could easily put that back (entering that I had paid co-pay)...I had read emails then as well as after the MRI, but I didn't recall anything too important that I had to get back having come in since my morning email check.

So, off it went....oh the first restore attempt took hours and I had gone to bed hoping to find Zen back in the morning. Now the next day, I was running a bit late for work...but I got it going, with it reformatting and updating partition settings first and I hoped to come home from work and be up and running again.

Well, that's not what I found. I was back at the HP Recovery Partition screen. So, I rebooted from the Acronis recovery disk, and this time I hit the search for backups option to see if it might find anything else. I figured it was worth a shot, while I mulled over the idea of starting over from scratch....at least I had the stuff in backuppc (sort of). Well, it did find something else...it found some image backups...odd. I had played around the option in Acronis True Image Home, but thought I had opted to go with non-stop backups and a fresh start with the external drive.

But, it seemed to be valid images and it was from the night before the crash. So, I used that to restore. I only made one mistake, where I marked the C: drive as active instead of the hidden system partition. Booting a GParted Live CD, I switched things back and that got me going again. Now while I was in the GParted Live CD, I noticed that it saw two internal drives...instead of the Intel Matrix RaidVol. I suppose that means the Intel ICH8R Matrix Raid is actually another FakeRAID, and after some searching around I found it to be true.

Hmmm, wonder if I shouldn't have bothered ordering the system as RAID1 then? Years ago, I had built a PC using FakeRAID...and it was kind of a mess after the motherboard failed (around the time where lots of motherboard makers were having trouble with counterfeit capacitors.) Yet, I'm considering building a machine from scratch again.... :hmm:

Wonder if it being FakeRAID is why after crashes it messes up the RAID, and has to initialize again (was scary seeing that the first time)...and then verify and fix errors.... wonder if this is going to happen every time Windows 7 fails to shutdown safely?

Oh well, try the boot....and success its all working again. I then look at the backup drive to see what I had restored from. Well, before I setup Acronis True Image Home 2011, I had been using Microsoft's image backup option, and scheduled it to run every Tuesday night. And, it usually runs on through to Wednesday night. Though it did seem to not take as much time lately....guess Zen also getting hit by backuppc at night was slowing the image backup down. I had looked at blocking out that night in backuppc, And, at this particular time...there was no hit from backuppc, because I had taken I was in the process of building a new array (I plan to write about that later) I was between backups.

Guess I'll leave Microsoft's image backup going...since it worked. Though it has one annoying negative. It removes the previous backup before creating the new backup, and if something goes wrong...no backups.

Meanwhile, I couldn't get non-stop backup to go again...probably a mismatch in state or something?

I then dig through the non-stop backup and restore a few files that had changed since the image backup.

Pages: 1· 2· 3

03/27/11

  06:33:39 pm, by The Dreamer   , 817 words  
Categories: Hardware, Computer, Momitsu V880N, Networking, BOINC, Storage

worked on lhaven, kind of

It might be time I upgraded/replaced 'lhaven'.

This is the only computer in my home network that is only 10/100BaseT, everything else being gigabit. I did picked up a gigabit NIC, but couldn't get it to work in this computer. Seems to not get along with something integrated hardware-wise.

The other thing is there have been lots of errors coming from ata1.00 for sometime. This is also the remaining computer that uses PATA drives. 'lhaven' has 3 300GB PATA drives in it. The primary master (ST3300622A) and secondary master (6B300R0) were in RAID1 configuration, and the primary slave (WD3000JB) is just a single disk. secondary slave is the CD drive...forget what it is exactly.

It wasn't dire that I replace the failing primary master, though it had failed out once before....system booted off the secondary master and ran degraded. But, I added the disk back in and it quickly got happy again (have internal bitmaps enabled).

I had looked around and there isn't much in PATA drives available these days...and nothing in 300GB. Choices I found were 80, 320 or 500. I suppose I could've gone with a 320...but what I did instead of score a 300GB off of eBay.

Replacing it didn't go though. Failed out the disk, booted up on secondary, and tried to put in new disk. First cloning partition table over to new disk. Wouldn't work...new disk is smaller than the secondary master.

As it turned, out the two primary drives were the same size, but the secondary was slightly bigger. I had partitioned the drive using all the space, though it was never using all of it. Probably should've partitioned it the same size as the primary drives. But, I didn't recall this at midnight...figuring it was would go quick and let it resync while I slept....

So found details on shrinking things so that I could add the new disk. Then things got weird.

grub got messed up, and the new disk wouldn't come back correctly into raid. There seemed to be CHS issues, maybe the BIOS in 'lhaven' is too old for such a new drive (ST3300820A)...had seen messages about it, but was more stumped by why it kept changing the md1 slice from sda2 to sda...leading to nasty things as it tried to rebuild itself.

Also noticed that it did different things if it booted from the primary versus the secondary. Apparently the md0/md1 didn't show up soon enough so it used the partition directly.... and the sda1/sda2 paritions were kind of messed up. In fact the /home filesystem on one got seriously hosed, so I reformatted it. But, when I rebooted later..../home was back and working.

During this process grub got messed up, so I had to download a livecd to reinstall grub. Eventually, it all seemed to mostly be working. Except that I could only boot from the secondary master, it would come up wrong from the primary. And, the errors I was seeing that prompted this were still happening.

So, likely not a drive problem...but something else wrong with 'lhaven'. So, I decided to put the old primary drive back and resync that and put everything mostly back the way it was before.

It wasn't without some challenge...like how to make it not see the secondary master and get confused by it. I tried removing power to it, but computer wouldn't power up. I tried removing just IDE cable from it, BIOS halted because just a secondary slave wasn't kosher. It started things degraded, but used sdc1 as root (instead of md0 which should be sda1, with sdc1 out...zero'd it superblock) it was also weird on vg00. md1 wouldn't activate, but vg00 was using it some how. And, when I did activate it...I couldn't get sdc2 to add to it.

But, eventually it all got back to the way things were before.

So, I guess its time to see about replacing 'lhaven'. Its old enough. Though not sure what, besides case and powersupply are original from the computer I purchased in August 2002.

Hard to say what I'll replace it with though...since not much out there fits into where it is (perhaps its time to get a new KVM), and I'm going to want a pretty souped up system to speed up BOINC work....even though that's pretty much all it does these days. Since, everything is being handled on 'box'/'orac' now. And, the secondary services that do run on 'lhaven' don't call for anything beefy (DNS, NTP)....though I do want to redo my Linux media server setup.

My Momitsu V880N is probably going to get replaced sometime later this year... only had mmc running on 'tardis' and 'lhaven'. mmc doesn't work on vista/Win7, and 'tardis' is off in the corner to die. Could probably get mmc working on some other linux box if I needed, but its probably time to come up with something DLNA.... and have my Roku take over.

06/21/10

  05:57:00 pm, by The Dreamer   , 1339 words  
Categories: Software, Computer, Storage, Ubuntu

declaring 'orac' alive again.

'orac' is back, long live 'orac'.

'orac' had gone away on Thursday, it actually started in Wednesday.... For some unknown reason, I decided to start the upgrade of 'orac' from 8.04LTS to 10.04LTS.

The upgrade seemed to go okay, but when I rebooted....it wouldn't boot. I scrambled around looking for a livecd to boot with....did have any 64bit ones handy and 10.04 was hit and miss on booting. But, I could see vg0 (root, home, swap) with all the livecds except 10.04.

Something about 10.04 didn't like how vg0 was set up. I looked at 'box', which had been running 10.04 for a while and was working. Noticed the main difference between the all the other md's and vg's...was that they weren't fdisk'd md's. When I had originally set up 'orac', I had used a recipe that I had found online on how to do it...since initial install of ubuntu onto Raid wasn't straight forward then. and after md1 was created, I had fdisk'd and then pvcreate/vgcreate, etc. on it.

When I added the other two raid sets....I just pvcreated the md and then used it...no fdisk of the md.

In retrospect I should probably have done a backup of the filesystems while I was running a livecd that could see it....and then perhaps remade the disk and restored into it. But, I didn't and while trying to 'fix' the problem...I corrupted things, and I wasn't able to recover (tried pvcreate -u + vgcfgrestore...but couldn't get the filesystems to come back.

After lots of other attempts and such, I reached the point where I decided things were lost and set on to figure out if I can get back.

backuppc localhost doesn't back up the entire localhost....but it had my home directory backed up (but not all of /home), and it was also backing up /etc. Realized the the one thing it wouldn't get is my crontab files. But I had a dd image of most of the disk (the front part munged)....so I string'd and recovered my crontab from it. And, then set out to install 10.04LTS new.

Since md1 was going to get redone, I decided to redo md0..../boot. Made it a bit bigger than before so that it won't get as crowded from accumulating every new kernel that is released until 12.04LTS comes out. Or some future release needed more than the old size to work. Had actually run into this problem years ago at my previous job....

But, the install kept failing....asking for the disk again....I burned several copies, download from other sources, but no go. So, I tried to 9.10 (thinking I would upgrade to 10.04 immediately), but it also didn't work. Eventually, I found a reference on google that said the 10.04 (and 9.10) installs were picky about what kind of optical drive was being used. It specifically mentioned a particular DVD burner, with 'orac' came with a DVD burner...though I have never used the drive since I did the original install. I tried a USB stick, but couldn't get the machine to use that, and the other external drive I could find was firewire (and there's no BIOS option to boot from firewire).

So, I took apart my machine and the firewire drive. And, put the DVD-ROM drive that was in the firewire enclosure into the machine. The DVD-ROM drive had original come from my circa 2003 Dell, known as 'tardis'.....when I had swapped in a DVD burner.

'box' is the Linux machine that I do cd burning on....and I hardly do DVDs anymore, though I did get a new DVD burner recently for the new 'gumby'.

Anyways....with the 'new' optical drive in 'orac'....I was able to get 10.04LTS to install, and then started the long process of getting my environment back. First problem was backuppc installed with a different uid/gid....so it wouldn't access the old /var/lib/backuppc storage. I opted to fix it the wrong way....that took forever....doing the chown of the files/directories. Should've just changed the uid/gid that backuppc had installed itself as. But, then I tried to do the restore....next problem was sudoers, had forgotten about that.

I then restored /etc to another place, and restored my home directory along side of the one the install had created. When done I swapped my home dir and rebooted. That was a mess. The desktop was all messed up...not just missing apps. Figured it was because the desktop didn't like the old settings....but couldn't find any details on how to upgrade desktop, if I hadn't done an upgrade. I thought other OSs handled this kind of thing. But, not here. So, I flipped back and slowly copied stuff over and restored settings etc. And, reinstalled various apps as I went.

Then I decided that I had made sufficient progress on getting 'orac' configured, that I didn't want to lose things. I had disabled backupc from doing automatic backups during the restore. So I turned it back on and back up the other systems around my home (after first doing a new backup of the new 'orac'). It didn't like .gvfs in my home directory....in old version it complained but continued, in this version it complained and the tar returned an error due to previous error...causing the rest of the backup to fail (the localhost backup does 4 'shares')....so I tweaked the config to get it to work.

The only thing I saw was that it tried to backup 'ulkc', my ubuntu notebook...but it wasn't on at the moment, so it failed. It wasn't going to automatically back up anything else yet, since its one of my blackout periods. So, I started kicking off manual backups of various things, and watched it work. First thing that didn't work was a backup of a windows share. Seems smbclient changed since 8.04LTS...and one of the options was used in backuppc 3.0 didn't work anymore. The new is 3.1, and the default options is minus that one switch....so I matched things up and it did its thing.

The only problem that still didn't work, which I think was the reason I decided to bite the bullet and upgrade to 10.04LTS (to get the newer backuppc) was incremental backup where a very large file has changed since the full. Usually the virtual harddrive of a VirtualBox. Sadly this wasn't fixed in 3.1. Guess I'll have to look at some other way to deal with it. Like exclude it from the regular policy and create a new one that only does that one file....or something. Or maybe ....

I continued to work on other things, as I worked through comparing the old /etc with the new 'orac' /etc. Though interrupted by trying to get file shares working (I had exported my Dropbox directory from another server for access from other computers on my home network....though LAN sync is available now, I haven't undone the stuff yet). And, getting snmpd working again....so I could see the impact to resources and network from all the backuppc jobs running in cacti.

One strange problem is that 'orac' can not access the NFS shares on 'lhaven' (RedHat 7.3), but 'box' can....the only difference I can think of is that 'box' was upgraded to 10.04LTS.... Though I guess it is time I worked on moving services off of 'lhaven' and figure out what I'm going to do to either replace or upgrade it.

The other issue was Handbrake. Originally, I had built it by hand...since there wasn't a package for 64-bit Linux. Though later, I got a newer version via PPA. But, the version that I got via PPA for Lucid didn't work. So, I eventually went and built my own again...from the subversion....my build works....

Hopefully, when 12.04LTS comes along....things'll just upgrade smoothly.

The other odd thing, is that 10.04LTS seems slower....particular in file I/O. The machine seems to really degrade in performance doing a large file copy (as was happening when I was copying directories from my old home dir to the new one.) All the CPUs are bored while this is happening (it's a 2.4GHz Core 2 Quad....with 8G of memory....) Hopefully something that'll resolve itself later?

01/01/10

  05:22:00 pm, by The Dreamer   , 839 words  
Categories: Hardware, Computer, Networking, Storage, Ubuntu

Converted box to use RAID1

Link: http://wiki.archlinux.org/index.php/Convert_a_single_drive_system_to_RAID

box is such an important server to my home network, while the last time it failed wasn't due to drive failure...there had been times in its past where it was.

And, since I was playing around with RAID a lot on orac, I decided that it was probably time that I convert box to do RAID.

It doesn't need a lot of storage....it has always been a 40GB harddrive of some sort. That had come either as stock in the off-lease system I built it around or from a ReplayTV. The latest incarnation of 'box', a Thinkcentre S51, used SATA drives, so spare drives wasn't something I had a pile of for it.

Now being a Thinkcentre S51, there wasn't much in the way of internal options of doing RAID, but there was a second SATA port on the motherboard. And, it did have USB ports...so at first I was looking at creating RAID using an external harddrive. Either USB or SATA. Leaning towards SATA (had purchased a SATA bracket).

But, I was looking for a pair of small SATA drives....at first one the same size as the current, but then a pair of small/same would do....and more procrastination.

But, then the K-State Student Union computer store had a clearance table out...and on it where various sizes of 2.5" SATA drives. And, I recalled seeing an adapter that would allow me to mount a pair of 2.5" SATA drives in a 3.5" drive bay. There was even a version that had on board RAID (and could do USB)....similar to one of the RAID enclosures connected to orac. Though I wanted to go with mdadm managing my raid in software, since it was a little bit better known to me in its setup, management and recovery. The latter is kind of important, since at work we've had fun in trying to recover systems using hardware RAID after a card/board swap or having it tell us its status by some mean other than wondering if a light shouldn't be on or something while passing by it in the data center.

But, the table had come out before I was going on my winter holidays...so I wasn't in a position to figure things out and buy it. Later when I came back from holidays, I saw that some of the 2.5" drives were still available...and had been marked down even further. The big ones were gone, and a co-worker mentioned that he had gotten a pair of 250G for just such a use. There was a single 80G and 3 120G left. So, either I could get a single enclosure and go with the old external mount of drive plan....or get a pair of 120G drives and explore the 2x2.5 to 3.5 bay adapter route. I ended up buying all 3 of the 120G drives, figuring that I'd have a cold spare for down the road.

I then checked eBay for the adapter....and bought the one that wasn't RAID or anything. I chose a seller that shipped USPS, and it just made it in on New Year's Eve.

During the thinking and research phase, I found the linked to details on how to do what I wanted.... And, I pretty much used it (with minor adjustments to suit my needs, like the differences of my ubuntu release, or that I was going to swtich to having /home on /dev/md1. Or that I wasn't going to reuse the old drive in the conversion, etc.

Pages: 1· 2

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 9 months 21 days 14 hours 19 minutes and 31 seconds until the end of time.
And, it has been 4 years 3 months 6 days 23 hours 43 minutes and 25 seconds since The Doctor saved us all from the end of the World!

Search

March 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 2
This seal is issued to lawrencechen.net by StopTheHacker Inc.
powered by open-source CMS software

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime