Re: OS for RAID1

2008-11-10 Thread Roger Searle
A posting on wellylug the other day appears to provide a solution to 
what I was ultimately looking to accomplish.  It is via all packages 
installed rather than simply what's been installed since distro install:


dpkg --get-selections  dpkg-selections
dpkg --set-selections  dpkg-selections
apt-get -u dselect-upgrade


Cheers,
Roger


Nick Rout wrote:

On Sat, Oct 18, 2008 at 4:03 PM, Roger Searle [EMAIL PROTECTED] wrote:
  

Yes that sort of helps though gives me far more than actually I wanted,
which I suspected would be a response so I'll rephrase my question in the
way I nearly did earlier.  Following performing some ubuntu installation
where a pre-defined set of packages is installed for me, I then want to add
a bunch of other stuff, most of which I'd do via sudo apt-get install
programme1 programme2 etc on a few occasions.  I would then be told I'd
need a bigger bunch of dependencies, type y and away it would go.  I'm
looking for a listing of programme1, programme2 etc.

Roger




AFAIK apt-get does not keep such a record, whereas aptitude does.

  


Re: OS for RAID1 - Kbuntu - where is the raid option?

2008-10-20 Thread don

Yes of course.

Cheers Don
chris wrote:

Hi Don,
would I be able to get an iso of those disks from you please if I called
in the next time I am in town?
regards chris Thomas
North canterbury

On Mon, 2008-10-20 at 17:35 +1300, [EMAIL PROTECTED] wrote:

Got my disks this afternoon.

Following advise I've got the alternative kbuntu CD.

When the disk set up option poped up there was an option for LVM set up 
but not raid.  Where is the RAID set up?  Do I have to install the base 
system first?  Or was I meant to do a different install from the first menu?


Anyone done raid on kb before?


Cheers Don



--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz


Re: OS for RAID1 - Kbuntu - where is the raid option?

2008-10-20 Thread don

Thanks Roger,

The thread got quite long, I did skip back some of the posts but clearly 
missed that one.  Sorry to be a PIA.


Cheers Don
Roger Searle wrote:
my email on 15/10 was quickly created from doing such an install in a vm 
- while not up to the standard of a wiki article or for publication in a 
real book, i thought that it would be enough for someone to follow.  
here is what i wrote again:




early in the installation process when you get to the disk partitioning 
stage, you do a manual partitioning, create your various disk partitions 
on the first disk, and format type is NOT ext3 (or what ever you'd 
choose) but physical volume for RAID.  then set up the second disk 
with the same partition sizes.  Before selecting finish partitioning 
and write changes to disk go to the configure software raid entry 
where you can create md device of RAID0, 1 or 5.  This is where you 
join up the matching partitions from the 2 drives.  at this point you 
can then select a RAID1 device and specify format type and mount point.  
from there the installation is like any other - you slowly make a cup of 
coffee and come back to your fresh distro.




Cheers,
Roger


[EMAIL PROTECTED] wrote:

Got my disks this afternoon.

Following advise I've got the alternative kbuntu CD.

When the disk set up option poped up there was an option for LVM set 
up but not raid.  Where is the RAID set up?  Do I have to install the 
base system first?  Or was I meant to do a different install from the 
first menu?


Anyone done raid on kb before?


Cheers Don




--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz


Re: OS for RAID1 - Kbuntu - where is the raid option?

2008-10-20 Thread Roger Searle
by then, the next release - intrepid ibex (8:10) - will be out, due 
30/10 which presumably means 31st here.  No doubt there will be a few 
list members with a copy within a few hours.


Cheers,
Roger


chris wrote:

many thanks,
Will be about 2 weeks I will email a couple of days before hand

Regards Chris T
On Mon, 2008-10-20 at 21:21 +1300, [EMAIL PROTECTED] wrote:
  

Yes of course.

Cheers Don
chris wrote:


Hi Don,
would I be able to get an iso of those disks from you please if I called
in the next time I am in town?
regards chris Thomas
North canterbury

On Mon, 2008-10-20 at 17:35 +1300, [EMAIL PROTECTED] wrote:
  

Got my disks this afternoon.

Following advise I've got the alternative kbuntu CD.

When the disk set up option poped up there was an option for LVM set up 
but not raid.  Where is the RAID set up?  Do I have to install the base 
system first?  Or was I meant to do a different install from the first menu?


Anyone done raid on kb before?


Cheers Don





  


Re: OS for RAID1 - Kbuntu - where is the raid option?

2008-10-20 Thread Steve Holdoway
On Tue, 21 Oct 2008 08:30:55 +1300
Roger Searle [EMAIL PROTECTED] wrote:

 by then, the next release - intrepid ibex (8:10) - will be out, due 
 30/10 which presumably means 31st here.  No doubt there will be a few 
 list members with a copy within a few hours.
 
 Cheers,
 Roger
 
Don't forget though - for those building servers - 8.04 is an lts version. 8.10 
isn't.

Steve
-- 
Steve Holdoway [EMAIL PROTECTED]


Re: OS for RAID1 - Kbuntu - where is the raid option?

2008-10-20 Thread chris
Thank you Roger, I will keep that in mind.
It can be difficult when you only have a modem connection and cannot get
access to bb

Regards chris T
On Tue, 2008-10-21 at 08:30 +1300, Roger Searle wrote:
 by then, the next release - intrepid ibex (8:10) - will be out, due 
 30/10 which presumably means 31st here.  No doubt there will be a few 
 list members with a copy within a few hours.
 
 Cheers,
 Roger
 
 
 chris wrote:
  many thanks,
  Will be about 2 weeks I will email a couple of days before hand
 
  Regards Chris T
  On Mon, 2008-10-20 at 21:21 +1300, [EMAIL PROTECTED] wrote:

  Yes of course.
 
  Cheers Don
  chris wrote:
  
  Hi Don,
  would I be able to get an iso of those disks from you please if I called
  in the next time I am in town?
  regards chris Thomas
  North canterbury
 
  On Mon, 2008-10-20 at 17:35 +1300, [EMAIL PROTECTED] wrote:

  Got my disks this afternoon.
 
  Following advise I've got the alternative kbuntu CD.
 
  When the disk set up option poped up there was an option for LVM set up 
  but not raid.  Where is the RAID set up?  Do I have to install the base 
  system first?  Or was I meant to do a different install from the first 
  menu?
 
  Anyone done raid on kb before?
 
 
  Cheers Don
  
  
 
 




Re: OS for RAID1 - why would I only see 1 disk?

2008-10-20 Thread don

Ignore this...

I found the answer.

The BIOS in the HP shows the disk as being there but also has an option 
for the second controller to be disabled even though it shows the disk 
as being there.  I got confused.


Cheers Don

[EMAIL PROTECTED] wrote:

The installer only seems to see one disk - sda

I've gone to console mode (alt-f2) and done

# ls sd*

sda is the only drive.

The bios shows both disks ok.

They're both the same model, that wouldn't cause any problem should it?

Cheers Don



--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz


Re: OS for RAID1 - Kbuntu - where is the raid option?

2008-10-20 Thread chris
many thanks,
Will be about 2 weeks I will email a couple of days before hand

Regards Chris T
On Mon, 2008-10-20 at 21:21 +1300, [EMAIL PROTECTED] wrote:
 Yes of course.
 
 Cheers Don
 chris wrote:
  Hi Don,
  would I be able to get an iso of those disks from you please if I called
  in the next time I am in town?
  regards chris Thomas
  North canterbury
  
  On Mon, 2008-10-20 at 17:35 +1300, [EMAIL PROTECTED] wrote:
  Got my disks this afternoon.
 
  Following advise I've got the alternative kbuntu CD.
 
  When the disk set up option poped up there was an option for LVM set up 
  but not raid.  Where is the RAID set up?  Do I have to install the base 
  system first?  Or was I meant to do a different install from the first 
  menu?
 
  Anyone done raid on kb before?
 
 
  Cheers Don
 
 



Re: OS for RAID1 - Kbuntu - where is the raid option?

2008-10-19 Thread don

Got my disks this afternoon.

Following advise I've got the alternative kbuntu CD.

When the disk set up option poped up there was an option for LVM set up 
but not raid.  Where is the RAID set up?  Do I have to install the base 
system first?  Or was I meant to do a different install from the first menu?


Anyone done raid on kb before?


Cheers Don


Re: OS for RAID1 - Kbuntu - where is the raid option?

2008-10-19 Thread Roger Searle
my email on 15/10 was quickly created from doing such an install in a vm 
- while not up to the standard of a wiki article or for publication in a 
real book, i thought that it would be enough for someone to follow.  
here is what i wrote again:




early in the installation process when you get to the disk partitioning 
stage, you do a manual partitioning, create your various disk partitions 
on the first disk, and format type is NOT ext3 (or what ever you'd 
choose) but physical volume for RAID.  then set up the second disk 
with the same partition sizes.  Before selecting finish partitioning 
and write changes to disk go to the configure software raid entry 
where you can create md device of RAID0, 1 or 5.  This is where you 
join up the matching partitions from the 2 drives.  at this point you 
can then select a RAID1 device and specify format type and mount point.  
from there the installation is like any other - you slowly make a cup of 
coffee and come back to your fresh distro.




Cheers,
Roger


[EMAIL PROTECTED] wrote:

Got my disks this afternoon.

Following advise I've got the alternative kbuntu CD.

When the disk set up option poped up there was an option for LVM set 
up but not raid.  Where is the RAID set up?  Do I have to install the 
base system first?  Or was I meant to do a different install from the 
first menu?


Anyone done raid on kb before?


Cheers Don



Re: OS for RAID1 - Kbuntu - where is the raid option?

2008-10-19 Thread chris
Hi Don,
would I be able to get an iso of those disks from you please if I called
in the next time I am in town?
regards chris Thomas
North canterbury

On Mon, 2008-10-20 at 17:35 +1300, [EMAIL PROTECTED] wrote:
 Got my disks this afternoon.
 
 Following advise I've got the alternative kbuntu CD.
 
 When the disk set up option poped up there was an option for LVM set up 
 but not raid.  Where is the RAID set up?  Do I have to install the base 
 system first?  Or was I meant to do a different install from the first menu?
 
 Anyone done raid on kb before?
 
 
 Cheers Don



Re: OS for RAID1

2008-10-18 Thread Nick Rout
On Sat, Oct 18, 2008 at 4:03 PM, Roger Searle [EMAIL PROTECTED] wrote:


 Yes that sort of helps though gives me far more than actually I wanted,
 which I suspected would be a response so I'll rephrase my question in the
 way I nearly did earlier.  Following performing some ubuntu installation
 where a pre-defined set of packages is installed for me, I then want to add
 a bunch of other stuff, most of which I'd do via sudo apt-get install
 programme1 programme2 etc on a few occasions.  I would then be told I'd
 need a bigger bunch of dependencies, type y and away it would go.  I'm
 looking for a listing of programme1, programme2 etc.

 Roger


AFAIK apt-get does not keep such a record, whereas aptitude does.


Re: OS for RAID1

2008-10-17 Thread Roger Searle

Jim Cheetham wrote:

On Wed, Oct 15, 2008 at 11:57 PM,  [EMAIL PROTECTED] wrote:
  



Well, you can restore the OS from an install CD easily enough, and as
long as you've got a list of installed packages, you'll be good to go
quickly enough.


  
Now I recall mention of this in recent months where there is a method of 
extracting a list of currently installed packages, I can't seem to 
locate that wisdom.  Could anyone describe the methods again? 


Cheers,
Roger




Re: OS for RAID1

2008-10-17 Thread Steve Holdoway
On Sat, 18 Oct 2008 06:50:03 +1300
Roger Searle [EMAIL PROTECTED] wrote:

 Jim Cheetham wrote:
  On Wed, Oct 15, 2008 at 11:57 PM,  [EMAIL PROTECTED] wrote:

  
 
  Well, you can restore the OS from an install CD easily enough, and as
  long as you've got a list of installed packages, you'll be good to go
  quickly enough.
 
 

 Now I recall mention of this in recent months where there is a method of 
 extracting a list of currently installed packages, I can't seem to 
 locate that wisdom.  Could anyone describe the methods again? 
 
 Cheers,
 Roger
 
 
dpkg -l | grep ii is a good start for debian/ubu
rpm -a for rh'esque distrs.

hth,

Steve

-- 
Steve Holdoway [EMAIL PROTECTED]


Re: OS for RAID1

2008-10-17 Thread Roger Searle

Steve Holdoway wrote:

On Sat, 18 Oct 2008 06:50:03 +1300
Roger Searle [EMAIL PROTECTED] wrote:
  

Jim Cheetham wrote:


On Wed, Oct 15, 2008 at 11:57 PM,  [EMAIL PROTECTED] wrote:
  
  



Well, you can restore the OS from an install CD easily enough, and as
long as you've got a list of installed packages, you'll be good to go
quickly enough.
  
Now I recall mention of this in recent months where there is a method of 
extracting a list of currently installed packages, I can't seem to 
locate that wisdom.  Could anyone describe the methods again? 


Cheers,
Roger


dpkg -l | grep ii is a good start for debian/ubu
rpm -a for rh'esque distrs.

hth,

Steve
  
Yes that sort of helps though gives me far more than actually I wanted, 
which I suspected would be a response so I'll rephrase my question in 
the way I nearly did earlier.  Following performing some ubuntu 
installation where a pre-defined set of packages is installed for me, I 
then want to add a bunch of other stuff, most of which I'd do via sudo 
apt-get install programme1 programme2 etc on a few occasions.  I would 
then be told I'd need a bigger bunch of dependencies, type y and away it 
would go.  I'm looking for a listing of programme1, programme2 etc.


Roger



Re: OS for RAID1 - The answer so far...

2008-10-16 Thread Nick Rout
Don you seem to be missing the need for the ALTERNATE install disk to
get raid running. Read the thread carefully.

On Thu, Oct 16, 2008 at 5:51 PM, chris [EMAIL PROTECTED] wrote:
 also mdam is in the ubuntu repositories

 regards chris T


 On Thu, 2008-10-16 at 17:08 +1300, Roger Searle wrote:
 [EMAIL PROTECTED] wrote:
  Roger Searle wrote:
  http://www.networknewz.com/2003/0113.html
 
  (k)ubuntu alternate install also guides you through setting up raid
  (0, 1, 5).  since i don't know anything about lenny, i can't comment
  on you saying grub needs to know about the disks - the process of
  setting up software raid (in kubuntu) takes care of all this for you,
  there is nothing to do there, move right along...
 
  Ok I might grab a copy of kubuntu then... or did you mean both k and g?
 kubuntu has kde desktop by default.  g?  no idea what that is.  ubuntu
 has gnome.
 
  Does the archive have current copies of that?
 
  What version numbers am I looking for?
 8.10 is due out any day - 8 = 2008, 10 = october.
 
  many of your other questions are answered when you click the link
  above.  have fun, and please send updates on what you do, there are
  aspects of this that i haven't got my head around yet so will follow
  this thread looking for insights.
 
  I will...  that's what I was doing, in posting that last message.  I'd
  like to leave a paper trail so that the next person can find my notes
  and peoples responses. (There's nothing worse than seeing questions on
  a mailing list archive without ever there being answers!)
 
  Cheers Don
 
 




Re: OS for RAID1 - The answer so far...

2008-10-16 Thread Roger Searle
you download the 'alternate' distro from the ubuntu site, not the 
desktop distro.


check out here - noting the big blue word at the top 'beta', further 
down you will see alternate...


http://releases.ubuntu.com/releases/kubuntu/8.10/

release date for 8.10 is 30th october. 


cheers,
roger



[EMAIL PROTECTED] wrote:

Nick Rout wrote:

Don you seem to be missing the need for the ALTERNATE install disk to
get raid running. Read the thread carefully.


You mean a third disk to boot from?

Cheers Don



Re: OS for RAID1 - The answer so far...

2008-10-16 Thread don

Thanks guys,

Ok that make sense now.

I think I'll do that as there are lots of ubuntu ppl on list if I get stuck.

Cheers Don

Roger Searle wrote:
you download the 'alternate' distro from the ubuntu site, not the 
desktop distro.


check out here - noting the big blue word at the top 'beta', further 
down you will see alternate...


http://releases.ubuntu.com/releases/kubuntu/8.10/

release date for 8.10 is 30th october.
cheers,
roger



[EMAIL PROTECTED] wrote:

Nick Rout wrote:

Don you seem to be missing the need for the ALTERNATE install disk to
get raid running. Read the thread carefully.


You mean a third disk to boot from?

Cheers Don




--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz


Re: OS for RAID1

2008-10-15 Thread Volker Kuhlmann
On Wed 15 Oct 2008 17:10:09 NZDT +1300, [EMAIL PROTECTED] wrote:

 What OS should I used?

Linux. Stupid question ;)

 How easy is it to set up the two disks as RAID1?

A few clicks in yast. Has been like that for donkeys years.

 How does it work?

You need to ensure that grub gets installed on *both* disks. The bios
will then try one of them first. In case one goes faulty, you can of
course still boot from the other one, but you may need to adjust the
bios disk boot order.

 Do I have to make a small boot pat on one of the drives 
 then set up the rest?

Not with raid1. You can boot from a raid1 because both partitions have
identical content, therefore at boot time grub can read the necessary
disk blocks from either disk underneath(!) the raid layer. That's why
you can't boot from a raid2 or a raid5 - you need the raid layer to get
your data back.

The raid disk is always /dev/mdN, whereas the constituent disks may be
/dev/sdaN and /dev/sdbN. Grub reads sd[ab]N. When grub is installed, the
write is to mdN so goes to both disks identically.

 If I do that and the boot drive fails then what?

See above. You take the stuffed disk out, continue working as normal
until the replacement arrives, you stick the replacement back in, done.
Saved my HUGE amounts of hassle several times now, disks have been so
cheap, I wouldn't ever consider running my desktop without raid1.

The other beauty with Linux kernel raid is, apart from needing no
proprietory cr*p drivers (did I say Promise?), that you don't need to
use the whole disks in a raid configuration. The disks don't even need
to be the same size. You can easily use the first 15GB ofeach disk for
/dev/md0 mounted on /, and the next 40GB (or however much you want for
your most precious bits) as /dev/md1 mounted on /home.

In theory, the disk areas used for a raid1 don't even need to be at the
same starting point on both disks, however if they aren't, you won't be
able to boot reliably from that raid1 any more as the grub will run
correctly from at most one of the disks. So possible, but not advisable.

Notes on openSUSE:

The raid configuration works fine, but the grub confirguration is broken
in many cases for 10.x and 11.0. The correct raid1 grub commands (for
any distro) are:

# cat /etc/grub.conf
setup --stage2=/boot/grub/stage2 (hd1) (hd1,4)
setup --stage2=/boot/grub/stage2 (hd0) (hd0,4)
quit

Create this file manually (obviously adjust the numbers and paths for
your disks), then run 

grub --batch /etc/grub.conf

to install the grub loader on both disks. Backup the file in case a
kernel upgrade overwrites it.

Oh yeah, many other distros[1] have /etc/grub.conf be a symlink to
/boot/grub/menu.conf and are too stupid to save the commands used to
install grub anywhere. In that case the above grub commands will work,
but you're on your own to get your system organised. And if you didn't
have the above commands to start with, you'd have a hell of a time
finding out what to use.

Volker

[1] This includes Debian (or at least the non-latest Debians).

-- 
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


Re: OS for RAID1

2008-10-15 Thread Steve Holdoway
On Wed, 15 Oct 2008 20:04:34 +1300
[EMAIL PROTECTED] wrote:

 Volker Kuhlmann wrote:
  On Wed 15 Oct 2008 17:10:09 NZDT +1300, [EMAIL PROTECTED] wrote:
  
  What OS should I used?
  
  Linux. Stupid question ;)
 
 I meant which distro :)
 
  
  [1] This includes Debian (or at least the non-latest Debians).
 
 Yip, I'm thinking that Debian is the way to go because I already know it 
 other than this raid stuff.
 
 I've been doing some googling as well and that seems to indicate that 
 the etch installer should set up the raid, so when my disks get here 
 I'll grab a distro and have a play I think.
 
 Cheers Don
 
 -- 
 Don Gould
 31 Acheson Ave, Mairehau, Christchurch, NZ
 Ph +64 3 348 7235 or + 64 21 114 0699
 www.thinkdesignprint.co.nz

you need to use lenny to get softraid running...
-- 
Steve Holdoway [EMAIL PROTECTED]


Re: OS for RAID1

2008-10-15 Thread don

Volker Kuhlmann wrote:

On Wed 15 Oct 2008 17:10:09 NZDT +1300, [EMAIL PROTECTED] wrote:


What OS should I used?


Linux. Stupid question ;)


I meant which distro :)



[1] This includes Debian (or at least the non-latest Debians).


Yip, I'm thinking that Debian is the way to go because I already know it 
other than this raid stuff.


I've been doing some googling as well and that seems to indicate that 
the etch installer should set up the raid, so when my disks get here 
I'll grab a distro and have a play I think.


Cheers Don

--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz


Re: OS for RAID1

2008-10-15 Thread Steve Holdoway
On Wed, 15 Oct 2008 20:27:51 +1300
[EMAIL PROTECTED] wrote:

 Steve Holdoway wrote:
 
  you need to use lenny to get softraid running...
 
 Ok, any idea how far lenny is away from stable?
 
 Cheers Don

just do it. It's stable enough for most uses...

I've been using it as a test platform for 9 months.
-- 
Steve Holdoway [EMAIL PROTECTED]


Re: OS for RAID1

2008-10-15 Thread Robert Fisher
On Wed, 15 Oct 2008 5:10:09 pm [EMAIL PROTECTED] wrote:
 I got a DC7100 with 1.2g ram, 2.8ghz, 40gb fxd (sata - it has 2 ports),

 I'll drop the fdd out and put the second fxd under the cd.

 I ordered 2 * 500gb sata drives for it.

 What OS should I used?

 I'm currently thinking debian because I know that one a bit.

 How easy is it to set up the two disks as RAID1?

 (The 40gb disk will have to come out, so I'll have to be booting off the
   drives as well.)

 How does it work?  Do I have to make a small boot pat on one of the
 drives then set up the rest?  If I do that and the boot drive fails then
 what?  Or do I set up the two drives to be identical?

 Cheers Don

I prefer to mirror the home partition.
See my notes at
http://www.fisherfamily.orconhosting.net.nz/softraid.html

-- 
Regards, Robert

--
Robert Fisher
(aka - Rob, Bob, Robbie, Robbo, Fish)
www.fisher.net.nz
Phone:  03 383 5807
Mobile: 027 228 4698


Re: OS for RAID1

2008-10-15 Thread Volker Kuhlmann
On Wed 15 Oct 2008 20:17:34 NZDT +1300, Steve Holdoway wrote:

 you need to use lenny to get softraid running...

Uhhm, why? The md driver has been in the kernel for well over half a
decade? Only mdadm is newer, and definitely worth having.

Volker

-- 
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


Re: OS for RAID1

2008-10-15 Thread Steve Holdoway
On Wed, 15 Oct 2008 21:03:33 +1300
Volker Kuhlmann [EMAIL PROTECTED] wrote:

 On Wed 15 Oct 2008 20:17:34 NZDT +1300, Steve Holdoway wrote:
 
  you need to use lenny to get softraid running...
 
 Uhhm, why? The md driver has been in the kernel for well over half a
 decade? Only mdadm is newer, and definitely worth having.
 
 Volker
 
 -- 
 Volker Kuhlmann   is list0570 with the domain in header
 http://volker.dnsalias.net/   Please do not CC list postings to me.

