Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: SPARC

LVM on sparc?

 

 

Gentoo sparc RSS feed   Index | Next | Previous | View Threaded


nick.smith79 at gmail

Feb 20, 2006, 10:37 AM

Post #1 of 17 (1922 views)
Permalink
LVM on sparc?

can you do LVM on sparc? the dm-mod module for it doesnt seem to
exsist on the install cd. how do you go about using it with sparc if
it can be done?

Nick

--
gentoo-sparc [at] gentoo mailing list


freshy98 at gmx

Feb 20, 2006, 11:11 AM

Post #2 of 17 (1883 views)
Permalink
Re: LVM on sparc? [In reply to]

I ran into that problem myself this weekend.
dm-mod is a kernel 2.6.x thing and does not exist in the 2.4.x kernels.

Hower, there is another way. Check the link below.
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID

Regards,

Tom



Nick Smith wrote:

>can you do LVM on sparc? the dm-mod module for it doesnt seem to
>exsist on the install cd. how do you go about using it with sparc if
>it can be done?
>
>Nick
>
>
>
--
gentoo-sparc [at] gentoo mailing list


gustavoz at gentoo

Feb 20, 2006, 11:23 AM

Post #3 of 17 (1881 views)
Permalink
Re: LVM on sparc? [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick Smith wrote:

> can you do LVM on sparc? the dm-mod module for it doesnt seem to
> exsist on the install cd. how do you go about using it with sparc if
> it can be done?

Yeah, dm-mod is a 2.6 (and lvm2) thingie.
For 2.4 you use lvm-user (instead of lvm2) and lvm-mod (instead of dm-mod).
If you want 2.6/lvm2 you can try my experimental (as in doesn't work on
many machine models and i know and i'm not about to fix it atm since
it's silo having issues) livecd @
http://dev.gentoo.org/~gustavoz/sparc/experimental/

- --
Gustavo Zacarias
Gentoo/SPARC monkey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD+gkWV3G/IBCn/JARAsanAJ94mWj7W+uTYcgGxyb3PvcgJbDF7wCfevzy
eSJ2zMC+tVwsBE+3bJylN2I=
=HFP4
-----END PGP SIGNATURE-----
--
gentoo-sparc [at] gentoo mailing list


freshy98 at gmx

Feb 20, 2006, 11:31 AM

Post #4 of 17 (1888 views)
Permalink
Re: LVM on sparc? [In reply to]

Oh nice! I will try that one my self instead of the 2.4 approach.

Tom


Gustavo Zacarias wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Nick Smith wrote:
>
>
>
>>can you do LVM on sparc? the dm-mod module for it doesnt seem to
>>exsist on the install cd. how do you go about using it with sparc if
>>it can be done?
>>
>>
>
>Yeah, dm-mod is a 2.6 (and lvm2) thingie.
>For 2.4 you use lvm-user (instead of lvm2) and lvm-mod (instead of dm-mod).
>If you want 2.6/lvm2 you can try my experimental (as in doesn't work on
>many machine models and i know and i'm not about to fix it atm since
>it's silo having issues) livecd @
>http://dev.gentoo.org/~gustavoz/sparc/experimental/
>
>- --
>Gustavo Zacarias
>Gentoo/SPARC monkey
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.2.1-ecc0.1.6 (GNU/Linux)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>iD8DBQFD+gkWV3G/IBCn/JARAsanAJ94mWj7W+uTYcgGxyb3PvcgJbDF7wCfevzy
>eSJ2zMC+tVwsBE+3bJylN2I=
>=HFP4
>-----END PGP SIGNATURE-----
>
>
--
gentoo-sparc [at] gentoo mailing list


nick.smith79 at gmail

Feb 20, 2006, 12:50 PM

Post #5 of 17 (1883 views)
Permalink
Re: LVM on sparc? [In reply to]

On 2/20/06, freshy98 <freshy98 [at] gmx> wrote:
> I ran into that problem myself this weekend.
> dm-mod is a kernel 2.6.x thing and does not exist in the 2.4.x kernels.
>
> Hower, there is another way. Check the link below.
> http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
>
> Regards,
>
> Tom
>
>
>
> Nick Smith wrote:
>
> >can you do LVM on sparc? the dm-mod module for it doesnt seem to
> >exsist on the install cd. how do you go about using it with sparc if
> >it can be done?
> >
> >Nick
> >
> >
> >
> --
> gentoo-sparc [at] gentoo mailing list
>
>
yeah saw and done that before, was hoping to give LVM a try, but i guess not.

thanks for the info.

--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

--
gentoo-sparc [at] gentoo mailing list


nick.smith79 at gmail

Feb 20, 2006, 12:59 PM

Post #6 of 17 (1884 views)
Permalink
Re: LVM on sparc? [In reply to]

On 2/20/06, Nick Smith <nick.smith79 [at] gmail> wrote:
> On 2/20/06, freshy98 <freshy98 [at] gmx> wrote:
> > I ran into that problem myself this weekend.
> > dm-mod is a kernel 2.6.x thing and does not exist in the 2.4.x kernels.
> >
> > Hower, there is another way. Check the link below.
> > http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
> >
> > Regards,
> >
> > Tom

how would you suggest partitioning the disks? do you personally raid
the boot partition? i know how i would do it, but i dont know if that
is the right way to do it.

--
gentoo-sparc [at] gentoo mailing list


nick.smith79 at gmail

Feb 20, 2006, 1:37 PM

Post #7 of 17 (1881 views)
Permalink
Re: LVM on sparc? [In reply to]

is there any down side to the 2.4 approach? does it do the same stuff?

On 2/20/06, freshy98 <freshy98 [at] gmx> wrote:
> Oh nice! I will try that one my self instead of the 2.4 approach.
>
> Tom
>
>
> Gustavo Zacarias wrote:
>
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >Nick Smith wrote:
> >
> >
> >
> >>can you do LVM on sparc? the dm-mod module for it doesnt seem to
> >>exsist on the install cd. how do you go about using it with sparc if
> >>it can be done?
> >>
> >>
> >
> >Yeah, dm-mod is a 2.6 (and lvm2) thingie.
> >For 2.4 you use lvm-user (instead of lvm2) and lvm-mod (instead of dm-mod).
> >If you want 2.6/lvm2 you can try my experimental (as in doesn't work on
> >many machine models and i know and i'm not about to fix it atm since
> >it's silo having issues) livecd @
> >http://dev.gentoo.org/~gustavoz/sparc/experimental/
> >
> >- --
> >Gustavo Zacarias
> >Gentoo/SPARC monkey
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.4.2.1-ecc0.1.6 (GNU/Linux)
> >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> >iD8DBQFD+gkWV3G/IBCn/JARAsanAJ94mWj7W+uTYcgGxyb3PvcgJbDF7wCfevzy
> >eSJ2zMC+tVwsBE+3bJylN2I=
> >=HFP4
> >-----END PGP SIGNATURE-----
> >
> >
> --
> gentoo-sparc [at] gentoo mailing list
>
>


--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

--
gentoo-sparc [at] gentoo mailing list


freshy98 at gmx

Feb 20, 2006, 4:10 PM

Post #8 of 17 (1884 views)
Permalink
Re: LVM on sparc? [In reply to]

Nick Smith wrote:

>On 2/20/06, Nick Smith <nick.smith79 [at] gmail> wrote:
>
>
>>On 2/20/06, freshy98 <freshy98 [at] gmx> wrote:
>>
>>
>>>I ran into that problem myself this weekend.
>>>dm-mod is a kernel 2.6.x thing and does not exist in the 2.4.x kernels.
>>>
>>>Hower, there is another way. Check the link below.
>>>http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
>>>
>>>Regards,
>>>
>>>Tom
>>>
>>>
>
>how would you suggest partitioning the disks? do you personally raid
>the boot partition? i know how i would do it, but i dont know if that
>is the right way to do it.
>
>
>
Well, I simply followed the guide. No idea yet if it will work.
Ran into some slight problems so have to start over.

Tom

--
gentoo-sparc [at] gentoo mailing list


nick.smith79 at gmail

Feb 20, 2006, 8:47 PM

Post #9 of 17 (1883 views)
Permalink
Re: LVM on sparc? [In reply to]

> >
> >
> Well, I simply followed the guide. No idea yet if it will work.
> Ran into some slight problems so have to start over.
>
> Tom
>
> --
> gentoo-sparc [at] gentoo mailing list
>
>
what about performance? how does LVM compair to a raid5?

--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

--
gentoo-sparc [at] gentoo mailing list


rmitchell at eds

Feb 20, 2006, 11:49 PM

Post #10 of 17 (1886 views)
Permalink
RE: LVM on sparc? [In reply to]

Just FYI, this experimental boots on my e450, but only after disabling the 4th Gb of memory as suggested by Pengi in the forums:

http://forums.gentoo.org/viewtopic-p-3125170.html?sid=6e8cc73dcfa9b304d78f485c074d00ab#3125170

Presumably that's the silo issue. Now to see if I can fix my root volume... :)

Thanks!

Ralph Mitchell


-----Original Message-----
From: Gustavo Zacarias [mailto:gustavoz [at] gentoo]
Sent: Mon 2/20/2006 12:23 PM
To: gentoo-sparc [at] lists
Subject: Re: [gentoo-sparc] LVM on sparc?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick Smith wrote:

> can you do LVM on sparc? the dm-mod module for it doesnt seem to
> exsist on the install cd. how do you go about using it with sparc if
> it can be done?

Yeah, dm-mod is a 2.6 (and lvm2) thingie.
For 2.4 you use lvm-user (instead of lvm2) and lvm-mod (instead of dm-mod).
If you want 2.6/lvm2 you can try my experimental (as in doesn't work on
many machine models and i know and i'm not about to fix it atm since
it's silo having issues) livecd @
http://dev.gentoo.org/~gustavoz/sparc/experimental/

- --
Gustavo Zacarias
Gentoo/SPARC monkey


freshy98 at gmx

Feb 21, 2006, 3:28 AM

Post #11 of 17 (1882 views)
Permalink
Re: LVM on sparc? [In reply to]

> --- Ursprüngliche Nachricht ---
> Von: "Nick Smith" <nick.smith79 [at] gmail>
> An: gentoo-sparc [at] lists
> Betreff: Re: [gentoo-sparc] LVM on sparc?
> Datum: Mon, 20 Feb 2006 22:47:03 -0500
>
> > >
> > >
> > Well, I simply followed the guide. No idea yet if it will work.
> > Ran into some slight problems so have to start over.
> >
> > Tom
> >
> > --
> > gentoo-sparc [at] gentoo mailing list
> >
> >
> what about performance? how does LVM compair to a raid5?
>

Well, I can't say anything on RAID5 since my Netra T1's only have two hard
drive bays. The tests I have done on RAID1 seemed ok.
A single drive did up to 40MB/s and so the the RAID1 array.
This was done from the livecd though.

Tom

--
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
--
gentoo-sparc [at] gentoo mailing list


longman at sharplabs

Feb 21, 2006, 10:46 AM

Post #12 of 17 (1881 views)
Permalink
RE: LVM on sparc? [In reply to]

The biggest issue I saw with 2.4/LVM was partitioning the disks. Putting LVM
partitions on the drives gave me strange results from "fdisk -l" but they
seemed to work fine.

This was on an U30 with an external disk array (2 x 18GB) and a 9GB internal
as root and boot. The LVM partitions were on the external array. I striped
/var and /usr across those drives.

> is there any down side to the 2.4 approach? does it do the same stuff?
>
> On 2/20/06, freshy98 <freshy98 [at] gmx> wrote:
> > Oh nice! I will try that one my self instead of the 2.4 approach.
> >
> > Tom
> >
> >
> > Gustavo Zacarias wrote:
> >
> > >-----BEGIN PGP SIGNED MESSAGE-----
> > >Hash: SHA1
> > >
> > >Nick Smith wrote:
> > >
> > >
> > >
> > >>can you do LVM on sparc? the dm-mod module for it doesnt seem to
> > >>exsist on the install cd. how do you go about using it
> with sparc
> > >>if it can be done?
> > >>
> > >>
> > >
> > >Yeah, dm-mod is a 2.6 (and lvm2) thingie.
> > >For 2.4 you use lvm-user (instead of lvm2) and lvm-mod
> (instead of dm-mod).
> > >If you want 2.6/lvm2 you can try my experimental (as in
> doesn't work
> > >on many machine models and i know and i'm not about to fix it atm
> > >since it's silo having issues) livecd @
> > >http://dev.gentoo.org/~gustavoz/sparc/experimental/
> > >
--
gentoo-sparc [at] gentoo mailing list


nick.smith79 at gmail

Feb 21, 2006, 10:47 AM

Post #13 of 17 (1889 views)
Permalink
Re: LVM on sparc? [In reply to]

well it is an e450 im working with but it only has 2.3gigs of ram atm,
so i shouldnt have to turn anything off. does the 2.6 kernel support
SMP for sparc? IIRC when i tried it almost a year ago it was really
unstable or something. is that all cleared up now?

On 2/21/06, Mitchell, Ralph <rmitchell [at] eds> wrote:
> Just FYI, this experimental boots on my e450, but only after disabling the 4th Gb of memory as suggested by Pengi in the forums:
>
> http://forums.gentoo.org/viewtopic-p-3125170.html?sid=6e8cc73dcfa9b304d78f485c074d00ab#3125170
>
> Presumably that's the silo issue. Now to see if I can fix my root volume... :)
>
> Thanks!
>
> Ralph Mitchell
>
>
> -----Original Message-----
> From: Gustavo Zacarias [mailto:gustavoz [at] gentoo]
> Sent: Mon 2/20/2006 12:23 PM
> To: gentoo-sparc [at] lists
> Subject: Re: [gentoo-sparc] LVM on sparc?
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Nick Smith wrote:
>
> > can you do LVM on sparc? the dm-mod module for it doesnt seem to
> > exsist on the install cd. how do you go about using it with sparc if
> > it can be done?
>
> Yeah, dm-mod is a 2.6 (and lvm2) thingie.
> For 2.4 you use lvm-user (instead of lvm2) and lvm-mod (instead of dm-mod).
> If you want 2.6/lvm2 you can try my experimental (as in doesn't work on
> many machine models and i know and i'm not about to fix it atm since
> it's silo having issues) livecd @
> http://dev.gentoo.org/~gustavoz/sparc/experimental/
>
> - --
> Gustavo Zacarias
> Gentoo/SPARC monkey
>
>
>


--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

--
gentoo-sparc [at] gentoo mailing list


nick.smith79 at gmail

Feb 21, 2006, 11:50 AM

Post #14 of 17 (1885 views)
Permalink
Re: LVM on sparc? [In reply to]

from everything ive read it doesnt look like LVM has any redundancy, i
mean it is nice to be able to hotadd drives to your LV, but i need
redundancy as well, so it looks like raid1 or 5 would be the way to
go, because the backups would get more intensive as the LV grew right?
what if one drive in your LV dies? do you lose everything on the LV?
sorry for my ignorance, but this LVM is all new to me, and im not
finding any clear answers googling on the net...

TIA

nick

--
gentoo-sparc [at] gentoo mailing list


gustavoz at gentoo

Feb 21, 2006, 11:59 AM

Post #15 of 17 (1884 views)
Permalink
Re: LVM on sparc? [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick Smith wrote:

> from everything ive read it doesnt look like LVM has any redundancy, i
> mean it is nice to be able to hotadd drives to your LV, but i need
> redundancy as well, so it looks like raid1 or 5 would be the way to
> go, because the backups would get more intensive as the LV grew right?
> what if one drive in your LV dies? do you lose everything on the LV?
> sorry for my ignorance, but this LVM is all new to me, and im not
> finding any clear answers googling on the net...

Well RAID and LVM are two completely different things, i don't know why
you people mix them up.
The best of both worlds is RAID1 or RAID5 + LVM.
RAID0 is basically the same that LVM does and is just concatenation - no
redundancy at all "a big bunch of disks".

- --
Gustavo Zacarias
Gentoo/SPARC monkey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD+2MBV3G/IBCn/JARAqWfAJ950ZB2Q2EgkVI+q7Z81fDKBqtiOwCfR1QH
u/RK6aywiCbthI+f1+5y7ig=
=MhPZ
-----END PGP SIGNATURE-----
--
gentoo-sparc [at] gentoo mailing list


nick.smith79 at gmail

Feb 21, 2006, 12:12 PM

Post #16 of 17 (1883 views)
Permalink
Re: LVM on sparc? [In reply to]

how would you go about getting the best of both worlds? raid the disks
then put them in an LVM? do you have any details on that? it sounds
nice.

On 2/21/06, Gustavo Zacarias <gustavoz [at] gentoo> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Nick Smith wrote:
>
> > from everything ive read it doesnt look like LVM has any redundancy, i
> > mean it is nice to be able to hotadd drives to your LV, but i need
> > redundancy as well, so it looks like raid1 or 5 would be the way to
> > go, because the backups would get more intensive as the LV grew right?
> > what if one drive in your LV dies? do you lose everything on the LV?
> > sorry for my ignorance, but this LVM is all new to me, and im not
> > finding any clear answers googling on the net...
>
> Well RAID and LVM are two completely different things, i don't know why
> you people mix them up.
> The best of both worlds is RAID1 or RAID5 + LVM.
> RAID0 is basically the same that LVM does and is just concatenation - no
> redundancy at all "a big bunch of disks".
>
> - --
> Gustavo Zacarias
> Gentoo/SPARC monkey
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1-ecc0.1.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFD+2MBV3G/IBCn/JARAqWfAJ950ZB2Q2EgkVI+q7Z81fDKBqtiOwCfR1QH
> u/RK6aywiCbthI+f1+5y7ig=
> =MhPZ
> -----END PGP SIGNATURE-----
> --
> gentoo-sparc [at] gentoo mailing list
>
>


--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

--
gentoo-sparc [at] gentoo mailing list


warnera6 at egr

Feb 21, 2006, 2:29 PM

Post #17 of 17 (1884 views)
Permalink
Re: LVM on sparc? [In reply to]

Well if you have hardware raid you have to RAID first anyway, otherwise
you can do it in either order...However, I'd probably do RAID first,
then LVM, as software raiding a bunch of virtual partitions probably
takes a ton of processing power than LVM over software RAID.

As for details...There are plenty of guides for software raid out there.
Get that set up, you should have some /dev/md devices afterwards.
Then just use the LVM tools to slice up the raid devices instead of the
"actual" devices. IE give the LVM tools /dev/mdX instead of /dev/sdX.
Then make sure you are mounting things properly ;)

-Alec Warner

Nick Smith wrote:
> how would you go about getting the best of both worlds? raid the disks
> then put them in an LVM? do you have any details on that? it sounds
> nice.
>
> On 2/21/06, Gustavo Zacarias <gustavoz [at] gentoo> wrote:
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Nick Smith wrote:
>>
>>
>>>from everything ive read it doesnt look like LVM has any redundancy, i
>>>mean it is nice to be able to hotadd drives to your LV, but i need
>>>redundancy as well, so it looks like raid1 or 5 would be the way to
>>>go, because the backups would get more intensive as the LV grew right?
>>>what if one drive in your LV dies? do you lose everything on the LV?
>>>sorry for my ignorance, but this LVM is all new to me, and im not
>>>finding any clear answers googling on the net...
>>
>>Well RAID and LVM are two completely different things, i don't know why
>>you people mix them up.
>>The best of both worlds is RAID1 or RAID5 + LVM.
>>RAID0 is basically the same that LVM does and is just concatenation - no
>>redundancy at all "a big bunch of disks".
>>
>>- --
>>Gustavo Zacarias
>>Gentoo/SPARC monkey
>>-----BEGIN PGP SIGNATURE-----
>>Version: GnuPG v1.4.2.1-ecc0.1.6 (GNU/Linux)
>>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>>iD8DBQFD+2MBV3G/IBCn/JARAqWfAJ950ZB2Q2EgkVI+q7Z81fDKBqtiOwCfR1QH
>>u/RK6aywiCbthI+f1+5y7ig=
>>=MhPZ
>>-----END PGP SIGNATURE-----
>>--
>>gentoo-sparc [at] gentoo mailing list
>>
>>
>
>
>
> --
> Linux, because I'd rather own a free OS than steal one that's not
> worth paying for.
>
--
gentoo-sparc [at] gentoo mailing list

Gentoo sparc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.