linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Problem doing basic LVM functions
@ 2006-05-16 22:39 Ricardo Sanchez
  0 siblings, 0 replies; 5+ messages in thread
From: Ricardo Sanchez @ 2006-05-16 22:39 UTC (permalink / raw)
  To: linux-lvm

I created a basic volume group named "uservg" and added two PVs to it
successfully.

After doing this, I deleted the partitions to the disks...
Every time I try to do a vgscan or vgremove it gives the following output:

nbd0: Attempted send on closed socket
end_request: I/O Error, dev nbd0, sector 0
printk: 7 messages suppressed.
Buffer  I/O Error on device nbd0, logical block 0
Buffer  I/O Error on device nbd0, logical block 1
Buffer  I/O Error on device nbd0, logical block 2
nbd0: Attempted send on closed socket
/dev/nb0: read failed after 0 of 4096 at 0: Input/output error
 /dev/nb0: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb0: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb1: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb1: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb2: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb2: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb3: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb3: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb4: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb4: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb5: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb5: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb6: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb6: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb7: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb7: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb8: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb8: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb9: read failed after 0 of 4096 at 2199022141440: Input/output error
  /dev/nb9: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb10: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nb10: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb11: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nb11: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb12: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nb12: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb13: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nb13: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb14: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nb14: read failed after 0 of 4096 at 0: Input/output error
  /dev/nb15: read failed after 0 of 4096 at 2199022141440: Input/output
error
  /dev/nb15: read failed after 0 of 4096 at 0: Input/output error


And it just hangs there. Can anyone help?

Thanks

Ricardo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Problem doing basic LVM functions
@ 2006-05-17 14:19 tkb9
  2006-05-17 15:52 ` Ricardo Sanchez
  0 siblings, 1 reply; 5+ messages in thread
From: tkb9 @ 2006-05-17 14:19 UTC (permalink / raw)
  To: LVM general discussion and development

---- Ricardo Sanchez <sanchez.ricardo@gmail.com> wrote: 
> I created a basic volume group named "uservg" and added two PVs to it
> successfully.
> 
> After doing this, I deleted the partitions to the disks...
> Every time I try to do a vgscan or vgremove it gives the following output:
> 
> nbd0: Attempted send on closed socket
> end_request: I/O Error, dev nbd0, sector 0
> printk: 7 messages suppressed.
> Buffer  I/O Error on device nbd0, logical block 0
> Buffer  I/O Error on device nbd0, logical block 1
> Buffer  I/O Error on device nbd0, logical block 2
> nbd0: Attempted send on closed socket
> /dev/nb0: read failed after 0 of 4096 at 0: Input/output error
>  /dev/nb0: read failed after 0 of 4096 at 2199022141440: Input/output error
>   /dev/nb0: read failed after 0 of 4096 at 0: Input/output error
>   /dev/nb1: read failed after 0 of 4096 at 2199022141440: Input/output error

Are you trying to use nbd nodes in LVM?

I had the same problem using nbd & LVM. I first had to destroy & recreate the nbd nodes.  I put each nbd node into a single disk md, & used the md nodes in my pv & vg. 

Been working fine that way for several months now, although running locate to find a file would crash the system, so I removed the slocate rpm.

-Toby

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [linux-lvm] Problem doing basic LVM functions
  2006-05-17 14:19 [linux-lvm] Problem doing basic LVM functions tkb9
@ 2006-05-17 15:52 ` Ricardo Sanchez
  2006-05-17 16:35   ` Ming Zhang
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Sanchez @ 2006-05-17 15:52 UTC (permalink / raw)
  To: 'LVM general discussion and development'

Toby

Thanks for the reply. I am not using nbd nodes...the kernel started throwing
out those messages I have never worked with nbd nodes. How can I destroy the
nbd nodes? I just want to start all over again but can't. Every time I try
to do lvm functions, it hangs on those messages.

Thanks

Ricardo

-----Original Message-----
From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On
Behalf Of tkb9@adelphia.net
Sent: Wednesday, May 17, 2006 10:19 AM
To: LVM general discussion and development
Subject: Re: [linux-lvm] Problem doing basic LVM functions

---- Ricardo Sanchez <sanchez.ricardo@gmail.com> wrote: 
> I created a basic volume group named "uservg" and added two PVs to it
> successfully.
> 
> After doing this, I deleted the partitions to the disks...
> Every time I try to do a vgscan or vgremove it gives the following output:
> 
> nbd0: Attempted send on closed socket
> end_request: I/O Error, dev nbd0, sector 0
> printk: 7 messages suppressed.
> Buffer  I/O Error on device nbd0, logical block 0
> Buffer  I/O Error on device nbd0, logical block 1
> Buffer  I/O Error on device nbd0, logical block 2
> nbd0: Attempted send on closed socket
> /dev/nb0: read failed after 0 of 4096 at 0: Input/output error
>  /dev/nb0: read failed after 0 of 4096 at 2199022141440: Input/output
error
>   /dev/nb0: read failed after 0 of 4096 at 0: Input/output error
>   /dev/nb1: read failed after 0 of 4096 at 2199022141440: Input/output
error

Are you trying to use nbd nodes in LVM?

I had the same problem using nbd & LVM. I first had to destroy & recreate
the nbd nodes.  I put each nbd node into a single disk md, & used the md
nodes in my pv & vg. 

Been working fine that way for several months now, although running locate
to find a file would crash the system, so I removed the slocate rpm.

-Toby


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [linux-lvm] Problem doing basic LVM functions
  2006-05-17 15:52 ` Ricardo Sanchez
