Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th October 2006, 04:29
etumbaga etumbaga is offline
Junior Member
 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow USB filesystem type problem

I'm trying to install a 2Gb USB storage device to one of my guest domains. I'm using a Xen config with kernel "vmlinuz-2.6.16.xenu". Now I mount the USB device from the host, the devices is seen as:

"/dev/sdb"

I attach the said device to the guest host (say Domain ID 24), using the "xm block-attach" method:

sudo xm block-attach 24 phy:/dev/sdb sdb rw

This works fine, I can see that the device has been attached to the guest domain:

"/dev/sdb"


To access the device, I try to mount it as a folder, /mnt/usb:


mount /dev/sdb /mnt/usb

This comes up with the error:


mount: Unknown filesystem type 'vfat'


Tried using the "-t" option, to declare the filesystem (I know that the filesystem of my USB device is VFAT).


mount -t vfat /dev/sdb /mnt/usb


Got the same result. I tried mounting the same USB device to the host, using the same mount line


mount /dev/sdb /mnt/usb


Worked just fine. The device was succesfully mounted. My host OS is Ubuntu, if it matters.


My question is, is the "vfat" filesystem is supported by the VM guest kernel "vmlinuz-2.6.16.xenu"? If not, is there a way to "install" or "define" the said filesystem in the guest VM? I need to be able to access my USB storage device in my guest domain/VM.

Hoping someone could help me out. Thanks in advance.



Edwin
Reply With Quote
Sponsored Links
  #2  
Old 20th October 2006, 16:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

I think your domU kernel doesn't support vfat. You have to compile a new domU kernel that supports it (or format your USB stick with a filesystem that's supported by your domU kernel).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 26th July 2007, 19:50
narayanan narayanan is offline
Junior Member
 
Join Date: Jul 2007
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I have a similar problem. I have a USB drive formatted using fat32. I checked the kernel configuration. I have built VFAT fs support as a module. Should I have enabled built in support ?
Reply With Quote
  #4  
Old 27th July 2007, 19:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

Did you load the module?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
problem with named.conf.master tetsuo44 Installation/Configuration 12 2nd August 2006 15:17
view webalizer stats kuyaedz General 22 12th March 2006 15:45
Oh crap... Corrupted install TheMJ Installation/Configuration 4 17th February 2006 18:59


All times are GMT +2. The time now is 10:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.