WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] can't mount vfat fs on lvm created by winxp guest

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] can't mount vfat fs on lvm created by winxp guest
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Sat, 28 Apr 2007 11:34:55 +0100
Delivery-date: Sat, 28 Apr 2007 03:31:38 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=A5g9BsUrVtSjhH5C8CSW1Am2iHjCW6A3tpK3iM57XhmRAm3NZIVM9T8hV7igKjFwMlBFF30YIYXjUWpGa26od+RiyWXBbGgHU4NHzW61C8aAlRwbG0D5EBisA+H0KC4iqda6aOZ2D94ZynZ9N/rUW637VtyJSqjDcb7a+LDt0V0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=GtDv2v/pdv7LjZ365K7/D1fs3yMiywEuePyaobS4fyVnAsvEEKlwMnWaimrUH0ysZ/DclFFoQXl49eOYSmR0blQI/y+vJPwZcJXLXOd1hSQqrFcLAXnPvJeoSI+DFgDEQf0bkkdW+Eap5wQ6LWoWIP1XUAAIcBFv9enqvbO+xrU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070428094902.GA7201@gentoo>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20070427210239.GA21547@gentoo> <1177737004.27115.155.camel@xxxxxxxxxxxxxxxxxxxxx> <20070428094902.GA7201@gentoo>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Yann Boutin wrote:
On 13:10 Sat 28 Apr     , Tim Post wrote:
On Fri, 2007-04-27 at 23:02 +0200, Yann Boutin wrote:
Greetings, I've had no success with mounting a vfat file system created by a Windows XP guest on a lvm volume.

# mount -t vfat /dev/vg1/win1 /mnt/
This is also a common problem when sharing pen drives and similar
between Windows and GNU/Linux (or any other odd fat bd)

try mount -t vfat -o umask=000 /dev/vg1/win1 /mnt

If you go to the mount man page, it explains some things that can
'break' vfat, such as everything by default being mounted with the umask
of the current process.

see man 8 mount and look for "Mount options for fat"

You may need to play with this a bit. The above gets my pen drive
mounted correctly, may work for you.

This is really a GNU/Linux admin issue, not so much Xen but I figured
I'd chirp in anyway since it is kinda cryptic.

Ok I've tryed all things working for usb pen problems with no effect. So
I investigate further:

creating a new volume
# lvcreate -n win3 -L6G vg1

making a vfat fs on it
# mkfs.vfat /dev/vg1/win3

mounting it (successfully)
# mount -v -t vfat /dev/vg1/win3 /mnt/
/dev/mapper/vg1-win3 on /mnt type vfat (rw)

launching Windows XP guest installation
# xm create /etc/xen/winxp3.hvm

At this point Windows Xp installer can't detect the partition type and
report it as 'unknown'

So Ok, let Windows installer (re)format it with fat32 fs and go ahead
to finish installation. When installation ended I stop Windows
Guest properly and try again to mount the guest vfat fs and, the same error 
appends ...

# mount -t vfat /dev/vg1/win3 /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/vg1/win3,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


Don't you thing the problem comes from the manner Windows XP guest handles lvm 
volumes rather than from any missing codepage or file mode option when mounting 
?

Anyone can report succes with mounting 'on lvm' vfat guest filesystem ?

Thanks !

        Yann.
Windows XP created it? Are you *sure* it's a FAT32 or vfat compatible partition type, and not NTFS?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users