[linux-lvm] Problem doing basic LVM functions

Ricardo Sanchez sanchez.ricardo at gmail.com
Wed May 17 15:52:55 UTC 2006


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 at redhat.com [mailto:linux-lvm-bounces at redhat.com] On
Behalf Of tkb9 at 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 at 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 at redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list