[Users] ISO datastore, permission denied
Sander Grendelman
sander at grendelman.com
Mon Dec 23 11:07:47 EST 2013
On Mon, Dec 23, 2013 at 4:56 PM, Blaster <Blaster at 556nato.com> wrote:
> I have an ISO datastore. In that datastore I'm using symlinks to point
> to my ISOs on an NFS share. All was working great.
>
> Along comes Black Friday and a shiny new 3TB hard drive. Out goes the 5
> yo old 500gb drive with EXT 4 and in comes new 3TB drive with BTRFS.
>
> I installed new drive, shutdown VMs and use tar c | tar x to move data
> over. unmount old, remount new. Fire up VMs, all us well. Create new
> VM, attach boot ISO and I get:
> VM Gremlin is down. Exit message: internal error process exited while
> connecting to monitor: qemu-system-x86_64: -drive
> file=/rhev/data-center/mnt/_disk01_iso/4c70693a-d228-453e-b40d-93a214ec524b/images/11111111-1111-1111-1111-111111111111/Fedora-Live-Desktop-x86_64-20-1.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial=:
> could not open disk image
> /rhev/data-center/mnt/_disk01_iso/4c70693a-d228-453e-b40d-93a214ec524b/images/11111111-1111-1111-1111-111111111111/Fedora-Live-Desktop-x86_64-20-1.iso:
> Permission denied .
>
> huh? I search archives and see others have had this error in the
> past...Follow the suggestions...Run the nfstest python script, passes,
> check getsebool shows virt_use_nfs --> on.
>
> Also went through: http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues
>
> My NFS server is Solaris 11.1, ZFS storage.
>
I'm a bit confused now, is the NFS server linux or Solaris? ZFS or BTRFS?
>
> If I copy the ISO directly to the directory it works fine. What am I
> missing?
>
Maybe selinux labeling?
What happens if you (temporarily!) set selinux to permissive with
"setenforce 0"?
Which user owns the file? What are the permissions on the file? And on the
rest of the iso store?
Any logging on the NFS server? Can you mount the ISO store from a different
server?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131223/8ff261d6/attachment.html>
More information about the Users
mailing list