On Mon, Jul 04, 2016 at 12:39:33PM +0000, Kilian Ries wrote:
> Hi,
> 
> 
> normally i copy my ISO into the /zones/UUID/root directory and start my KVM 
> with the following command:
> 
> 
> ###
> 
> 
> vmadm start UUID order=cd,once=d cdrom=/CentOS.iso,ide
> 
> 
> ###
> 
> 
> 
> Do you know any solution to start the KVM with a ISO from a NFS-share? I 
> tried different approaches but none did work for me:
> 
> 
> 
> 1. Mounting NFS locally and soft-link (ln -s) to /zone/UUID/root
> 
> 
> -> KVM could not starte because of "could not open disk image /CentOS.iso: No 
> such file or directory"
> 
> 
> 
> 2. Mounting NFS locally and hard-link (ln) to /zone/UUID/root
> 
> 
> -> ln: .//CentOS.iso is on a different file system
> 
> 
> 
> 3. Mount NFS directly into /zones/UUID/root
> 
> 
> -> nfs mount: mount: /zones/UUID/root: Device busy
> 
> 
> 
> It would be a big advantage to "load" the iso directly from the NFS (instead 
> of copying it first to the corresponding directory).
> 

Try overmounting it with lofs:

$ apropos lofs
hyprlofs(7fs)            - fast name space virtual file system
lofs(7fs)                - loopback virtual file system


-- 
Oliver PETER       [email protected]       0x456D688F


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to