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

[Xen-bugs] [Bug 763] DomU install fails when using an ext3 immutable ISO file



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=763





------- Comment #2 from xenresu@xxxxxxxxx  2006-09-29 07:04 -------
### when the immutable flag is set, the ro option is required
### for the mount command to succeed

+=====+
suse-xen0:/xen # ls -l /xen/*.iso
-rw-r--r-- 1 root root 3749740544 Sep 29 09:45 /xen/OpenSuse.10.1.i386.iso
suse-xen0:/xen # lsattr /xen/*.iso
------------- /xen/OpenSuse.10.1.i386.iso
suse-xen0:/xen # chattr +i /xen/*.iso
suse-xen0:/xen # lsattr /xen/*.iso
----i-------- /xen/OpenSuse.10.1.i386.iso
suse-xen0:/xen # mount -o loop /xen/OpenSuse.10.1.i386.iso /mnt
/xen/OpenSuse.10.1.i386.iso: Permission denied
suse-xen0:/xen # mount -o loop,ro /xen/OpenSuse.10.1.i386.iso /mnt
suse-xen0:/xen # echo $?
0
+=====+

### when the immutable flag is unset, the ro option is not required
### for the mount command to succeed

suse-xen0:/xen # chattr -i /xen/*.iso
suse-xen0:/xen # lsattr /xen/*.iso
------------- /xen/OpenSuse.10.1.i386.iso
suse-xen0:/xen # mount -o loop /xen/OpenSuse.10.1.i386.iso /mnt
suse-xen0:/xen # echo $?
0

+=====+


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


 


Rackspace

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