Im using lvm volumes for this configuration. My xen0 kernel is 2.4.27-xen0 with only dpt_i2o added. My drive is dpt_i2o scsi. I get this when I try to start xm: xm create joe -c Using config file "joe". Error: vbd: Segment phy:vg0/joe is in writable use Any ideas? -Phil Carinhas -- .--------------------------------------------------------. | Dr. Philip A. Carinhas | pac(at)fortuitous.com | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Networking & Security | Tel : 1-512-351-7783 | `--------------------------------------------------------'' ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader''s Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Xend has detected something that looks unsafe, so it''s failing the create. Looks like your LVM volume is either mounted in dom0 or already exported to another domain with write privileges. Unless you''re using a cluster file system like GFS, you need to make sure it''s unmounted in dom0 and that it''s not exported writeable to other domains, otherwise you''ll hose your filesystem. HTH, Mark On Wednesday 10 Nov 2004 22:05, Phil Carinhas wrote:> Im using lvm volumes for this configuration. > My xen0 kernel is 2.4.27-xen0 with only dpt_i2o added. > My drive is dpt_i2o scsi. > > I get this when I try to start xm: > > xm create joe -c > Using config file "joe". > Error: vbd: Segment phy:vg0/joe is in writable use > > Any ideas? > > -Phil Carinhas > -- > .--------------------------------------------------------. > > | Dr. Philip A. Carinhas | pac(at)fortuitous.com | > | Fortuitous Technologies Inc. | http://fortuitous.com | > | Linux Networking & Security | Tel : 1-512-351-7783 | > > `--------------------------------------------------------'' > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader''s Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader''s Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Wed, Nov 10, 2004 at 10:18:32PM +0000, Mark A. Williamson wrote:> Xend has detected something that looks unsafe, so it''s failing the create. > Looks like your LVM volume is either mounted in dom0 or already exported to > another domain with write privileges. > > Unless you''re using a cluster file system like GFS, you need to make sure > it''s unmounted in dom0 and that it''s not exported writeable to other > domains, otherwise you''ll hose your filesystem.It''s not mounted or in use anywhere. for some reason lvscan shows them all as being ACTIVE. Not sure why. -Phil Carinhas -- .--------------------------------------------------------. | Dr. Philip A. Carinhas | pac(at)fortuitous.com | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Networking & Security | Tel : 1-512-351-7783 | `--------------------------------------------------------'' ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader''s Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> It''s not mounted or in use anywhere. for some reason lvscan > shows them all as being ACTIVE. Not sure why.Hmmm, that''s wacky. There could be something funny going on that''s confusing Xend about what''s mounted (maybe something doesn''t parse properly...). Could you please post the output of "mount" on the system where this fails so we can try to deduce what''s upsetting Xend. Cheers, Mark ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader''s Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Wed, Nov 10, 2004 at 11:18:27PM +0000, Mark A. Williamson wrote:> > It''s not mounted or in use anywhere. for some reason lvscan > > shows them all as being ACTIVE. Not sure why. > > Hmmm, that''s wacky. There could be something funny going on that''s confusing > Xend about what''s mounted (maybe something doesn''t parse properly...). > > Could you please post the output of "mount" on the system where this fails so > we can try to deduce what''s upsetting Xend.Sure, # mount /dev/sda3 on / type ext3 (rw) none on /proc type proc (rw) /dev/sda1 on /boot type ext3 (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) /dev/vg0/home on /home type ext3 (rw) none on /dev/shm type tmpfs (rw) /dev/sda2 on /var type ext3 (rw) /dev/sdb1 on /backup type ext3 (rw) #ls -la /dev/vg0 crw-r----- 1 root disk 109, 0 Nov 10 16:51 group brw-rw---- 1 root disk 58, 0 Nov 10 16:51 home brw-rw---- 1 root disk 58, 1 Nov 10 16:51 ksinfinity brw-rw---- 1 root disk 58, 8 Nov 10 16:51 ksinfinity_swap brw-rw---- 1 root disk 58, 2 Nov 10 16:51 sharedhost brw-rw---- 1 root disk 58, 9 Nov 10 16:51 sharedhost_swap brw-rw---- 1 root disk 58, 3 Nov 10 16:51 vserv1 brw-rw---- 1 root disk 58, 10 Nov 10 16:51 vserv1_swap brw-rw---- 1 root disk 58, 4 Nov 10 16:51 vserv2 brw-rw---- 1 root disk 58, 11 Nov 10 16:51 vserv2_swap brw-rw---- 1 root disk 58, 5 Nov 10 16:51 vserv3 brw-rw---- 1 root disk 58, 12 Nov 10 16:51 vserv3_swap brw-rw---- 1 root disk 58, 6 Nov 10 16:51 vserv4 brw-rw---- 1 root disk 58, 13 Nov 10 16:51 vserv4_swap brw-rw---- 1 root disk 58, 7 Nov 10 16:51 vserv5 brw-rw---- 1 root disk 58, 14 Nov 10 16:51 vserv5_swap # rpm -q lvm lvm-1.0.3-15 -Phil Carinhas -- .--------------------------------------------------------. | Dr. Philip A. Carinhas | pac(at)fortuitous.com | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Networking & Security | Tel : 1-512-351-7783 | `--------------------------------------------------------'' ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader''s Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Wed, Nov 10, 2004 at 11:18:27PM +0000, Mark A. Williamson wrote:> > It''s not mounted or in use anywhere. for some reason lvscan > > shows them all as being ACTIVE. Not sure why. > > Hmmm, that''s wacky. There could be something funny going on that''s confusing > Xend about what''s mounted (maybe something doesn''t parse properly...). > > Could you please post the output of "mount" on the system where this fails so > we can try to deduce what''s upsetting Xend.Mark, I realize that the ACTIVE flag from lvscan is not relevant. I looked at /proc/lvm/global and it shows all unmounted volumes as closed: LVs: [AWDL ] home 8388608 /2048 1x open [AWDL ] ksinfinity 6291456 /1536 close [AWDL ] sharedhost 20971520 /5120 close [AWDL ] vserv1 3145728 /768 close [AWDL ] vserv2 3145728 /768 close [AWDL ] vserv3 3145728 /768 close [AWDL ] vserv4 3145728 /768 close [AWDL ] vserv5 3145728 /768 close [AWDL ] ksinfinity_swap 524288 /128 close [AWDL ] sharedhost_swap 1048576 /256 close [AWDL ] vserv1_swap 262144 /64 close [AWDL ] vserv2_swap 262144 /64 close [AWDL ] vserv3_swap 262144 /64 close [AWDL ] vserv4_swap 262144 /64 close [AWDL ] vserv5_swap 262144 /64 close Indeed, home is the only mounted volume. Thanks for pointing that out. -Phil Carinhas -- .--------------------------------------------------------. | Dr. Philip A. Carinhas | pac(at)fortuitous.com | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Networking & Security | Tel : 1-512-351-7783 | `--------------------------------------------------------'' ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader''s Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
I tried out the parsing code against your mount output and it looks like it should work OK. *scratches head* I''m guessing lvscan only shows LVs as inactive if it finds them on an unactivated PV somewhere... The LVM documentation is a bit sparse in this area, I think. It seems somewhat bizarre that you saw the error you did - are things still broken with LVM? Cheers, Mark On Thursday 11 Nov 2004 15:04, Phil Carinhas wrote:> On Wed, Nov 10, 2004 at 11:18:27PM +0000, Mark A. Williamson wrote: > > > It''s not mounted or in use anywhere. for some reason lvscan > > > shows them all as being ACTIVE. Not sure why. > > > > Hmmm, that''s wacky. There could be something funny going on that''s > > confusing Xend about what''s mounted (maybe something doesn''t parse > > properly...). > > > > Could you please post the output of "mount" on the system where this > > fails so we can try to deduce what''s upsetting Xend. > > Mark, > I realize that the ACTIVE flag from lvscan is not relevant. > I looked at /proc/lvm/global and it shows all unmounted volumes > as closed: > > LVs: [AWDL ] home 8388608 /2048 1x open > [AWDL ] ksinfinity 6291456 /1536 close > [AWDL ] sharedhost 20971520 /5120 close > [AWDL ] vserv1 3145728 /768 close > [AWDL ] vserv2 3145728 /768 close > [AWDL ] vserv3 3145728 /768 close > [AWDL ] vserv4 3145728 /768 close > [AWDL ] vserv5 3145728 /768 close > [AWDL ] ksinfinity_swap 524288 /128 close > [AWDL ] sharedhost_swap 1048576 /256 close > [AWDL ] vserv1_swap 262144 /64 close > [AWDL ] vserv2_swap 262144 /64 close > [AWDL ] vserv3_swap 262144 /64 close > [AWDL ] vserv4_swap 262144 /64 close > [AWDL ] vserv5_swap 262144 /64 close > > Indeed, home is the only mounted volume. Thanks for pointing > that out. > > -Phil Carinhas > -- > .--------------------------------------------------------. > > | Dr. Philip A. Carinhas | pac(at)fortuitous.com | > | Fortuitous Technologies Inc. | http://fortuitous.com | > | Linux Networking & Security | Tel : 1-512-351-7783 | > > `--------------------------------------------------------'' > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader''s Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader''s Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thu, Nov 11, 2004 at 04:21:37PM +0000, Mark A. Williamson wrote:> How bizarre *shrug* :-) > > Great! Let us know if there''s any more bother. Did your other problem with > the console go away? > > Cheers, > Mark > > On Thursday 11 Nov 2004 16:11, Phil Carinhas wrote: > > On Thu, Nov 11, 2004 at 03:20:44PM +0000, Mark A. Williamson wrote: > > > > Mark, I was able to get LVM to work! I don''t know what I did differently, > > but when it accesses the filesystem, /proc/lvm/global doesn''t show > > it being active. Here is a sample of the output:Mark, yes, I was able to solve the other console problem. Apparently the fedora core2 rootfs was the problem. ttylinux example and my debian rootfs work perfectly. Yesterday, nothing was working, today, everything is:) Thanks again, -Phil Carinhas -- .--------------------------------------------------------. | Dr. Philip A. Carinhas | pac(at)fortuitous.com | | Fortuitous Technologies Inc. | http://fortuitous.com | | Linux Networking & Security | Tel : 1-512-351-7783 | `--------------------------------------------------------'' ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader''s Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel