<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋 COLOR: #000000; FONT-SIZE: 10.5pt; 20307: 
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19298"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>the 'file' and 'vfs-type' commands <FONT 
size=2>returned </FONT>"data" and empty string,</DIV>
<DIV>and 
"virt-filesystems --all --long -a XXX"  <FONT 
size=2>returned </FONT>:</DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
  <DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffff">Name      Type        VFS      Label  MBR  Size        Parent</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffff">/dev/sda  filesystem  unknown  -      -    8589901824  -</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffff">/dev/sda  device      -        -      -    8589901824  -</SPAN></DIV></DIV></BLOCKQUOTE>
<DIV> > - You don't have ntfs-3g installed</DIV>
<DIV>>  - /dev/sda isn't a filesystem (maybe /dev/sda1?)</DIV>
<DIV>>  - The filesystem type really is some unknown new thing.</DIV>
<DIV> </DIV>
<DIV>the windows vms are created by vsphere-client or XenCenter using 
vm-template, </DIV>
<DIV>the format of all disks is NTFS.</DIV>
<DIV> </DIV>
<DIV>Thanks!</DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>周涛</SPAN></DIV>
<DIV> </DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV 
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:rjones@redhat.com">Richard W.M. 
Jones</A></DIV>
<DIV><B>Date:</B> 2012-09-07 16:16</DIV>
<DIV><B>To:</B> <A href="mailto:tao.zhou@neusoft.com">周涛</A></DIV>
<DIV><B>CC:</B> <A href="mailto:libguestfs@redhat.com">libguestfs</A></DIV>
<DIV><B>Subject:</B> Re: mount device of 'unknow' filesystem 
type</DIV></DIV></DIV>
<DIV>
<DIV>On Fri, Sep 07, 2012 at 01:04:00PM +0800, 周涛 wrote:</DIV>
<DIV>> hi all!</DIV>
<DIV>> </DIV>
<DIV>> some windows vm's filesystem type is unknown(/dev/sda: unknown), </DIV>
<DIV>> and 'mount' command leads to: </DIV>
<DIV>> 'libguestfs: error: mount: /dev/sda on / (options: ''): mount: you must specify the filesystem type '</DIV>
<DIV>> if i don't know the type, whether i could mount the device?</DIV>
<DIV> </DIV>
<DIV>There are lots of possible causes for this:</DIV>
<DIV> </DIV>
<DIV> - You don't have ntfs-3g installed</DIV>
<DIV> </DIV>
<DIV> - /dev/sda isn't a filesystem (maybe /dev/sda1?)</DIV>
<DIV> </DIV>
<DIV> - The filesystem type really is some unknown new thing.</DIV>
<DIV> </DIV>
<DIV>(The last one is least likely)</DIV>
<DIV> </DIV>
<DIV>Try running the 'file' or 'vfs-type' command on the filesystem, or run</DIV>
<DIV>'virt-filesystems --all --long' on the disk and see what it says.</DIV>
<DIV> </DIV>
<DIV>Rich.</DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV>Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones</DIV>
<DIV>New in Fedora 11: Fedora Windows cross-compiler. Compile Windows</DIV>
<DIV>programs, test, and build Windows installers. Over 70 libraries supprt'd</DIV>
<DIV>http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw</DIV></DIV><p>---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</p></BODY></HTML>