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@vm0:/srv# ls -l swift-disk
> -rw-r--r-- 1 ubuntu ubuntu 1000000000 Jan 10 18:01 swift-disk
>
> root@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@vm0:/srv# chmod 777 swift-disk
>
> root@vm0:/srv# ls -l swift-disk
> -rwxrwxrwx 1 ubuntu ubuntu 1000000000 Jan 10 18:01 swift-disk
>
> root@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


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to