[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Accessing UFS2 Filesystems in Logical Volume Disks of Virtual Machines


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
  • Date: Wed, 18 Nov 2009 13:16:08 +0800
  • Cc: space.time.universe@xxxxxxxxx
  • Delivery-date: Tue, 17 Nov 2009 21:16:55 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=q/PaBXAx2UDpIRMSWWkp1TK4+aA3w3Px9tlRu3MWeE5TDtKWWIE1JZj0LWkY+/bkhd svWBEUikuosi0CTpDorvWaMhIhL4d9dtmoG8HA7HHpTsZj6Ie3GsAeHzslFEQphOx9pM O1yHhPNiGY0a4nTW5Bt6zUoL/j3Hs/4iHCXOY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Nov 18, 2009 at 1:01 AM, Mr. Teo En Ming (Zhang Enming)
<space.time.universe@xxxxxxxxx> wrote:
> On Wed, Nov 18, 2009 at 12:38 AM, Mr. Teo En Ming (Zhang Enming)
> <space.time.universe@xxxxxxxxx> wrote:
>> Hi All,
>>
>> I have a logical volume containing a FreeBSD 8.0 virtual machine. The
>> virtual harddisk for the FreeBSD UNIX VM contains one slice. And this
>> slice contains various UFS2 partitions.
>>
>> When I used kpartx to add mappings, I can only see the slice but not
>> the partitions within the slice.
>>
>> How can I have access to the partitions within the slice?
>>
>> Thank you.
>>
>
> Hi,
>
> The solution that I found is for FreeBSD directly installed on bare
> metal machine. Please read the following discussions.
>
> http://www.linuxquestions.org/questions/bsd-17/cannot-mount-freebsd-ufs-from-linux-191184/
>
> But my FreeBSD was installed as a virtual machine in a logical volume
> virtual harddisk.
>
>

Hi All,

I can only mount the first BSD partition "a" (root / filesystem) in
linux. All the rest of the partitions (b for swap, c represents the
entire disk, d for /var, e for /tmp, and f for /var) cannot be mounted
at all. I want to access /var and /usr as well. All of these
partitions (a to f) are inside the FreeBSD slice
/dev/mapper/virtualmachines-freebsd1. virtualmachines-freebsd1 is akin
to /dev/sda1.



--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
My Secondary Blog: http://enmingteo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe@xxxxxxxxx
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Road
Country: Singapore

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.