[Lxc-users] [LXC] loop module in ubuntu template

Sujay M sujay.m17 at gmail.com
Thu Jan 10 18:50:51 UTC 2013


Hi Tamas,

Do you mean

mount fstype=xfs -> /mnt/**,


On 11 January 2013 00:11, Papp Tamas <tompos at martos.bme.hu> wrote:

> On 01/10/2013 07:16 PM, Sujay M wrote:
>
>> Hi Tamas,
>>
>> Thanks a lot for the help. You've almost solved my problem, The previous
>> loop error is not there but
>> I'm getting write-protected error when trying to mount
>>
>> root at vm0:/srv# ls -l swift-disk
>> -rw-r--r-- 1 ubuntu ubuntu 1000000000 Jan 10 18:01 swift-disk
>>
>> root at vm0:/srv# mount /mnt/sdb1
>> mount: block device /srv/swift-disk is write-protected, mounting read-only
>> mount: cannot mount block device /dev/loop1 read-only
>>
>>
>> root at vm0:/srv# chmod 777 swift-disk
>>
>> root at vm0:/srv# ls -l swift-disk
>> -rwxrwxrwx 1 ubuntu ubuntu 1000000000 Jan 10 18:01 swift-disk
>>
>> root at vm0:/srv# mount /mnt/sdb1
>> mount: block device /srv/swift-disk is write-protected, mounting read-only
>> mount: cannot mount block device /dev/loop1 read-only
>>
>> /etc/fstab
>> # UNCONFIGURED FSTAB FOR BASE SYSTEM
>> /srv/swift-disk /mnt/sdb1 xfs loop,noatime,nodiratime,**nobarrier,logbufs=8
>> 0 0
>>
>> Please help. Thanks in advance.
>>
>
> Replace the filesystem with xfs in the apparmor profile.
>
> tamas
>
>


-- 
Best Regards,

Sujay M
Final year B.Tech
Computer Engineering
NITK Surathkal

contact: +918971897571
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130111/7f383398/attachment.html>


More information about the lxc-users mailing list