Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Users

Error during guided partitioning

 

 

Xen users RSS feed   Index | Next | Previous | View Threaded


ryanchan404 at gmail

Aug 25, 2010, 8:36 AM

Post #1 of 4 (505 views)
Permalink
Error during guided partitioning

I am installing Ubuntu 10.04 in CentOS 5.4 (dom0), everything ok until
it tell me to create a partition.

(I am using LVM)


Error message:


Error informing the kernel about modifications to partition
/dev/xvda1p1 -- Invalid argument. This means Linux won't know about
any changes you made to /dev/xvda1p1 until you reboot -- so you
shouldn't mount it or use it in any way before rebooting.


Any hints?

_______________________________________________
Xen-users mailing list
Xen-users [at] lists
http://lists.xensource.com/xen-users


tlviewer at yahoo

Aug 25, 2010, 3:14 PM

Post #2 of 4 (480 views)
Permalink
Re: Error during guided partitioning [In reply to]

--- On Wed, 8/25/10, Ryan Chan <ryanchan404 [at] gmail> wrote:

> From: Ryan Chan <ryanchan404 [at] gmail>
> Subject: [Xen-users] Error during guided partitioning
> To: xen-users [at] lists
> Date: Wednesday, August 25, 2010, 8:36 AM
> I am installing Ubuntu 10.04 in
> CentOS 5.4 (dom0), everything ok until
> it tell me to create a partition.
>
> (I am using LVM)
>
>
> Error message:
>
>
> Error informing the kernel about modifications to
> partition
> /dev/xvda1p1 -- Invalid argument.  This means Linux
> won't know about
> any changes you made to /dev/xvda1p1 until you reboot --
> so you
> shouldn't mount it or use it in any way before rebooting.
>
>

Ext4 filesystem is default in 10.04. You will have some trouble with pygrub from C5.4 xen.

Change all lucid filesystems to Ext3 are see what happens.

--
Mark




_______________________________________________
Xen-users mailing list
Xen-users [at] lists
http://lists.xensource.com/xen-users


tlviewer at yahoo

Aug 25, 2010, 3:51 PM

Post #3 of 4 (478 views)
Permalink
Re: Error during guided partitioning [In reply to]

for completeness see below
--- On Wed, 8/25/10, Mark Pryor <tlviewer [at] yahoo> wrote:

> From: Mark Pryor <tlviewer [at] yahoo>
> Subject: Re: [Xen-users] Error during guided partitioning
> To: xen-users [at] lists
> Date: Wednesday, August 25, 2010, 3:14 PM
>
>
> --- On Wed, 8/25/10, Ryan Chan <ryanchan404 [at] gmail>
> wrote:
>
> > From: Ryan Chan <ryanchan404 [at] gmail>
> > Subject: [Xen-users] Error during guided partitioning
> > To: xen-users [at] lists
> > Date: Wednesday, August 25, 2010, 8:36 AM
> > I am installing Ubuntu 10.04 in
> > CentOS 5.4 (dom0), everything ok until
> > it tell me to create a partition.
> >
> > (I am using LVM)
> >
> >
> > Error message:
> >
> >
> >  Error informing the kernel about modifications
> to
> > partition
> >  /dev/xvda1p1 -- Invalid argument.  This means
> Linux
> > won't know about
> >  any changes you made to /dev/xvda1p1 until you
> reboot --
> > so you
> >  shouldn't mount it or use it in any way before
> rebooting.
> >
> >
>
> Ext4 filesystem is default in 10.04. You will have some
> trouble with pygrub from C5.4 xen.
>
> Change all lucid filesystems to Ext3 are see what happens.
>

In your 5.4 dom0, do
#cat /proc/filesystems | grep -i ext

odds are ext4 is absent. Even if you have a custom kernel which supports ext4, there is still the question of pygrub ext4 support.

Before posting I checked the gitco xen 3.4.2 libs
pygrub ext4 support is provided by
/usr/lib64/libfsimage.so.1.0.0

------------ snip ----------
# rpm -ql xen-libs | grep -i libfsimage
/usr/lib64/libfsimage.so.1.0
/usr/lib64/libfsimage.so.1.0.0
---------------- cut ---------

The only rough way to tell if there is ext4 support in this lib is by size. In 3.4.2 the size is

# ls -al /usr/lib64/libfsimage.so.1.0.0
-rwxr-xr-x 1 root root 12448 Nov 11 2009 /usr/lib64/libfsimage.so.1.0.0

suse 11.3 xen 4.0 does have ext4 support in pygrub there the size is 14k+

I have pointed 3.4.2 pygrub at an ext4 /boot and it fails.

--
Mark





_______________________________________________
Xen-users mailing list
Xen-users [at] lists
http://lists.xensource.com/xen-users


fajar at fajar

Aug 25, 2010, 5:08 PM

Post #4 of 4 (482 views)
Permalink
Re: Error during guided partitioning [In reply to]

On Wed, Aug 25, 2010 at 10:36 PM, Ryan Chan <ryanchan404 [at] gmail> wrote:
> I am installing Ubuntu 10.04 in CentOS 5.4 (dom0), everything ok until
> it tell me to create a partition.
>
> (I am using LVM)
>
>
> Error message:
>
>
>  Error informing the kernel about modifications to partition
>  /dev/xvda1p1 -- Invalid argument.  This means Linux won't know about
>  any changes you made to /dev/xvda1p1 until you reboot -- so you
>  shouldn't mount it or use it in any way before rebooting.

Looks like you're mapping the LV as xvda1. Don't do that if you're
using OS installer. Map it as xvda instead.

You should only map block devices as (xv/s/h)da1 if you're using tools
like debootstrap/yum or doing manual copy from an existing system.

Also if you want to use ext4 as "/", don't forget to have a separate
/boot with ext3 since like Mark said, by default Centos' pygrub
doesn't support ext4.

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users [at] lists
http://lists.xensource.com/xen-users

Xen users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.