because decent softraid support is not available in etch. 

???

Steve
-- 
Steve Holdoway [EMAIL PROTECTED]


Re: OS for RAID1

2008-10-15 Thread Volker Kuhlmann
On Wed 15 Oct 2008 20:04:34 NZDT +1300, [EMAIL PROTECTED] wrote:

 Yip, I'm thinking that Debian is the way to go because I already know it 
 other than this raid stuff.

Nothing wrong with that argumentation. The concept is not distro
dependent. 

My standard response here is: it doesn't affect me what car you drive,
Linux you use, or woman [EMAIL PROTECTED]
NO CARRIER


Re: OS for RAID1

2008-10-15 Thread Roger Searle
(k)ubuntu alternate cd is an option for you.  early in the installation 
process when you get to the disk partitioning stage, you do a manual 
partitioning, create your various disk partitions on the first disk, and 
format type is NOT ext3 (or what ever you'd choose) but physical volume 
for RAID.  then set up the second disk with the same partition sizes.  
Before selecting finish partitioning and write changes to disk go to 
the configure software raid entry where you can create md device of 
RAID0, 1 or 5.  This is where you join up the matching partitions from 
the 2 drives.  at this point you can then select a RAID1 device and 
specify format type and mount point.  from there the installation is 
like any other - you slowly make a cup of coffee and come back to your 
fresh distro. 

there are tools for monitoring the health of the array, adding, removing 
disks - mdadm seems to be the one.


Cheers,
Roger


[EMAIL PROTECTED] wrote:

I got a DC7100 with 1.2g ram, 2.8ghz, 40gb fxd (sata - it has 2 ports),

I'll drop the fdd out and put the second fxd under the cd.

I ordered 2 * 500gb sata drives for it.

What OS should I used?

I'm currently thinking debian because I know that one a bit.

How easy is it to set up the two disks as RAID1?

(The 40gb disk will have to come out, so I'll have to be booting off 
the  drives as well.)


How does it work?  Do I have to make a small boot pat on one of the 
drives then set up the rest?  If I do that and the boot drive fails 
then what?  Or do I set up the two drives to be identical?


Cheers Don


Re: OS for RAID1

2008-10-15 Thread Jim Cheetham
On Wed, Oct 15, 2008 at 11:57 PM,  [EMAIL PROTECTED] wrote:
 My concern is a disk giving out and the system going down.

 In which case I need the whole system RAID1 not just the user data.

Well, you can restore the OS from an install CD easily enough, and as
long as you've got a list of installed packages, you'll be good to go
quickly enough.

Having said that, I don't have any customer servers that aren't on
RAID1 for their OS, because no-one wants to waste time restoring from
backup, or reinstalling :-)

It all depends if disk costs too much for you ...


Re: OS for RAID1

2008-10-15 Thread Volker Kuhlmann
On Thu 16 Oct 2008 22:45:18 NZDT +1300, Jim Cheetham wrote:

 Well, you can restore the OS from an install CD easily enough, and as
 long as you've got a list of installed packages, you'll be good to go
 quickly enough.

Uhhm,

 Having said that, I don't have any customer servers that aren't on
 RAID1 for their OS, because no-one wants to waste time restoring from
 backup, or reinstalling :-)

exactly. I can be without computer for the number of days it takes to
get a new disk, then spend 2h installing Linux and anything up to X to
configure it again the way I had it. Or I can take a slightly older disk
from a previous computer, or buy another smaller disk, put it in as
well, and remain mostly operational (and fully for email etc) all the
way. There's just no comparison. Mount the non-raided disk partitions of
the two disks as /data and /biggerdata, use one for your collections and
the other for on-disk ISOs of your install media or latest backups.

Raid doesn't do away with the need for backups, but the hassles it saves
are enormous. A fortnight ago I ran badblocks etc and the works on one
disk while keeping on working on the other disk. No problems, just a few
reallocated sectors, so hot-add it again. Zero downtime.

Volker

-- 
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


Re: OS for RAID1

2008-10-15 Thread chris
So a question for the stupid and slow like me.

is it possible to install a raid system under Ubuntu gnome desktop ver
8.04

I have not yet looked online, as I only have a dial up connection which
is flakey where I live

Regards Chris T

On Thu, 2008-10-16 at 09:04 +1300, Volker Kuhlmann wrote:
 On Thu 16 Oct 2008 22:45:18 NZDT +1300, Jim Cheetham wrote:
 
  Well, you can restore the OS from an install CD easily enough, and as
  long as you've got a list of installed packages, you'll be good to go
  quickly enough.
 
 Uhhm,
 
  Having said that, I don't have any customer servers that aren't on
  RAID1 for their OS, because no-one wants to waste time restoring from
  backup, or reinstalling :-)
 
 exactly. I can be without computer for the number of days it takes to
 get a new disk, then spend 2h installing Linux and anything up to X to
 configure it again the way I had it. Or I can take a slightly older disk
 from a previous computer, or buy another smaller disk, put it in as
 well, and remain mostly operational (and fully for email etc) all the
 way. There's just no comparison. Mount the non-raided disk partitions of
 the two disks as /data and /biggerdata, use one for your collections and
 the other for on-disk ISOs of your install media or latest backups.
 
 Raid doesn't do away with the need for backups, but the hassles it saves
 are enormous. A fortnight ago I ran badblocks etc and the works on one
 disk while keeping on working on the other disk. No problems, just a few
 reallocated sectors, so hot-add it again. Zero downtime.
 
 Volker
 



Re: OS for RAID1

