[gentoo-user] LVM2 problem, meta data format change?

2019-05-17 Thread Paul Colquhoun
Recently I found that new kernels were not booting for me, because they could not assemble the LVM partition that I use for the root filesystem. Booting back to my old kernel still worked. I have tracked this back to the lvm2 version. After booting with the old kernel, I ran lvm and tried the '

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-10-15 Thread Stefan G. Weichinger
Am 27.09.2013 12:36, schrieb Stefan G. Weichinger: > Am 25.09.2013 01:38, schrieb Canek Peláez Valdés: >> systemd-analyze blame to see what is taking so long. >> >> systemd-delta to see what changes from upstream do you have. > > Thanks ... I cleaned up some cruft already and will test some > boot

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-27 Thread Stefan G. Weichinger
Am 25.09.2013 01:38, schrieb Canek Peláez Valdés: > systemd-analyze blame to see what is taking so long. > > systemd-delta to see what changes from upstream do you have. Thanks ... I cleaned up some cruft already and will test some boot-process soon. Still on the road ...

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-25 Thread Samuli Suominen
On 23/09/13 17:37, Canek Peláez Valdés wrote: On Sep 23, 2013 6:01 AM, "Tanstaafl" mailto:tansta...@libertytrek.org>> wrote: > > Man... watching this discussion just makes me want to avoid systemd like the plague/all the more... Please don't top post. Please disable HTML from your mail clie

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-24 Thread Canek Peláez Valdés
systemd-analyze blame to see what is taking so long. systemd-delta to see what changes from upstream do you have. Regards. On Sep 24, 2013 4:47 PM, "Stefan G. Weichinger" wrote: > Am 23.09.2013 16:30, schrieb Canek Peláez Valdés: > > > Did you read my next email? There is no need for the extra

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-24 Thread Stefan G. Weichinger
Am 23.09.2013 16:30, schrieb Canek Peláez Valdés: > Did you read my next email? There is no need for the extra swap unit. I was > missing a couple of kernel options and to compile LVM2 and cryptsetup with > some USE flags. Everything works as expected; but you need to put the swap > in fstab. got

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-23 Thread Tanstaafl
On 2013-09-23 10:37 AM, Canek Peláez Valdés wrote: On Sep 23, 2013 6:01 AM, "Tanstaafl" mailto:tansta...@libertytrek.org>> wrote: > > Man... watching this discussion just makes me want to avoid systemd like the plague/all the more... Please don't top post. Please don't be so pedantic... ;)

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-23 Thread Canek Peláez Valdés
On Sep 23, 2013 6:01 AM, "Tanstaafl" wrote: > > Man... watching this discussion just makes me want to avoid systemd like the plague/all the more... Please don't top post. After I got LVM2, mdraid, and LUKS working with systemd, I just decided that, for me, neither LVM2, mdraid, nor LUKS are wort

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-23 Thread Canek Peláez Valdés
On Sep 23, 2013 3:22 AM, "Stefan G. Weichinger" wrote: > > Am 23.09.2013 10:00, schrieb Stefan G. Weichinger: > > > Getting that unit-name right is quite annoying ... fiddling with > > understanding that strange escaping etc ... :-( > > I have now: > > # cat /etc/systemd/system/dev-disk-by\\x2did-

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-23 Thread Stefan G. Weichinger
Am 23.09.2013 13:00, schrieb Tanstaafl: > Man... watching this discussion just makes me want to avoid systemd like > the plague/all the more... I understand that, yes ... it is unnecessary complex from my point of view as well. Swap that is encrypted from scratch everytime you boot up isn't the s

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-23 Thread Tanstaafl
Man... watching this discussion just makes me want to avoid systemd like the plague/all the more... On 2013-09-23 4:21 AM, Stefan G. Weichinger wrote: Am 23.09.2013 10:00, schrieb Stefan G. Weichinger: Getting that unit-name right is quite annoying ... fiddling with understanding that strang

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-23 Thread Stefan G. Weichinger
Am 23.09.2013 10:00, schrieb Stefan G. Weichinger: > Getting that unit-name right is quite annoying ... fiddling with > understanding that strange escaping etc ... :-( I have now: # cat /etc/systemd/system/dev-disk-by\\x2did-dm\\x2dname\\x2dswap.swap [Unit] #After=systemd-cryptsetup.service Afte

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-23 Thread Stefan G. Weichinger
Am 23.09.2013 09:09, schrieb Stefan G. Weichinger: > Yes, I reported this issue back then ... but I don't have the encrypted > swap in /etc/fstab. > > I only have: > > # cat /etc/crypttab > > swap /dev/disk/by-id/ata-INTEL_SSDSA2M080G2GC_CVPO015404LR080JGN-part5 > /dev/urandom swap,cipher=aes-c

Re: [gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-23 Thread Stefan G. Weichinger
Am 21.09.2013 23:49, schrieb Canek Peláez Valdés: > OK, so I conducted another experiment, to see if I was able to make > systemd *not* to work with an exotic combination of underlying > storage. I did the following: > > - 4 drives, all of them in RAID5. > - The resulting /dev/md127 was put in a P

[gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)

2013-09-21 Thread Canek Peláez Valdés
OK, so I conducted another experiment, to see if I was able to make systemd *not* to work with an exotic combination of underlying storage. I did the following: - 4 drives, all of them in RAID5. - The resulting /dev/md127 was put in a Physical Volume, that in a Volume Group, and that split into 5

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Dale
Bruce Hill wrote: > You might want to run "enalyze rebuild use" to get an idea of what USE > flags you have which do not match the default settings. Over the > course of time the defaults change, and our need for certain options > change, so it's good to run this and check any USE flags for > situa

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Dale
Bruce Hill wrote: > On Sat, Jun 29, 2013 at 04:53:47AM -0500, Dale wrote: >> Now that you mention it, it may have been when the separate /usr init >> thingy was going on that I had to add it. That could be it. Well, if I >> have to upgrade before they have a fix, I'll give it a shot and see what

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Bruce Hill
On Sat, Jun 29, 2013 at 04:53:47AM -0500, Dale wrote: > > Now that you mention it, it may have been when the separate /usr init > thingy was going on that I had to add it. That could be it. Well, if I > have to upgrade before they have a fix, I'll give it a shot and see what > happens. I suspec

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Bruce Hill
On Fri, Jun 28, 2013 at 09:44:34PM -0500, Dale wrote: > Walter Dnes wrote: > > On Thu, Jun 27, 2013 at 07:39:39AM -0500, Dale wrote > > > >> Someone else ran into the same thing and it appears they use udev. So > >> switching wouldn't help anyway. > >> > >> https://bugs.gentoo.org/show_bug.cgi?id

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Dale
Neil Bothwick wrote: > On Fri, 28 Jun 2013 21:44:34 -0500, Dale wrote: > >>> Other comments note that unsetting "static" allows it to build. Try >>> unsetting the "static" flag for lvm2 in package.use, i.e... >>> >>> sys-fs/lvm2 -static >>> >>> Does that build for you? > >> It might would but

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Neil Bothwick
On Fri, 28 Jun 2013 21:44:34 -0500, Dale wrote: > > Other comments note that unsetting "static" allows it to build. Try > > unsetting the "static" flag for lvm2 in package.use, i.e... > > > > sys-fs/lvm2 -static > > > > Does that build for you? > It might would but I can't recall WHY I set i

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-28 Thread Dale
Walter Dnes wrote: > On Thu, Jun 27, 2013 at 07:39:39AM -0500, Dale wrote > >> Someone else ran into the same thing and it appears they use udev. So >> switching wouldn't help anyway. >> >> https://bugs.gentoo.org/show_bug.cgi?id=370217 > Your bug-report comment shows... > sys-fs/lvm2-2.02.97-r

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-28 Thread Walter Dnes
On Thu, Jun 27, 2013 at 07:39:39AM -0500, Dale wrote > Someone else ran into the same thing and it appears they use udev. So > switching wouldn't help anyway. > > https://bugs.gentoo.org/show_bug.cgi?id=370217 Your bug-report comment shows... sys-fs/lvm2-2.02.97-r1 USE="lvm1 readline static

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-27 Thread Dale
Samuli Suominen wrote: > > sys-fs/udev-197, 200, 204. --- will install to / instead of /usr so it > will work with sep. /usr just like eudev does, or just like udev-171 > used to > > basically the only thing to look out for is the network interface > names, you can add extra entry to grub that boot

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-25 Thread Samuli Suominen
On 26/06/13 09:31, Dale wrote: Samuli Suominen wrote: On 26/06/13 07:58, Dale wrote: I can't seem to get lvm2 to compile. I get this error: FILE=`echo lvchange.d | sed 's/\\//\\//g;s/\\.d//g'`; \ DEPS=`echo ../make.tmpl ../VERSION ../Makefile ../include/.symlinks_created | sed -e 's/\\//\

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-25 Thread Dale
Samuli Suominen wrote: > On 26/06/13 07:58, Dale wrote: >> I can't seem to get lvm2 to compile. I get this error: >> >> FILE=`echo lvchange.d | sed 's/\\//\\//g;s/\\.d//g'`; \ >> DEPS=`echo ../make.tmpl ../VERSION ../Makefile >> ../include/.symlinks_created | sed -e 's/\\//\\//g'`; \ >> x8

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-25 Thread Samuli Suominen
On 26/06/13 07:58, Dale wrote: I can't seem to get lvm2 to compile. I get this error: FILE=`echo lvchange.d | sed 's/\\//\\//g;s/\\.d//g'`; \ DEPS=`echo ../make.tmpl ../VERSION ../Makefile ../include/.symlinks_created | sed -e 's/\\//\\//g'`; \ x86_64-pc-linux-gnu-gcc -MM -I. -I../inclu

[gentoo-user] LVM2 compile error. Clock_gettime

2013-06-25 Thread Dale
I can't seem to get lvm2 to compile. I get this error: FILE=`echo lvchange.d | sed 's/\\//\\//g;s/\\.d//g'`; \ DEPS=`echo ../make.tmpl ../VERSION ../Makefile ../include/.symlinks_created | sed -e 's/\\//\\//g'`; \ x86_64-pc-linux-gnu-gcc -MM -I. -I../include -DLVM_SHARED_PATH=\"/usr/sbin/

Re: [gentoo-user] lvm2 questions

2009-06-05 Thread Neil Bothwick
On Fri, 5 Jun 2009 02:16:20 -0400, Philip Webb wrote: > That's not how it works: you need to create the LVs with enough space > for your likely needs & LVM then assigns them in its own way to the PVs; > later, if you made an LV too small, you can increase it > (you also have to extend the file sys

Re: [gentoo-user] lvm2 questions

2009-06-04 Thread Philip Webb
090604 Maxim Wexler wrote: > why give the logical volumes any size at all ? > If they can be expanded at will, > why not just the let the files fill them up as much as they need ? That's not how it works: you need to create the LVs with enough space for your likely needs & LVM then assigns them in

Re: [gentoo-user] lvm2 questions

2009-06-04 Thread Maxim Wexler
On 6/4/09, Albert Hopkins wrote: > You'll know if LVM has detected your PVs by running pvdisplay. Check! Thanks Albert Another please, from the doc: "Note: As Terje Kvernes commented, it is easier to increase the size of a partition then to shrink it. You might therefore want to start with sm

Re: [gentoo-user] lvm2 questions

2009-06-04 Thread Albert Hopkins
On Thu, 2009-06-04 at 13:01 -0600, Maxim Wexler wrote: > Hi group, > > Creating LVM partitions on SSD and SD card using systemrescuecd-1.2.0 > while following doc, 'Gentoo LVM2 installation'. In the doc it says > to edit the 'filter =' statement in lvm.conf in order to scan the > correct devices.

[gentoo-user] lvm2 questions

2009-06-04 Thread Maxim Wexler
Hi group, Creating LVM partitions on SSD and SD card using systemrescuecd-1.2.0 while following doc, 'Gentoo LVM2 installation'. In the doc it says to edit the 'filter =' statement in lvm.conf in order to scan the correct devices. But just below it says to use #pvcreate with the appropriate devic

Re: [gentoo-user] LVM2 problem

2009-04-04 Thread Hung Dang
Hi Alan, Thanks a lot for a quick reply. It turn out that I need to activate LVM at the boot time using rc-update. Hung Alan McKinnon wrote: > On Saturday 04 April 2009 08:36:08 Hung Dang wrote: > >> Hi all >> I have a strange problem with LVM2. I follow this guide >> http://www.gentoo.org/doc

Re: [gentoo-user] LVM2 problem

2009-04-04 Thread Alan McKinnon
On Saturday 04 April 2009 08:36:08 Hung Dang wrote: > Hi all > I have a strange problem with LVM2. I follow this guide > http://www.gentoo.org/doc/en/lvm2.xml to create the LVM2 volume named vg > then create the logical volume /dev/vg/data. Everything went fine and I > can mount the volume /dev/vg/

[gentoo-user] LVM2 problem

2009-04-03 Thread Hung Dang
Hi all I have a strange problem with LVM2. I follow this guide http://www.gentoo.org/doc/en/lvm2.xml to create the LVM2 volume named vg then create the logical volume /dev/vg/data. Everything went fine and I can mount the volume /dev/vg/data to /mnt/data without any problem. However, when I restart

Re: [gentoo-user] LVM2 log file puzzle

2008-12-06 Thread Alan McKinnon
On Saturday 06 December 2008 23:40:15 Philip Webb wrote: > At start-up & shut-down, lines appear on screen : > > /var/log/lvm2.log : fopen failed : No such file or directory > > When I check for the file I get : > > root:537 log> pwd > /var/log > root:538 log> ls -l lvm2.log > -rw-rw-

[gentoo-user] LVM2 log file puzzle

2008-12-06 Thread Philip Webb
At start-up & shut-down, lines appear on screen : /var/log/lvm2.log : fopen failed : No such file or directory When I check for the file I get : root:537 log> pwd /var/log root:538 log> ls -l lvm2.log -rw-rw-rw- 1 root root 116194 2007-11-02 04:49 lvm2.log root:539 log> file lvm2

Re: [gentoo-user] LVM2

2008-04-02 Thread tecnic5
What I'd check: Make sure dm-mod is either part of the kernel or, if it's a module, make sure it's loaded during start-up. Make sure lvm init script is executed on start-up. Take a look at: http://www.gentoo.org/doc/en/lvm2.xml HTH, Abraham when i reboot the gentoo box all the lvm settings are

[gentoo-user] LVM2

2008-04-02 Thread Kaushal Shriyan
Hi when i reboot the gentoo box all the lvm settings are gone, I have followed the below steps http://pastebin.com/d52c219ba Please let me know if I am missing something Thanks and Regards Kaushal -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] lvm2 partition type

2006-11-22 Thread Alan McKinnon
On Wednesday 22 November 2006 00:22, David Grant wrote: > I have an lvm2 questions. I have 4 partitions in a pv, according to > pvdisplay, sda6, sda7, sda8, and sda9. According to fdisk, only sda6, > sda7, and sda8 are of partition type Linux LVM (0x8e) but sda9 is of > type Linux (0x83). Does this

Re: [gentoo-user] lvm2 emerge problem[solved?]

2006-05-19 Thread Leopold Gouverneur
On Wed, May 17, 2006 at 02:29:26PM -0700, Richard Fish wrote: > On 5/17/06, Leopold Gouverneur <[EMAIL PROTECTED]> wrote: > >[ebuild N] sys-fs/lvm2-2.02.05 USE="nolvm1 nolvmstatic nosnapshots > >readline -clvm -cman -gulm -nomirrors" > > > >Anyway i think that without a previous declaration o

Re: [gentoo-user] lvm2 emerge problem[SOLVED]

2006-05-18 Thread Leopold Gouverneur
On Wed, May 17, 2006 at 02:29:26PM -0700, Richard Fish wrote: > On 5/17/06, Leopold Gouverneur <[EMAIL PROTECTED]> wrote: > >[ebuild N] sys-fs/lvm2-2.02.05 USE="nolvm1 nolvmstatic nosnapshots > >readline -clvm -cman -gulm -nomirrors" > > > >Anyway i think that without a previous declaration o

Re: [gentoo-user] lvm2 emerge problem

2006-05-17 Thread Richard Fish
On 5/17/06, Leopold Gouverneur <[EMAIL PROTECTED]> wrote: [ebuild N] sys-fs/lvm2-2.02.05 USE="nolvm1 nolvmstatic nosnapshots readline -clvm -cman -gulm -nomirrors" Anyway i think that without a previous declaration of dm_pool the compilation should abort.But since i seem to be the only one

Re: [gentoo-user] lvm2 emerge problem

2006-05-17 Thread Leopold Gouverneur
On Wed, May 17, 2006 at 11:23:00AM -0700, Richard Fish wrote: > On 5/17/06, Leopold Gouverneur <[EMAIL PROTECTED]> wrote: > >emerge lvm2 abort during compilation with this message: > >... > >../include/lvm-string.h:40: attention : 'struct dm_pool' declared inside > >parameter list > >... > > > >wor

Re: [gentoo-user] lvm2 emerge problem

2006-05-17 Thread Richard Fish
On 5/17/06, Leopold Gouverneur <[EMAIL PROTECTED]> wrote: emerge lvm2 abort during compilation with this message: ... ../include/lvm-string.h:40: attention : 'struct dm_pool' declared inside parameter list ... wordir/.../lvm-string.h i see: ... struct pool; char *build_dm_name(s

[gentoo-user] lvm2 emerge problem

2006-05-17 Thread Leopold Gouverneur
emerge lvm2 abort during compilation with this message: ... ../include/lvm-string.h:40: attention : 'struct dm_pool' declared inside parameter list ... wordir/.../lvm-string.h i see: ... struct pool; char *build_dm_name(struct dm_pool *mem, ^^^

Re: [gentoo-user] LVM2 Problems

2006-05-11 Thread Boyd Stephen Smith Jr.
On Thursday 11 May 2006 06:06, Barny M <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] LVM2 Problems': > Boyd Stephen Smith Jr. wrote: > > Then why do we see "zoom" here? > > Sorry "zoom" is actually "cont". For some reasons I goo

Re: [gentoo-user] LVM2 Problems

2006-05-11 Thread Barny M
Boyd Stephen Smith Jr. wrote: > Then why do we see "zoom" here? Sorry "zoom" is actually "cont". For some reasons I good the word "zoom" in here :-( > Also, be /very/ careful with upgrading LVM / device-mapper. Sure ;-) Back to my last question. Any thoughts how to get this fixed without remo

Re: [gentoo-user] LVM2 problems

2006-05-10 Thread Boyd Stephen Smith Jr.
On Tuesday 09 May 2006 12:40, Barny M <[EMAIL PROTECTED]> wrote about '[gentoo-user] LVM2 problems': > Any further suggestions how to troubleshoot or fix the issue ? See my answer to your previous post. Also, gmail doesn't show you your own messages. -- &qu

Re: [gentoo-user] LVM2 Problems

2006-05-10 Thread Boyd Stephen Smith Jr.
On Tuesday 09 May 2006 10:40, [EMAIL PROTECTED] wrote about '[gentoo-user] LVM2 Problems': > I recently synced my Gentoo (2.6.7-gentoo-r13) and after emerging > updated ebuilds, sure lvm2 was one of them and a reboot I lost my > mounted fs. > /dev/cont/swap

Re: [gentoo-user] LVM2 Problems

2006-05-10 Thread Barny M
Richard Fish wrote: > On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> vgchange -a y >> device-mapper: deps ioctl failed: Invalid argument >> _deps: task run failed for (254:0) >> Failed to add device (254:0) to dtree > > > My guess is a conflict between the device-mapper versi

Re: [gentoo-user] LVM2 Problems

2006-05-09 Thread Richard Fish
On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: vgchange -a y device-mapper: deps ioctl failed: Invalid argument _deps: task run failed for (254:0) Failed to add device (254:0) to dtree My guess is a conflict between the device-mapper version and your kernel. 2.6.7 is quite ancie

Re: [gentoo-user] LVM2 Problems

2006-05-09 Thread Jure Varlec
I've never seen this issue, so I may not be the right person to give advice here. But at a glance, it looks like lvm and device-mapper are incompatible or something similar. If I were in your place I would try differrent versions of lvm2, device-mapper and/or kernel. FYI, my configuration works

[gentoo-user] LVM2 problems

2006-05-09 Thread Barny M
Hi, I recently synced my Gentoo (2.6.7-gentoo-r13) and after emerging updated ebuilds, sure lvm2 was one of them and a reboot I lost my mounted fs. Fortunately I do not have / (root) under LVM however all efforts so far haven't brought my fs back: # /etc/fstab: static file system information. #

[gentoo-user] LVM2 Problems

2006-05-09 Thread bm2600
Hi, I recently synced my Gentoo (2.6.7-gentoo-r13) and after emerging updated ebuilds, sure lvm2 was one of them and a reboot I lost my mounted fs. Fortunately I do not have / (root) under LVM however all efforts so far haven't brought my fs back: # /etc/fstab: static file system information. #

Re: [gentoo-user] lvm2 and RAID

2005-09-21 Thread Neil Bothwick
On Wed, 21 Sep 2005 01:44:04 -0400 (EDT), A. Khattri wrote: > Im talking about software RAID specifically. I would assume running lvm2 > (a software process) over software RAID would have more overhead than > just software RAID alone. Your CPU and memory are so much faster than your hard drive th

Re: [gentoo-user] lvm2 and RAID

2005-09-21 Thread jarry
"A. Khattri" <[EMAIL PROTECTED]> wrote: > Im talking about software RAID specifically. I would assume running > lvm2 (a software process) over software RAID would have more overhead > than just software RAID alone. I'd say you do not need to worry about it (if you have at least 500MHz cpu). SW-ra

Re: [gentoo-user] lvm2 and RAID

2005-09-20 Thread A. Khattri
On Tue, 20 Sep 2005, John Jolet wrote: > you'd have to define "just plain raid". There is a performance > penalty for software raid over hardware raid, but I've not been able > to see any performance penalty for lvm over plain filesystem. Note > that my testing has been on light-to-moderately lo

Re: [gentoo-user] lvm2 and RAID

2005-09-20 Thread John Jolet
On Sep 20, 2005, at 4:38 PM, A. Khattri wrote: On Thu, 15 Sep 2005, Neil Bothwick wrote: On Thu, 15 Sep 2005 12:25:14 -0700, Carl Flippin wrote: The trick to getting it all to work together is doing the raid setup first and then using the /dev/md* devices for the LVM2 setup. I did some

Re: [gentoo-user] lvm2 and RAID

2005-09-20 Thread A. Khattri
On Thu, 15 Sep 2005, Neil Bothwick wrote: > On Thu, 15 Sep 2005 12:25:14 -0700, Carl Flippin wrote: > > > The trick to getting it all to work together is doing the raid setup > > first and then using the /dev/md* devices for the LVM2 setup. > > I did something similar here. By creating the RAID fi

Re: [gentoo-user] lvm2 and RAID

2005-09-15 Thread Neil Bothwick
On Thu, 15 Sep 2005 12:25:14 -0700, Carl Flippin wrote: > The trick to getting it all to work together is doing the raid setup > first and then using the /dev/md* devices for the LVM2 setup. I did something similar here. By creating the RAID first, you only need to RAID one large partition. --

Re: [gentoo-user] lvm2 and RAID

2005-09-15 Thread Carl Flippin
I have such a setup. It was fairly easy to do. For the LVM2 part, just follow this howto: http://www.gentoo.org/doc/en/lvm2.xml For the raid part, the documentation you need is here: http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml#software-raid The trick to getting it all to work toget

Re: [gentoo-user] lvm2 and RAID

2005-09-15 Thread brettholcomb
5/09/15 Thu PM 02:30:42 EDT > To: gentoo-user@lists.gentoo.org > Subject: [gentoo-user] lvm2 and RAID > > > Anybody using lvm2 and RAID together on the same partitions? > > Can anyone detail how to create such a setup? > > > -- > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list

[gentoo-user] lvm2 and RAID

2005-09-15 Thread A. Khattri
Anybody using lvm2 and RAID together on the same partitions? Can anyone detail how to create such a setup? -- -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Mark Knecht
On 8/30/05, Neil Bothwick <[EMAIL PROTECTED]> wrote: > On Tue, 30 Aug 2005 15:03:49 -0700, Mark Knecht wrote: > > > > I have /boot, swap and / on normal partitions, everything else on > > > LVM. / is only 300MB, as /usr is on an LVM2 partition, /var and /opt > > > are bound to directories in /usr.

Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Neil Bothwick
On Tue, 30 Aug 2005 15:03:49 -0700, Mark Knecht wrote: > > I have /boot, swap and / on normal partitions, everything else on > > LVM. / is only 300MB, as /usr is on an LVM2 partition, /var and /opt > > are bound to directories in /usr. I kow I could put / on LVM, but > > that requires an initrd, w

Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Mark Knecht
Thanks Neil On 8/30/05, Neil Bothwick <[EMAIL PROTECTED]> wrote: > On Mon, 29 Aug 2005 17:50:15 -0700, Mark Knecht wrote: > > >I'm looking at LVN2 for this install. The main drive is 250GB. I'm > > wondering a couple of things: > > I've ben using LVM2 on my AMD64 box since I built it. > > >

Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Alvin A ONeal Jr
You can use it all or into chunks of 20GB each as the how-to suggests; I agree. I think the biggest reason to use the whole drive as one logical partition would be if you had dual SATA and you were striping. It's nice to have that extra space available as non-LVM2 just in case you need it. A

Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Dirk Heinrichs
Am Dienstag, 30. August 2005 10:25 schrieb ext W.Kenworthy: > On Tue, 2005-08-30 at 09:38 +0200, Dirk Heinrichs wrote: > > Am Dienstag, 30. August 2005 08:49 schrieb ext W.Kenworthy: > > > Comments inline: > > > > > > moriah ~ # df -h > > > FilesystemSize Used Avail Use% Mounted on > >

Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread W.Kenworthy
On Tue, 2005-08-30 at 09:38 +0200, Dirk Heinrichs wrote: > Am Dienstag, 30. August 2005 08:49 schrieb ext W.Kenworthy: > > Comments inline: > > > > moriah ~ # df -h > > FilesystemSize Used Avail Use% Mounted on > > udev 252M 2.6M 249M 2% /dev > > Hmm, mine takes 1

Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Neil Bothwick
On Mon, 29 Aug 2005 17:50:15 -0700, Mark Knecht wrote: >I'm looking at LVN2 for this install. The main drive is 250GB. I'm > wondering a couple of things: I've ben using LVM2 on my AMD64 box since I built it. > 1) Should use all of the drive, other than the boot and swap > partitions, for th

Re: [gentoo-user] lvm2/external partitions question

2005-08-30 Thread Dirk Heinrichs
Am Dienstag, 30. August 2005 08:49 schrieb ext W.Kenworthy: > Comments inline: > > moriah ~ # df -h > FilesystemSize Used Avail Use% Mounted on > udev 252M 2.6M 249M 2% /dev Hmm, mine takes 116k, how comes your /dev uses 2.6M? > cachedir 3.8G 2.2G

Re: [gentoo-user] lvm2/external partitions question

2005-08-29 Thread W.Kenworthy
Comments inline: moriah ~ # df -h FilesystemSize Used Avail Use% Mounted on /dev/hda5 3.8G 2.2G 1.6G 59% / udev 252M 2.6M 249M 2% /dev cachedir 3.8G 2.2G 1.6G 59% /lib/splash/cache /dev/vg1/usr 32G 5.9G 27G 19% /usr /de

Re: [gentoo-user] lvm2/external partitions question

2005-08-29 Thread Dirk Heinrichs
Am Dienstag, 30. August 2005 06:28 schrieb ext Mark Knecht: >That's very helpful. To test my understanding > > /dev/hda1 - boot - 100M Way too much. > /dev/hda2 - swap - 2G Can be on a logical volume, too. > /dev/hda3 - NOT CLEAR - the backup/rescue install? Why? Use the LiveCD. > /dev/hd

Re: [gentoo-user] lvm2/external partitions question

2005-08-29 Thread Chris Cox
On Monday 29 August 2005 07:50 pm, Mark Knecht wrote: > Hi, >My new A8N-E/AMD64 hardware came up the first time. SATA/DVD/CDRW > all seen. LiveCD boots fine. memtest86 has been running for the last > hour and looks good so far. All looks good so I'll start a Gentoo > install pretty soon. > >

Re: [gentoo-user] lvm2/external partitions question

2005-08-29 Thread W.Kenworthy
/dev/hda3 is the backup/rescue. What I did last time I built a system, is used this to build a working system. Put it into service, adjust/configure until I am happy. Create the LVM in prep for the main install. Copy the rescue system to the LVM and setup grub. reboot into the main and go from

Re: [gentoo-user] lvm2/external partitions question

2005-08-29 Thread Mark Knecht
On 8/29/05, W.Kenworthy <[EMAIL PROTECTED]> wrote: > My scheme is: > 100 M /boot on ext3 (I was going to store some other info there, but > its mostly "space" att) > > 2G swap > > 4G reiserfs with a complete, basic gentoo rescue install - if all goes > pear shaped, I have a backup including a

Re: [gentoo-user] lvm2/external partitions question

2005-08-29 Thread W.Kenworthy
My scheme is: 100 M /boot on ext3 (I was going to store some other info there, but its mostly "space" att) 2G swap 4G reiserfs with a complete, basic gentoo rescue install - if all goes pear shaped, I have a backup including a functioning /boot on this partition. Particularly useful with thin

[gentoo-user] lvm2/external partitions question

2005-08-29 Thread Mark Knecht
Hi, My new A8N-E/AMD64 hardware came up the first time. SATA/DVD/CDRW all seen. LiveCD boots fine. memtest86 has been running for the last hour and looks good so far. All looks good so I'll start a Gentoo install pretty soon. I'm looking at LVN2 for this install. The main drive is 250GB. I'm

Re: [gentoo-user] LVM2 won't compile...? [SOLVED]

2005-05-07 Thread Holly Bostick
Hi again, Sorry to top-post, but since 1) it's been a bit (RL and minor PC crises, sorry) and 2) I fixed it, I hope everyone will forgive me for putting the relevant information first. Anyway, in the course of trying to clean up the 3900 unread list messages since I started my reinstall of Gentoo

Re: [gentoo-user] LVM2 won't compile...?

2005-05-02 Thread James Hiscock
> This is not a major problem (I have LVM2 partitions, but EVMS compiled > fine, so I can manage them), but I don't like it, as it seems weird for > the main tool for the fs not to compile. Nothing related seems to be on > B.G.O (which is also weird), so I'm wondering if anyone might know what > I

[gentoo-user] LVM2 won't compile...?

2005-05-02 Thread Holly Bostick
Hey ho, all-- This is not a major problem (I have LVM2 partitions, but EVMS compiled fine, so I can manage them), but I don't like it, as it seems weird for the main tool for the fs not to compile. Nothing related seems to be on B.G.O (which is also weird), so I'm wondering if anyone might know wh

Re: [gentoo-user] LVM2 during installation

2005-04-14 Thread Kiawud
On 4/14/05, Richard Fish <[EMAIL PROTECTED]> wrote: > I am using lvm2 2.0.33-r1, dynamically linked, but all of the dependent > libraries are installed in /lib, not /usr/lib. > > carcharias linux # ldd /sbin/lvm > linux-gate.so.1 => (0xe000) > libdevmapper.so.1.00 => /lib/libd

Re: [gentoo-user] LVM2 during installation

2005-04-14 Thread Richard Fish
Kiawud wrote: >I'm looking to create some LVM2 volumes during an installation of >2005.0. However, the gentoo instructions indicate that the LVM2 >application on the 2005.0 LiveCD is dynamic built against libraries in >/usr (which I intend to put on one of the LVM volumes). > >To get around this,

Re: (OT) [gentoo-user] LVM2 during installation

2005-04-14 Thread Robert G. Hays
Neil Bothwick wrote: On Thu, 14 Apr 2005 13:01:02 -0400, Robert G. Hays wrote: *LIKE* you rolling-sig -- are these from 'noseguy,' by any chance? Where-the-futz do you get all these anyway? No one source. I have collected them over the last twelve years. Some are very out of date now, I really

Re: (OT) [gentoo-user] LVM2 during installation

2005-04-14 Thread Neil Bothwick
On Thu, 14 Apr 2005 13:01:02 -0400, Robert G. Hays wrote: > I *LIKE* you rolling-sig -- are these from 'noseguy,' by any chance? > Where-the-futz do you get all these anyway? No one source. I have collected them over the last twelve years. Some are very out of date now, I really ought to clean th

Re: (OT) [gentoo-user] LVM2 during installation

2005-04-14 Thread Robert G. Hays
Neil Bothwick wrote: [sig:] Neil Bothwick Top Oxymorons Number 9: Political science Wrong!! :: "Political Science" is the study of how/why things happens *in* politics... You know, like studying how an AIDS virus works? <**Very** evil grin!!> I *LIKE* you rolling-sig -- are these from 'noseg

Re: [gentoo-user] LVM2 during installation

2005-04-14 Thread Neil Bothwick
On Thu, 14 Apr 2005 09:19:01 -0600, Kiawud wrote: > However, it looks like 2.0.33-r1 is the latest 'stable' version > available. Plus, if I were to install (any version), would I have to > specifically request the 'static' version (ie: USE="static" emerge > lvm2). No, the static binaries are the

[gentoo-user] LVM2 during installation

2005-04-14 Thread Kiawud
I'm looking to create some LVM2 volumes during an installation of 2005.0. However, the gentoo instructions indicate that the LVM2 application on the 2005.0 LiveCD is dynamic built against libraries in /usr (which I intend to put on one of the LVM volumes). To get around this, the instruction sugg