Re: install Etch with raid level 10

2007-09-26 Thread Scott Lair
C M Reinehr wrote:
> On Wednesday 26 September 2007 11:53, Gilles Mocellin wrote:
> > Le Wednesday 26 September 2007 16:48:14 Scott Lair, vous avez écrit :
> > > Dave Ewart wrote:
> >
> > [...]
> >
> > > > Normally, one makes a RAID-10 software setup as follows:
> > > >
> > > > mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[ab]1
> > > > mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sd[cd]1
> > > > mdadm --create /dev/md2 --level=0 --raid-devices=2 /dev/md[01]
> >
> > [...]
> >
> > > I've got some time to mess with it for a while and I'll post
> > > back the results.
> > >
> > > thanks,
> > >
> > > scott
> >
> > Instead of having md over md device, I suggest to do stripped LVM over RAID
> > 1. And it is supported during installation !
> 
> Damn! That's a good idea. I'm kicking myself for not thinking of that.
> 
> cmr

I wish I would have thought of it - LVM was staring me in the face last night!
Sounds like RAID-10 and LVM/RAID-1 are functionally equivalent. I didn't know
LVM did stripping.  I'm wondering now what the performance difference might be
if any.

thanks,

scott



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: install Etch with raid level 10

2007-09-26 Thread Scott Lair
C M Reinehr wrote:
> On Wednesday 26 September 2007 09:21, Dave Ewart wrote:
> > On Wednesday, 26.09.2007 at 09:49 -0400, Scott Lair wrote:
> > > I tried to install Etch on AMD64 using raid level 10.  After I
> > > partitioned the drives, I went to create the md devices and could only
> > > choose from raid levels 0,1 or 5.  Should I be able to install with
> > > level 10?  I tried the latest netinst.iso and the cdrom install disk 1
> > > with the same results.
> >
> > There is no direct support for RAID-10 via software RAID, you have to
> > make yourself two RAID-1 arrays and then apply a second layer of
> > software RAID-0 over the top.
> >
> > The installer may not support RAID-10 directly because of the
> > multi-layer approach.
> >
> > Normally, one makes a RAID-10 software setup as follows:
> >
> > mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[ab]1
> > mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sd[cd]1
> > mdadm --create /dev/md2 --level=0 --raid-devices=2 /dev/md[01]
> >
> > I'd be interested to know if you can approach the installation in the
> > same way, actually.
> >
> > Dave.
> 
> That's not entirely true. Etch does support RAID-10, just not the installer. 
> What I would suggest is first to do a minimal installation to a small RAID-1 
> partition, including GRUB to the MBR. Then, once you have booted into this 
> system, use the system tools (cfdisk, mdadm, & lvm) to set up the rest of the 
> drive(s) as RAID-10 (with or without LVM). Then, do a debootstrap 
> installation of a complete system into this. Finally, your RAID-1 partition 
> becomes your /boot partition. Not the most direct route, but it works.
> 
That sounds like what I would like to do.  So the original installation gets
removed once the RAID-10 install is done correct?  I'm wondering about the 
size of the initial installation partition.  I generally make /boot about
200Meg.  Do you think that would be enough for a minimal or should I go
bigger?  

thanks much,

scott


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: install Etch with raid level 10

2007-09-26 Thread Scott Lair
Dave Ewart wrote:

> On Wednesday, 26.09.2007 at 09:49 -0400, Scott Lair wrote:
> 
> > I tried to install Etch on AMD64 using raid level 10.  After I
> > partitioned the drives, I went to create the md devices and could only
> > choose from raid levels 0,1 or 5.  Should I be able to install with
> > level 10?  I tried the latest netinst.iso and the cdrom install disk 1
> > with the same results.
> 
> There is no direct support for RAID-10 via software RAID, you have to
> make yourself two RAID-1 arrays and then apply a second layer of
> software RAID-0 over the top.
> 
> The installer may not support RAID-10 directly because of the
> multi-layer approach.
> 
> Normally, one makes a RAID-10 software setup as follows:
> 
> mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[ab]1
> mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sd[cd]1
> mdadm --create /dev/md2 --level=0 --raid-devices=2 /dev/md[01]
> 
> I'd be interested to know if you can approach the installation in the
> same way, actually.

I'll try setting up the disks as you suggest, then run the install.
I did manage to get the raid10 module loaded during the install,
but the option for RAID-10 would not show up in the installer.
I'll try creating the RAID-10 array after loading the module also.
I'm getting the feeling here already that this is probably 
something I ought not to mess with. This is going to be a 
production machine, so I may end up with a RAID-1 for /boot
and /, then run RAID-10 for shared data. I suppose that
would be a reasonable solution.

I've got some time to mess with it for a while and I'll post
back the results.

thanks,

scott


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



install Etch with raid level 10

2007-09-26 Thread Scott Lair

I tried to install Etch on AMD64 using raid level 10.
After I partitioned the drives, I went to create the
md devices and could only choose from raid levels 
0,1 or 5.  Should I be able to install with level 10?
I tried the latest netinst.iso and the cdrom install 
disk 1 with the same results.

thanks,

scott


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to setup KDE or Gnome