2008-10-15 Thread Vik Olliver
On Wed, 2008-10-15 at 20:32 +1300, Steve Holdoway wrote:
 On Wed, 15 Oct 2008 20:27:51 +1300
 [EMAIL PROTECTED] wrote:
 
  Steve Holdoway wrote:
  
   you need to use lenny to get softraid running...
  
  Ok, any idea how far lenny is away from stable?
  
  Cheers Don
 
 just do it. It's stable enough for most uses...


Er, about 200 critical bugs off? I kid you not.

http://viksnewsclippings.blogspot.com/2008/10/14-oct-2008-am-clippings.html

Vik :v)



Re: OS for RAID1

2008-10-15 Thread Steve Holdoway
On Wed, 15 Oct 2008 21:46:53 +1300
Volker Kuhlmann [EMAIL PROTECTED] wrote:

 On Wed 15 Oct 2008 21:16:57 NZDT +1300, Steve Holdoway wrote:
 
   Uhhm, why? The md driver has been in the kernel for well over half a
   decade? Only mdadm is newer, and definitely worth having.
 
  because decent softraid support is not available in etch.
 
 Sorry I don't understand. Does it need more than the md device in the
 kernel, and mdadm? Some init script to crank it at boot, and perhaps an
 initial ramdisk with a few modules, like raid1 and your disk access
 stuff as necessary. That doesn't look like a lot to me? Or what do you
 mean by decent?
 
 Volker
 
 -- 
 Volker Kuhlmann   is list0570 with the domain in header
 http://volker.dnsalias.net/   Please do not CC list postings to me.

I don't have access to those notes any more, but my hazy memory suggests a mix 
of 64 bit OS and the bios was the culprit. And no, I was using softraid, not 
fake raid.

I remember being a bit hacked off about this as it was a year or so ago, and 
lenny was less stable than now, and this was to be a core development ( 
database ) server for the next production release. Etch wouldn't play, no way, 
but lenny went on, no problem. And it's not like the first time I've done it... 
(:

Steve
-- 
Steve Holdoway [EMAIL PROTECTED]


Re: OS for RAID1

2008-10-15 Thread Steve Holdoway
I think you need the alternate install disk to get it to install softraid, not 
the desktop version. Wesley should be able to fix you up ( plug, plug ).

Steve

On Thu, 16 Oct 2008 09:23:48 +1300
chris [EMAIL PROTECTED] wrote:

 So a question for the stupid and slow like me.
 
 is it possible to install a raid system under Ubuntu gnome desktop ver
 8.04
 
 I have not yet looked online, as I only have a dial up connection which
 is flakey where I live
 
 Regards Chris T
 
 On Thu, 2008-10-16 at 09:04 +1300, Volker Kuhlmann wrote:
  On Thu 16 Oct 2008 22:45:18 NZDT +1300, Jim Cheetham wrote:
  
   Well, you can restore the OS from an install CD easily enough, and as
   long as you've got a list of installed packages, you'll be good to go
   quickly enough.
  
  Uhhm,
  
   Having said that, I don't have any customer servers that aren't on
   RAID1 for their OS, because no-one wants to waste time restoring from
   backup, or reinstalling :-)
  
  exactly. I can be without computer for the number of days it takes to
  get a new disk, then spend 2h installing Linux and anything up to X to
  configure it again the way I had it. Or I can take a slightly older disk
  from a previous computer, or buy another smaller disk, put it in as
  well, and remain mostly operational (and fully for email etc) all the
  way. There's just no comparison. Mount the non-raided disk partitions of
  the two disks as /data and /biggerdata, use one for your collections and
  the other for on-disk ISOs of your install media or latest backups.
  
  Raid doesn't do away with the need for backups, but the hassles it saves
  are enormous. A fortnight ago I ran badblocks etc and the works on one
  disk while keeping on working on the other disk. No problems, just a few
  reallocated sectors, so hot-add it again. Zero downtime.
  
  Volker
  
 


-- 
Steve Holdoway [EMAIL PROTECTED]


Re: OS for RAID1

2008-10-15 Thread Steve Holdoway
On Thu, 16 Oct 2008 09:33:39 +1300
Vik Olliver [EMAIL PROTECTED] wrote:

 On Wed, 2008-10-15 at 20:32 +1300, Steve Holdoway wrote:
  On Wed, 15 Oct 2008 20:27:51 +1300
  [EMAIL PROTECTED] wrote:
  
   Steve Holdoway wrote:
   
you need to use lenny to get softraid running...
   
   Ok, any idea how far lenny is away from stable?
   
   Cheers Don
  
  just do it. It's stable enough for most uses...
 
 
 Er, about 200 critical bugs off? I kid you not.
 
 http://viksnewsclippings.blogspot.com/2008/10/14-oct-2008-am-clippings.html
 
 Vik :v)
 
I recommend that you break these down by architecture and relevance to a 
mainstream server to see haw many are still relevant...

For example, what practical impact does 'arpack: DFSG-incompatible license' 
have???

I recommend that arcicles like there are taken with a pinch of salt. 
Personally, I'd install lenny before ubuntu on a production server. 

Steve.
-- 
Steve Holdoway [EMAIL PROTECTED]


Re: OS for RAID1

2008-10-15 Thread Vik Olliver
On Thu, 2008-10-16 at 10:39 +1300, Steve Holdoway wrote:
 For example, what practical impact does 'arpack: DFSG-incompatible
 license' have???

It means it's against the Debian social contract and so can't be shipped
as a stable release.

 I recommend that arcicles like there are taken with a pinch of salt.
 Personally, I'd install lenny before ubuntu on a production server. 


Still on Etch here...

Vik :v)



Re: OS for RAID1 - wesley do you have lenny?

2008-10-15 Thread don

Steve Holdoway wrote:

I think you need the alternate install disk to get it to install softraid, not 
the desktop version. Wesley should be able to fix you up ( plug, plug ).



Is Lenny in the archive?

Cheers Don
--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz


Re: OS for RAID1 - wesley do you have lenny?

2008-10-15 Thread Christopher Sawtell
 Is Lenny in the archive?

quote='http://www.debian.org/releases/'
The next release of Debian is codenamed lenny  — no release date has been set
/quote

