Mr. Teo En Ming (Zhang Enming)
2009-Nov-18 05:16 UTC
[Xen-users] Accessing UFS2 Filesystems in Logical Volume Disks of Virtual Machines
On Wed, Nov 18, 2009 at 1:01 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@gmail.com> wrote:> On Wed, Nov 18, 2009 at 12:38 AM, Mr. Teo En Ming (Zhang Enming) > <space.time.universe@gmail.com> 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@gmail.com Mobile Phone (Starhub Prepaid): +65-8369-2618 Street: Bedok Reservoir Road Country: Singapore _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users