Problem doing basic LVM functions
Quoted 9 lines · ---- Ricardo Sanchez
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.
Quoted 8 lines
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 2nbd0: 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
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: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Wednesday, May 17, 2006 10:19 AM
To: LVM general discussion and development
Subject: Re: [linux-lvm] Problem doing basic LVM functions
Quoted 9 lines · ---- Ricardo Sanchez
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.
Quoted 6 lines
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 2nbd0: 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
Quoted 2 lines
/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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
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
Quoted 62 lines · Ricardo Sanchez
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: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Wednesday, May 17, 2006 10:19 AM
To: LVM general discussion and development
Subject: Re: [linux-lvm] Problem doing basic LVM functionsQuoted 9 lines · ---- Ricardo Sanchez
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.Quoted 6 lines
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 2nbd0: 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/outputerror
Quoted 2 lines
/dev/nb0: read failed after 0 of 4096 at 0: Input/output error/dev/nb1: read failed after 0 of 4096 at 2199022141440: Input/outputerror
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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/