2006-08-26 Thread Scott Lair
Viktor Tsyrennikov wrote:
>  Hi again,
> 
>  here is my lspci output:
> 
> 00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller
> (rev a3)
> 00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
> 00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
> 00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
> 00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
> 00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97
> Audio Controller (rev a2)
> 00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
> 00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
> (rev f3)
> 00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller
> (rev f3)
> 00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
> 00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
> 00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> HyperTransport Technology Configuration
> 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> Address Map
> 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> DRAM Controller
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> Miscellaneous Control
> 01:00.0 VGA compatible controller: nVidia Corporation GeForce 6200
> TurboCache(TM) (rev a1)
> 05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A
> IEEE-1394a-2000 Controller (PHY/Link)
> 05:0c.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001
> Gigabit Ethernet Controller (rev 13)
> 
>  Victor
> 
> 
> 
> 
try this

apt-get install kde-core kdm

taken from 

http://www.linuxquestions.org/questions/showthread.php?t=460096

worked for me

scott


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: gcc

2006-06-06 Thread Scott Lair
On Tuesday 06 June 2006 06:15 pm, Francesco Pietra wrote:
> On Tuesday 06 June 2006 23:24, Alexander Samad wrote:
> > On Tue, Jun 06, 2006 at 08:11:01PM +0200, Francesco Pietra wrote:
> > > On Tuesday 06 June 2006 20:13, Lennart Sorensen wrote:
> > > > On Tue, Jun 06, 2006 at 04:38:20PM +0200, Francesco Pietra wrote:
> > > > > Hi Matthew:
> > > > > Thank you. However:
> > > > >
> > > > > $alias gcc="gcc-4.1" make
> > > > > -bash: alias: make: not found
> > > > >
> > > > > $man alias
> > > > > No manual entry for alias
> > > > >
> > > > > I am making a cup of doubly strong green tea
> > > >
> > > > I think that should have been:
> > > > # alias gcc="gcc-4.1"
> > > > # make
> > >
> > > Retrying as you suggest as root, the first command returns the root
> > > prompt #make
> > > gcc - g -02  -c -o active.o active.c
> > > make: gcc: Command not found
> > > make: *** [active.o] Error 127
> > > that is, as if the alis was not activated.
> > >
> > > > Not sure make can use shell aliases though.
> > > >
> > > > So your real problem is that gcc-4.0 which gcc depends on is not
> > > > currently installable for some reason on your system.
> > >
> > > Just to detail what errors:
> > > #apt-get install gcc
> > > gcc: Depends: gcc-4.0 (>=4.0.2-5) but it is not installable.
> > > E: Broken packages.
> > >
> > > > What output/errors do you get from:
> > > > apt-get install gcc-4.0
> > >
> > > #apt-get install gcc-4.0
> > > Reading..
> > > Building dependency tree...
> > > Package 4.0 is not available, but is referred to by another package.
> > > This may mean that the package is missing, has been obsoleted, or is
> > > only available from another source.
> > > However the following packages replace it:
> > > gcc-4.0-locales
> > > W. (a series of warnings that Couldn't stat source package list at
> > > http:... E: Package gcc-4.0 has no installation candidate.
> > >
> > > My sources.list from which the net installation was carried out with
> > > only main and the row end (subsequently, apt-get update did nothing):
> > > deb http://debian.inode.at/debian-amd64/debian/ etch main contrib
> > > non-free deb-src http://debian.inode.at/debian-amd64/debian/ etch main
> > > contrib non-free
> >
> > Think you have to change your repository to the main debain ones, as
> > etch has been moved to there
> >
> > something like
> > ftp://ftp.au.debian.org/debian etch main contrib non-free
>
> Now tried:
> #apt-get update (or upgrade) with sources.list
>  deb ftp://ftp.au.debian.org/debian etch main contrib non-free
>  deb-src ftp://ftp.au.debian.org/debian etch main contrib non-free
>  deb http://security.debian.org/ etch/updates main contrib non-free
>  deb-src http://security.debian.org/ etch/updates main contrib non-free
> fails to give access to either sources or security updates and no
> update/upgrade occurs at all
>
> Then also tried:
> #apt-get update (or upgrade) with sources.list
>  deb ftp://ftp.debian.org/debian etch main contrib non-free
>  deb-src ftp://ftp.debian.org/debian etch main contrib non-free
>  deb http://security.debian.org/ etch/updates main contrib non-free
>  deb-src http://security.debian.org/ etch/updates main contrib non-free
> fails to give access to either sources or security updates and no
> update/upgrade occurs at all
>
> (installation was from etch beta 2 release installer; netinstall from
> debian.inode.at)
>
> TO ADD that with either 'au' or without in the sources.list, the result of
> gcc trial install is the same as with debian.inode.at, i.e.:
>
> #apt-get install gcc-4.0
> Reading..
> Building dependency tree...
> Package 4.0 is not available, but is referred to by another package. This
> may mean that the package is missing, has been obsoleted, or is only
> available from another source.
> However the following packages replace it:
> gcc-4.0-locales
> W. (a series of warnings that Couldn't stat source package list at http:...
> E: Package gcc-4.0 has no installation candidate.
>
> francesco pietra
>
> ___
>
> > > deb http://security.debian.org/ etch/updates main contrib non-free
> > > deb-src http://security.debian.org/ etch/updates main contrib non-free
> > >
> > > thanks a lot for your interest and kind advice
> > >
> > > francesco pietra
> > >
> > > > Len Sorensen
> > >
> > > --




May as well try this

# alias gcc="gcc-4.1"
# export gcc
# make


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]