dont drop it into a subfolger, /zones/id/root is the correct place

Am 04.07.2016 um 16:16 schrieb Kilian Ries:
> lofs isn't working either:
> 
> 
> 
> ###
> 
> 
> mount -F lofs /mnt/iso/ /zones/UUID/root/iso
> 
> 
> mount -v
> 
> 
> /mnt/iso/ on /zones/UUID/root/iso type lofs
> read/write/setuid/devices/dev=8e00006 on Mo. Jul  4 15:48:00 2016
> 
> 
> vmadm start UUID order=cd,once=d
> cdrom=/iso/grml64-full_testing_latest.iso,ide
> 
> 
> Unable to start VM UUID: Command failed: cannot verify fs /mnt/iso: NFS
> mounted file system.
> A local file system must be used.
> cannot verify fs /mnt/iso: NFS mounted file system.
> A local file system must be used.
> zoneadm: zone UUID failed to verify
> 
> ###
> 
> 
> 
> ------------------------------------------------------------------------
> *Von:* InterNetX - Juergen Gotteswinter <[email protected]>
> *Gesendet:* Montag, 4. Juli 2016 15:05
> *An:* [email protected]
> *Betreff:* Re: [smartos-discuss] Start KVM with ISO from NFS Share
>  
> danmn, you where 1min faster. +1 for lofi
>  
> 
>> Oliver Peter <[email protected]> hat am 4. Juli 2016 um 15:03
> geschrieben:
>>
>>
>> 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/26910370-9cc4a721
>> Modify Your Subscription: https://www.listbox.com/member/?&;
>> Powered by Listbox: http://www.listbox.com
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/27541149-b940c87b> |
> Modify <https://www.listbox.com/member/?&;> Your Subscription  [Powered by
> Listbox] <http://www.listbox.com>
> 
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/26910370-9cc4a721> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription     [Powered by Listbox] <http://www.listbox.com>
> 


-------------------------------------------
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