@ 2006-05-17 16:35   ` Ming Zhang
  0 siblings, 0 replies; 5+ messages in thread
From: Ming Zhang @ 2006-05-17 16:35 UTC (permalink / raw)
  To: LVM general discussion and development

blind guess, lvm sometime do block device scan and search for metadata,
u happen to have nbd module available or compiled in kernel. so if you
set a skip list for all u nbd devices, or disable the nbd in u kernel, u
might be able to solve this.

but nbd code should check if nbdX is configured or not.

ming


On Wed, 2006-05-17 at 11:52 -0400, Ricardo Sanchez wrote:
> Toby
> 
> Thanks for the reply. I am not using nbd nodes...the kernel started throwing
> out those messages I have never worked with nbd nodes. How can I destroy the
> nbd nodes? I just want to start all over again but can't. Every time I try
> to do lvm functions, it hangs on those messages.
> 
> Thanks
> 
> Ricardo
> 
> -----Original Message-----
> From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On
> Behalf Of tkb9@adelphia.net
> Sent: Wednesday, May 17, 2006 10:19 AM
> To: LVM general discussion and development
> Subject: Re: [linux-lvm] Problem doing basic LVM functions
> 
> ---- Ricardo Sanchez <sanchez.ricardo@gmail.com> wrote: 
> > I created a basic volume group named "uservg" and added two PVs to it
> > successfully.
> > 
> > After doing this, I deleted the partitions to the disks...
> > Every time I try to do a vgscan or vgremove it gives the following output:
> > 
> > nbd0: Attempted send on closed socket
> > end_request: I/O Error, dev nbd0, sector 0
> > printk: 7 messages suppressed.
> > Buffer  I/O Error on device nbd0, logical block 0
> > Buffer  I/O Error on device nbd0, logical block 1
> > Buffer  I/O Error on device nbd0, logical block 2
> > nbd0: Attempted send on closed socket
> > /dev/nb0: read failed after 0 of 4096 at 0: Input/output error
> >  /dev/nb0: read failed after 0 of 4096 at 2199022141440: Input/output
> error
> >   /dev/nb0: read failed after 0 of 4096 at 0: Input/output error
> >   /dev/nb1: read failed after 0 of 4096 at 2199022141440: Input/output
> error
> 
> Are you trying to use nbd nodes in LVM?
> 
> I had the same problem using nbd & LVM. I first had to destroy & recreate
> the nbd nodes.  I put each nbd node into a single disk md, & used the md
> nodes in my pv & vg. 
> 
> Been working fine that way for several months now, although running locate
> to find a file would crash the system, so I removed the slocate rpm.
> 
> -Toby
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [linux-lvm] Problem doing basic LVM functions
@ 2006-05-17 16:53 tkb9
  0 siblings, 0 replies; 5+ messages in thread
From: tkb9 @ 2006-05-17 16:53 UTC (permalink / raw)
  To: LVM general discussion and development

---- Ricardo Sanchez <sanchez.ricardo@gmail.com> wrote: 
> Toby
> 
> Thanks for the reply. I am not using nbd nodes...the kernel started throwing
> out those messages I have never worked with nbd nodes. How can I destroy the
> nbd nodes? I just want to start all over again but can't. Every time I try
> to do lvm functions, it hangs on those messages.
> 

Try editing the filters in the devices section of your lvm.conf so lvm will only try to use the disks you want. Valid for lvm version 2 only. 

I use lvm on many systems ( all RH or RH clones ) and the only system that had your same problem is the one on which I played with nbd. 


-Toby

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-17 16:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-17 14:19 [linux-lvm] Problem doing basic LVM functions tkb9
2006-05-17 15:52 ` Ricardo Sanchez
2006-05-17 16:35   ` Ming Zhang
  -- strict thread matches above, loose matches on Subject: below --
2006-05-17 16:53 tkb9
2006-05-16 22:39 Ricardo Sanchez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).