Sorry, no. We only hold released versions.

-- 
Sincerely etc.
Christopher Sawtell


Re: OS for RAID1 - The answer so far...

2008-10-15 Thread don
Ok, so the answer so far is to use Lenny, as it's installer will guide 
me through the process of setting up RAID1.


Mirror both disks because then you're covered for disk failure.

Make sure the bios know to boot from the other disk if the first fails.

Make sure grub is the same on both disks so that everything books up.

mdadm is a tool for managing the RAID configuration, but I can't find a 
decent functional overview that clearly explains the scope.


QUESTIONS...

What tools do I need to know about?

What reporting do I get and how do I get it? (email, logs, etc)

What tools do I need to use to monitor the disks to make sure they're 
not failing?


(Can you tell I'm a guy who's never had a disk fail before?  So I've 
never worried about monitoring them.)


How do I test the array once I've built it?  Being SATA is hot start, I 
assume I can just pull the data cable off and things should keep 
trucking?  Can I assume I'll get an alert some how?


If I write data to the disk while one disk is missing then it will need 
to resync once the disk comes back.  How long does this normally take? 
Is there a delay?


How do I put a new disk in if one fails?  Can I just wack a blank disk 
in and the tools will sort out the rest?


What happens if disk 0 fails, data is written to disk 1, then disk 0 
comes back, then disk 1 fails, data is written to disk 0, then disk 1 
comes back.  Will it sync everything up correctly even if some recovery 
hadn't been finished between failures?


What other gotya's do I need to know about?

Cheers Don
--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz


Re: OS for RAID1 - The answer so far...

2008-10-15 Thread Roger Searle

http://www.networknewz.com/2003/0113.html

(k)ubuntu alternate install also guides you through setting up raid (0, 
1, 5).  since i don't know anything about lenny, i can't comment on you 
saying grub needs to know about the disks - the process of setting up 
software raid (in kubuntu) takes care of all this for you, there is 
nothing to do there, move right along...


many of your other questions are answered when you click the link 
above.  have fun, and please send updates on what you do, there are 
aspects of this that i haven't got my head around yet so will follow 
this thread looking for insights.


Cheers,
Roger



[EMAIL PROTECTED] wrote:
Ok, so the answer so far is to use Lenny, as it's installer will guide 
me through the process of setting up RAID1.


Mirror both disks because then you're covered for disk failure.

Make sure the bios know to boot from the other disk if the first fails.

Make sure grub is the same on both disks so that everything books up.

mdadm is a tool for managing the RAID configuration, but I can't find 
a decent functional overview that clearly explains the scope.


QUESTIONS...

What tools do I need to know about?

What reporting do I get and how do I get it? (email, logs, etc)

What tools do I need to use to monitor the disks to make sure they're 
not failing?


(Can you tell I'm a guy who's never had a disk fail before?  So I've 
never worried about monitoring them.)


How do I test the array once I've built it?  Being SATA is hot start, 
I assume I can just pull the data cable off and things should keep 
trucking?  Can I assume I'll get an alert some how?


If I write data to the disk while one disk is missing then it will 
need to resync once the disk comes back.  How long does this normally 
take? Is there a delay?


How do I put a new disk in if one fails?  Can I just wack a blank disk 
in and the tools will sort out the rest?


What happens if disk 0 fails, data is written to disk 1, then disk 0 
comes back, then disk 1 fails, data is written to disk 0, then disk 1 
comes back.  Will it sync everything up correctly even if some 
recovery hadn't been finished between failures?


What other gotya's do I need to know about?

Cheers Don


Re: OS for RAID1 - The answer so far...

2008-10-15 Thread don

Roger Searle wrote:

http://www.networknewz.com/2003/0113.html

(k)ubuntu alternate install also guides you through setting up raid (0, 
1, 5).  since i don't know anything about lenny, i can't comment on you 
saying grub needs to know about the disks - the process of setting up 
software raid (in kubuntu) takes care of all this for you, there is 
nothing to do there, move right along...


Ok I might grab a copy of kubuntu then... or did you mean both k and g?

Does the archive have current copies of that?

What version numbers am I looking for?

many of your other questions are answered when you click the link 
above.  have fun, and please send updates on what you do, there are 
aspects of this that i haven't got my head around yet so will follow 
this thread looking for insights.


I will...  that's what I was doing, in posting that last message.  I'd 
like to leave a paper trail so that the next person can find my notes 
and peoples responses. (There's nothing worse than seeing questions on a 
mailing list archive without ever there being answers!)


Cheers Don


--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz


Re: OS for RAID1

2008-10-15 Thread Robert Fisher
On Thu, 16 Oct 2008 10:26:05 am Steve Holdoway wrote:
 I think you need the alternate install disk to get it to install softraid,
 not the desktop version. Wesley should be able to fix you up ( plug, plug
 ).

Or if you have an existing running system you could follow my notes to add a 
disk and mirror your home partition.
http://www.fisherfamily.orconhosting.net.nz/softraid.html

 Steve

 On Thu, 16 Oct 2008 09:23:48 +1300

 chris [EMAIL PROTECTED] wrote:
  So a question for the stupid and slow like me.
 
  is it possible to install a raid system under Ubuntu gnome desktop ver
  8.04
 
  I have not yet looked online, as I only have a dial up connection which
  is flakey where I live
 
  Regards Chris T
 
  On Thu, 2008-10-16 at 09:04 +1300, Volker Kuhlmann wrote:
   On Thu 16 Oct 2008 22:45:18 NZDT +1300, Jim Cheetham wrote:
Well, you can restore the OS from an install CD easily enough, and as
long as you've got a list of installed packages, you'll be good to go
quickly enough.
  
   Uhhm,
  
