* RE: [linux-lvm] kernel: invalidate: busy buffer
@ 2002-04-16 10:15 Stephenson, Dale
2002-04-16 11:01 ` Rene @ Webscorpion.com
0 siblings, 1 reply; 10+ messages in thread
From: Stephenson, Dale @ 2002-04-16 10:15 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
The invalidate: busy buffer message comes from fs/buffer.c, inside
invalidate_bdev(). It's just a warning message indicating the buffer has a
positive b_count -- presumably, somebody is still using it. In this case,
the code *doesn't* destroy the buffer, so it should be harmless. Don't know
why you're getting millions of them, though. I remember seeing them before
(during vgscan), but never in that quantity.
I also don't know why your lvcreate dumps core. How recent are your LVM
tools? Try using the -d option to lvcreate to see how far it gets, or run
lvcreate from within gdb.
Dale J. Stephenson
steph@snapserver.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [linux-lvm] kernel: invalidate: busy buffer
2002-04-16 10:15 [linux-lvm] kernel: invalidate: busy buffer Stephenson, Dale
@ 2002-04-16 11:01 ` Rene @ Webscorpion.com
2002-04-16 11:36 ` Markus Dobel
0 siblings, 1 reply; 10+ messages in thread
From: Rene @ Webscorpion.com @ 2002-04-16 11:01 UTC (permalink / raw)
To: linux-lvm
Thanks for the many replies. I was feeling a little lonely there for a
moment.
> I also don't know why your lvcreate dumps core. How recent are your
> LVM tools? Try using the -d option to lvcreate to see how far it gets,
> or run lvcreate from within gdb.
LVM tools are 1.0.3 - but as I said, I was unable to run the patch against
my kernel source -- and I need and -AC kernel to keep aquote happy.
I know there is a LVM 1.1-rc1 release available, however, call me chicken
but I don't dare installing software that comes with a note
like "Disclaimer: This release is not meant to be run on production
systems."
Will try -d option later (no access to server from where I am now).
How would I go about running lvcreate from within gdb? Sorry I'm not a
programmer :-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] kernel: invalidate: busy buffer
2002-04-16 11:01 ` Rene @ Webscorpion.com
@ 2002-04-16 11:36 ` Markus Dobel
2002-04-16 12:32 ` [linux-lvm] LVM tool limitation on using whole disk bo
2002-04-16 17:45 ` [linux-lvm] kernel: invalidate: busy buffer Rene @ Webscorpion.com
0 siblings, 2 replies; 10+ messages in thread
From: Markus Dobel @ 2002-04-16 11:36 UTC (permalink / raw)
To: linux-lvm
On Tue, Apr 16, 2002 at 01:02:40PM -0300, Rene @ Webscorpion.com wrote:
>
> LVM tools are 1.0.3 - but as I said, I was unable to run the patch against
> my kernel source -- and I need and -AC kernel to keep aquote happy.
At least there's a non-AC-Patch for quota 2 (i guess that's what you
mean with "aquote"). I'm using it here on a Redhat System with a custom
kernel.
ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/
There are patches for adding Quota to ReiserFS which also need Quota 2
to work, so the V2 Quota patch is included.
Regards, Markus
--
Kostenloses MySQL Datenbank-Hosting:
http://www.google.com/search?q=welcome+to+phpmyadmin
^ permalink raw reply [flat|nested] 10+ messages in thread
* [linux-lvm] LVM tool limitation on using whole disk
2002-04-16 11:36 ` Markus Dobel
@ 2002-04-16 12:32 ` bo
2002-04-16 13:51 ` James Hawtin
2002-04-16 17:45 ` [linux-lvm] kernel: invalidate: busy buffer Rene @ Webscorpion.com
1 sibling, 1 reply; 10+ messages in thread
From: bo @ 2002-04-16 12:32 UTC (permalink / raw)
To: linux-lvm
Hello LVM gurus,
I read the following;
"There is one important "limitation" when using whole disk. The LVM tools
used to setup
LVM will recognize a whole disk as possible device for LVM ONLY if it has
NO
partition table! If the disk already has one, even an empty one, LVM will
refuse to use it."
Is it still TRUE?
I am going to make several MDs on several whole disks, and then combine them
as a
volume. How could I avoid this problem?
Thanks,
Bo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM tool limitation on using whole disk
2002-04-16 12:32 ` [linux-lvm] LVM tool limitation on using whole disk bo
@ 2002-04-16 13:51 ` James Hawtin
2002-04-16 14:09 ` bo
0 siblings, 1 reply; 10+ messages in thread
From: James Hawtin @ 2002-04-16 13:51 UTC (permalink / raw)
To: linux-lvm
On Tue, 16 Apr 2002, bo wrote:
> Is it still TRUE?
>
> I am going to make several MDs on several whole disks, and then combine them
> as a
> volume. How could I avoid this problem?
>
> Thanks,
>
> Bo
>
>
So wipe the partition table!
dd if=/dev/zero of=/dev/discs/disc1/disc bs=1024 count=10
That would do it... make sure you change the of= bit to be the right
device. Do it wrong and ... well thats your problem!
James
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM tool limitation on using whole disk
2002-04-16 13:51 ` James Hawtin
@ 2002-04-16 14:09 ` bo
2002-04-16 14:36 ` Dustin Cooper
0 siblings, 1 reply; 10+ messages in thread
From: bo @ 2002-04-16 14:09 UTC (permalink / raw)
To: linux-lvm
Thanks for your reply.
It should work if I make a LVM from HDD device, not using MD.
However, using fdisk to make a big ONE partition for RAID then
make it for MD. Then I should not wife this partition block out.
I never try it yet but I think it is.
Am I wrong?
Any other suggestions?
Bo
----- Original Message -----
From: "James Hawtin" <oolon@ankh.org>
To: <linux-lvm@sistina.com>
Sent: Tuesday, April 16, 2002 11:47 AM
Subject: Re: [linux-lvm] LVM tool limitation on using whole disk
> On Tue, 16 Apr 2002, bo wrote:
>
> > Is it still TRUE?
> >
> > I am going to make several MDs on several whole disks, and then combine
them
> > as a
> > volume. How could I avoid this problem?
> >
> > Thanks,
> >
> > Bo
> >
> >
>
> So wipe the partition table!
>
> dd if=/dev/zero of=/dev/discs/disc1/disc bs=1024 count=10
>
> That would do it... make sure you change the of= bit to be the right
> device. Do it wrong and ... well thats your problem!
>
> James
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM tool limitation on using whole disk
2002-04-16 14:09 ` bo
@ 2002-04-16 14:36 ` Dustin Cooper
2002-04-16 15:00 ` James Hawtin
0 siblings, 1 reply; 10+ messages in thread
From: Dustin Cooper @ 2002-04-16 14:36 UTC (permalink / raw)
To: linux-lvm
You can make MD devices out of entire disks, but they won't be
autodetected by the kernel. For MD autodetection to work you have to have
partitions of type 0xfd on your disks.
If you still want to use whole disks, make sure /etc/raidtab is up to date
and use raidstart before vgscan.
On Tue, 16 Apr 2002, bo wrote:
> Thanks for your reply.
>
> It should work if I make a LVM from HDD device, not using MD.
> However, using fdisk to make a big ONE partition for RAID then
> make it for MD. Then I should not wife this partition block out.
>
> I never try it yet but I think it is.
>
> Am I wrong?
>
> Any other suggestions?
>
> Bo
> ----- Original Message -----
> From: "James Hawtin" <oolon@ankh.org>
> To: <linux-lvm@sistina.com>
> Sent: Tuesday, April 16, 2002 11:47 AM
> Subject: Re: [linux-lvm] LVM tool limitation on using whole disk
>
>
> > On Tue, 16 Apr 2002, bo wrote:
> >
> > > Is it still TRUE?
> > >
> > > I am going to make several MDs on several whole disks, and then combine
> them
> > > as a
> > > volume. How could I avoid this problem?
> > >
> > > Thanks,
> > >
> > > Bo
> > >
> > >
> >
> > So wipe the partition table!
> >
> > dd if=/dev/zero of=/dev/discs/disc1/disc bs=1024 count=10
> >
> > That would do it... make sure you change the of= bit to be the right
> > device. Do it wrong and ... well thats your problem!
> >
> > James
> >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM tool limitation on using whole disk
2002-04-16 14:36 ` Dustin Cooper
@ 2002-04-16 15:00 ` James Hawtin
2002-04-16 16:23 ` bo
0 siblings, 1 reply; 10+ messages in thread
From: James Hawtin @ 2002-04-16 15:00 UTC (permalink / raw)
To: linux-lvm
On Tue, 16 Apr 2002, Dustin Cooper wrote:
> You can make MD devices out of entire disks, but they won't be
> autodetected by the kernel. For MD autodetection to work you have to have
> partitions of type 0xfd on your disks.
>
> If you still want to use whole disks, make sure /etc/raidtab is up to date
> and use raidstart before vgscan.
>
In that case i recon you should use a partition table just for simplity.
A partition table only wastes one disk block at the end of the day, you
going to lose much more space with lvm and the raid in rounding. I have to
admit I aways use a partition table even when a whole disk has been used
for lvm.
What kind of raid you going to use? Lvm does do striping and
Concatination on PEs. (forget what "numbers" those are called ;-)
Mirroring or raid 5 your going to have to use the the linux raid to make
those devices.
James
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM tool limitation on using whole disk
2002-04-16 15:00 ` James Hawtin
@ 2002-04-16 16:23 ` bo
0 siblings, 0 replies; 10+ messages in thread
From: bo @ 2002-04-16 16:23 UTC (permalink / raw)
To: linux-lvm
I support RAID1 & 5.
On the top of these RAID 1 or 5 MD device I will use LVM for flexibility.
I read the WARNING I mentioned on my previous email from some LVM document
such as
"There is one important "limitation" when using whole disk. The LVM tools
used to setup LVM will recognize a whole disk as possible device for LVM
ONLY if it has NO partition table! If the disk already has one, even an
empty
one, LVM will refuse to use it."
This was my question, "is this still TRUE or not?"
Thanks,
Bo
----- Original Message -----
From: "James Hawtin" <oolon@ankh.org>
To: <linux-lvm@sistina.com>
Sent: Tuesday, April 16, 2002 12:57 PM
Subject: Re: [linux-lvm] LVM tool limitation on using whole disk
> On Tue, 16 Apr 2002, Dustin Cooper wrote:
>
> > You can make MD devices out of entire disks, but they won't be
> > autodetected by the kernel. For MD autodetection to work you have to
have
> > partitions of type 0xfd on your disks.
> >
> > If you still want to use whole disks, make sure /etc/raidtab is up to
date
> > and use raidstart before vgscan.
> >
>
> In that case i recon you should use a partition table just for simplity.
> A partition table only wastes one disk block at the end of the day, you
> going to lose much more space with lvm and the raid in rounding. I have to
> admit I aways use a partition table even when a whole disk has been used
> for lvm.
>
> What kind of raid you going to use? Lvm does do striping and
> Concatination on PEs. (forget what "numbers" those are called ;-)
>
> Mirroring or raid 5 your going to have to use the the linux raid to make
> those devices.
>
> James
>
>
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] kernel: invalidate: busy buffer
2002-04-16 11:36 ` Markus Dobel
2002-04-16 12:32 ` [linux-lvm] LVM tool limitation on using whole disk bo
@ 2002-04-16 17:45 ` Rene @ Webscorpion.com
1 sibling, 0 replies; 10+ messages in thread
From: Rene @ Webscorpion.com @ 2002-04-16 17:45 UTC (permalink / raw)
To: linux-lvm
Hm. This is getting interesting:
I installed the 1.1rc1 tools, skipped the patching, and guess what:
Seems to work perfectly.
Not a single error, not a core dump .... I'm just a little worried about
the "beta quality software" sticker on it. Any experiences with this
version? Should I take a chance and use it anyway?
> On Tue, Apr 16, 2002 at 01:02:40PM -0300, Rene @ Webscorpion.com wrote:
>>
>> LVM tools are 1.0.3 - but as I said, I was unable to run the patch
>> against my kernel source -- and I need and -AC kernel to keep aquote
>> happy.
>
> At least there's a non-AC-Patch for quota 2 (i guess that's what you
> mean with "aquote"). I'm using it here on a Redhat System with a custom
> kernel.
>
> ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/
>
> There are patches for adding Quota to ReiserFS which also need Quota 2
> to work, so the V2 Quota patch is included.
>
> Regards, Markus
>
> --
> Kostenloses MySQL Datenbank-Hosting:
> http://www.google.com/search?q=welcome+to+phpmyadmin
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-04-16 17:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 10:15 [linux-lvm] kernel: invalidate: busy buffer Stephenson, Dale
2002-04-16 11:01 ` Rene @ Webscorpion.com
2002-04-16 11:36 ` Markus Dobel
2002-04-16 12:32 ` [linux-lvm] LVM tool limitation on using whole disk bo
2002-04-16 13:51 ` James Hawtin
2002-04-16 14:09 ` bo
2002-04-16 14:36 ` Dustin Cooper
2002-04-16 15:00 ` James Hawtin
2002-04-16 16:23 ` bo
2002-04-16 17:45 ` [linux-lvm] kernel: invalidate: busy buffer Rene @ Webscorpion.com
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.