On 06/01/12 15:13, Otto Moerbeek wrote:
Do a 'b *' command here, see the man page. That will make the whole
disk available and the a command will do what you expect. -Otto
Thank-you Otto and others for your assistance, that did the trick!
I got both drives online, and set them up as a RAID 1 volume. A little
geek porn if I may (I've never seen anything quite like that before.
Ha! Until sthen@ posted his message):
# df -h /st4
Filesystem Size Used
Avail Capacity Mounted on
/dev/sd3a 2.7T 8.0K
2.6T 0% /st4
Some snipped dmesg:
sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed
sd3: 2861588MB, 512 bytes/sector, 5860532640 sectors
Now I can lighten the load on some of my other drives. :)
On 06/01/12 15:27, Nick Holland wrote:
0/direct fixed naa.50014ee001cbd923
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
sd1 at scsibus0 targ 1 lun 0: <ATA, ST3000DM001-9YN1, CC4B> SCSI3
0/direct fixed naa.5000c5004a6e56f1
sd1: 2861588MB, 512 bytes/sector, 5860533168 sectors
sd2 at scsibus0 targ 2 lun 0: <ATA, ST3000DM001-9YN1, CC4B> SCSI3
0/direct fixed naa.5000c5004a5baa2e
sd2: 2861588MB, 512 bytes/sector, 5860533168 sectors
Life is good.
Oh, indeed! However, it'll take me at least a week to xfer my DVD stuff
onto it...
A few words of warning...
* This really messes up your ability to multiboot, as non-OpenBSD OSs
will think anything beyond the fdisk/MBR partition might be available.
But then, most other OSs choke pretty badly at this point anyway. may
not be that big a problem.
I won't be multibooting this box any more. (It was once a triple boot
WinXP/Win7/OpenBSD machine.) These days, I just buy really cheap used
PCs for my occasional Windows needs. Life is easier with cheap hardware
than bothering with multiple OSes on one box.
* Lots of BIOSes that see >128G disks still won't let you boot from
partitions higher than 128G.
* I haven't actually TRIED this. I was planning on buying a 3TB disk
to experiment on and update FAQ14...but just before I did, there was
this little flood issue, and being a cheapskate, I didn't want to sink
a lot of money into a drive I didn't really need quite yet (or more
accurately, I need TWO of...)
I was in the exact same boat; I'm a cheapskate too. I watched the same
model drive double in price (about $180 CDN to about $400) overnight,
and eventually they went down to $170. I kept scratching my chin on the
idea, and the last straw was when (yet again) if I wanted a file
(typically a movie), I'd have to dig up the DVD. I literally have
hundreds of DVDs. It's seriously inconvenient to buy blanks, burn the
data, hope it hasn't degraded when you need it, load it back... I
figured "Screw it", take the plunge. I think you know what I'd
recommend... :)
* Rebuilding the mirror will be a beast.
* you don't want to fsck a 3TB file system, 'specially if it is
rebuilding the mirror at the same time, though with 12G RAM, you might
be able to do it.
Nick.
I'm hoping luck will stay on my side and I don't have to rebuild any
time soon. And if things go sideways, which I always assume, I have
other workstations I can use (that one just happens to be the 'best').
Good eye on noticing the 12GB of RAM; I'm sure that will come in handy
when things go wrong. I'll be ordering a third 3TB drive as a spare,
but in a while. I don't want them all to be from the same batch.
I have a web server (Pentium 4) with two 40GB drives in RAID 1 as well,
plus a spare in storage. (Not a typo, 40GB.) As you've written before,
don't trust it, test it, so I pulled a drive, threw in my spare and let
it rebuild. I believe that took half a day. I'm sure 3TB will be very,
very ugly even on a machine considerably faster than a P4.
BTW, I'm nicely UPSed and have pretty reliable hydro where I live, but
stuff happens. That Pentium 4 with the 1.5TB drive only has 1GB of RAM,
but I've been pleasantly surprised on the couple of times it's had to
fsck the drive. I believe it only took about 10 minutes for it to sort
things out the last time, but it's pretty much read-only.
So thanks again folks for the advice!
--
Scott McEachern
https://www.blackstaff.ca