Having said that, I don't have any customer servers that aren't on
RAID1 for their OS, because no-one wants to waste time restoring from
backup, or reinstalling :-)
  
   exactly. I can be without computer for the number of days it takes to
   get a new disk, then spend 2h installing Linux and anything up to X to
   configure it again the way I had it. Or I can take a slightly older
   disk from a previous computer, or buy another smaller disk, put it in
   as well, and remain mostly operational (and fully for email etc) all
   the way. There's just no comparison. Mount the non-raided disk
   partitions of the two disks as /data and /biggerdata, use one for your
   collections and the other for on-disk ISOs of your install media or
   latest backups.
  
   Raid doesn't do away with the need for backups, but the hassles it
   saves are enormous. A fortnight ago I ran badblocks etc and the works
   on one disk while keeping on working on the other disk. No problems,
   just a few reallocated sectors, so hot-add it again. Zero downtime.
  
   Volker



-- 
Regards, Robert

--
Robert Fisher
(aka - Rob, Bob, Robbie, Robbo, Fish)
www.fisher.net.nz
Phone:  03 383 5807
Mobile: 027 228 4698


Re: OS for RAID1 - wesley do you have lenny?

2008-10-15 Thread Robert Fisher
On Thu, 16 Oct 2008 11:55:57 am [EMAIL PROTECTED] wrote:
 Steve Holdoway wrote:
  I think you need the alternate install disk to get it to install
  softraid, not the desktop version. Wesley should be able to fix you up (
  plug, plug ).

 Is Lenny in the archive?

 Cheers Don

I have debian-LennyBeta2-i386-DVD-1.iso dated 29/9/08 if you want

I also have debian-LennyBeta2-i386-kde-CD-1.iso dated 19/8/08

-- 
Regards, Robert

--
Robert Fisher
(aka - Rob, Bob, Robbie, Robbo, Fish)
www.fisher.net.nz
Phone:  03 383 5807
Mobile: 027 228 4698


Re: OS for RAID1 - The answer so far...

2008-10-15 Thread Roger Searle

[EMAIL PROTECTED] wrote:

Roger Searle wrote:

http://www.networknewz.com/2003/0113.html

(k)ubuntu alternate install also guides you through setting up raid 
(0, 1, 5).  since i don't know anything about lenny, i can't comment 
on you saying grub needs to know about the disks - the process of 
setting up software raid (in kubuntu) takes care of all this for you, 
there is nothing to do there, move right along...


Ok I might grab a copy of kubuntu then... or did you mean both k and g?
kubuntu has kde desktop by default.  g?  no idea what that is.  ubuntu 
has gnome. 


Does the archive have current copies of that?

What version numbers am I looking for?
8.10 is due out any day - 8 = 2008, 10 = october. 


many of your other questions are answered when you click the link 
above.  have fun, and please send updates on what you do, there are 
aspects of this that i haven't got my head around yet so will follow 
this thread looking for insights.


I will...  that's what I was doing, in posting that last message.  I'd 
like to leave a paper trail so that the next person can find my notes 
and peoples responses. (There's nothing worse than seeing questions on 
a mailing list archive without ever there being answers!)


Cheers Don




Re: OS for RAID1 - The answer so far...

2008-10-15 Thread chris
also mdam is in the ubuntu repositories

regards chris T


On Thu, 2008-10-16 at 17:08 +1300, Roger Searle wrote:
 [EMAIL PROTECTED] wrote:
  Roger Searle wrote:
  http://www.networknewz.com/2003/0113.html
 
  (k)ubuntu alternate install also guides you through setting up raid 
  (0, 1, 5).  since i don't know anything about lenny, i can't comment 
  on you saying grub needs to know about the disks - the process of 
  setting up software raid (in kubuntu) takes care of all this for you, 
  there is nothing to do there, move right along...
 
  Ok I might grab a copy of kubuntu then... or did you mean both k and g?
 kubuntu has kde desktop by default.  g?  no idea what that is.  ubuntu 
 has gnome. 
 
  Does the archive have current copies of that?
 
  What version numbers am I looking for?
 8.10 is due out any day - 8 = 2008, 10 = october. 
 
  many of your other questions are answered when you click the link 
  above.  have fun, and please send updates on what you do, there are 
  aspects of this that i haven't got my head around yet so will follow 
  this thread looking for insights.
 
  I will...  that's what I was doing, in posting that last message.  I'd 
  like to leave a paper trail so that the next person can find my notes 
  and peoples responses. (There's nothing worse than seeing questions on 
  a mailing list archive without ever there being answers!)
 
  Cheers Don
 
 



OS for RAID1

2008-10-14 Thread don

I got a DC7100 with 1.2g ram, 2.8ghz, 40gb fxd (sata - it has 2 ports),

I'll drop the fdd out and put the second fxd under the cd.

I ordered 2 * 500gb sata drives for it.

What OS should I used?

I'm currently thinking debian because I know that one a bit.

How easy is it to set up the two disks as RAID1?

(The 40gb disk will have to come out, so I'll have to be booting off the 
 drives as well.)


How does it work?  Do I have to make a small boot pat on one of the 
drives then set up the rest?  If I do that and the boot drive fails then 
what?  Or do I set up the two drives to be identical?


Cheers Don
--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz


Re: OS for RAID1

2008-10-14 Thread don

Does anyone have any comment on this page:

http://xtronics.com/reference/SATA-RAID-debian-for-2.6.html

Cheers Don

[EMAIL PROTECTED] wrote:

I got a DC7100 with 1.2g ram, 2.8ghz, 40gb fxd (sata - it has 2 ports),

I'll drop the fdd out and put the second fxd under the cd.

I ordered 2 * 500gb sata drives for it.

What OS should I used?

I'm currently thinking debian because I know that one a bit.

How easy is it to set up the two disks as RAID1?

(The 40gb disk will have to come out, so I'll have to be booting off the 
 drives as well.)


How does it work?  Do I have to make a small boot pat on one of the 
drives then set up the rest?  If I do that and the boot drive fails then 
what?  Or do I set up the two drives to be identical?


Cheers Don



--
Don Gould
31 Acheson Ave, Mairehau, Christchurch, NZ
Ph +64 3 348 7235 or + 64 21 114 0699
www.thinkdesignprint.co.nz