11 Aralık 2014 Perşembe

Solaris 10 OS'de Non global zone’a DVD-CD mount etmek

Ana Sunucu üzerinde takılı CD-ROM driver'ı nonglobal zone olarak oluşturulmuş sanal sunucunun konfigrasyonuna aşağıdaki şekilde ekleyerek mount etmek mümkün olmakta. tabi bütün işlemler root kullanıcısı ile yapılmak zorunda. 

root@MYGALATA4:~$ zonecfg -z AMGALATA3
zonecfg:AMGALATA3> info
zonename: AMGALATA3
zonepath: /SANAL/AMGALATA3
brand: native
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
net:
        address: 10.20.11.35
        physical: bge2
        defrouter: 10.10.8.1
attr:
        name: image-uuid
        type: string
        value: bd4b5c45-1673-4e8a-bf7b-eeb4599666ef
dataset:
        name: pool_amGALATA3
zonecfg:AMGALATA3> add fs
zonecfg:AMGALATA3:fs> set dir=/cdrom
zonecfg:AMGALATA3:fs> set special=/cdrom
zonecfg:AMGALATA3:fs> set type=lofs
zonecfg:AMGALATA3:fs> add options [ro,nodevices]
zonecfg:AMGALATA3:fs> end
zonecfg:AMGALATA3> commit
zonecfg:AMGALATA3> exit
root@MYGALATA4:~$ zoneadm -z AMGALATA3 reboot
root@MYGALATA4:~$



Kaynakça:
http://docs.oracle.com/en


Hiç yorum yok: