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

Re: [Xen-users] xen3.0 and suse10.0 fstab



on Tue, Dec 27, 2005 at 06:02:46PM +0000, Peter Hollands 
(peter.hollands@xxxxxxxxxx) wrote:
> Ed
> 
> On Monday 26 December 2005 11:56, xen-users-request@xxxxxxxxxxxxxxxxxxx wrote:
> > mount -o loop /var/tmp/guest1 /var/tmp/dirinstall
> >
> > and get an error that says loop not recognized and fstab error.
> >
> > may i have some help with this one?
> 
> Should'nt you by mounting a loopback device ? (as oppose to a directory / 
> file).
> i.e. something like
> mount -o loop /dev/loop4 /var/tmp/dirinstall 

That's typical if you've used losetup to configure a loopback device,
but the syntax OP suggests should work.  It's possible that adding a
filesystem spec might help, though most 'mount's will autodetect a
recognized FS.  Might also help to ensure that the 'loop' module is
loaded:

   modprobe loop && mount -o loop -t <filesystem> <image> <mountpoint>


Alternatively, losetup should work, or fail similarly (e.g.:  if there's
no loopback module loaded).  Make sure you're specifying an unused loop
device:

    /sbin/losetup /dev/loop2 <imagefile>
    mount -t <filesystem> /dev/loop2 <mountpoint>


Cheers.

-- 
Karsten M. Self <karsten@xxxxxxxxxxxxx>
XenSource, Inc.
2300 Geng Road #250                                +1 650.798.5900 x259
Palo Alto, CA 94303                                +1 650.493.1579 fax

_______________________________________________
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®.