Sharing DVD Drive in LDoms Environment


 
Thread Tools Search this Thread
Operating Systems Solaris Sharing DVD Drive in LDoms Environment
# 1  
Old 02-13-2009
Sharing DVD Drive in LDoms Environment

I have T5220 server with DVD drive. I have installed few logical domains in the server and wonder how they can share the DVD drive. I have not seen any mention of that in Sun documentation.
# 2  
Old 02-15-2009
read the section on vdc (virtual disk client) from here http://opensolaris.org/os/project/df...0070521-hs.pdf
# 3  
Old 02-16-2009
insert cd

cdrw -l

ldm add-vdsdev options=ro /dev/dsk/c*t*d*s2 cdrom@primary-vds0

ldm add-vdisk cdrom cdrom@primary-vds0 xxxx
# 4  
Old 02-16-2009
Thanks incredible for the document and thanks taran for the procedure. In the document it says that "A future release will provide virtualized access to DVD/CD-ROM in service domains"; but I guess the procedure provided by taran is for LDoms 1.1; please confirm.

When inserting a DVD, I am getting an error repeatedly says "/usr/sbin/vold[3031]: vol_init: already a daemon running" and then "svc.startd[7]: system/filesystem/volfs:default failed repeatedly: transitioned to maintenance (see 'svcs -xv' for details)"! Not sure if this is related to LDoms or not.

Last edited by StarSol; 02-16-2009 at 08:04 PM..
# 5  
Old 02-17-2009
yes for LDOM 1.1

reject dvd

check volfs online
`svcs volfs`

if volfs online then

vi /etc/vold.conf

comment out the line starting with the
following words

use cdrom drive....

svcadm refresh volfs
svcadm restart volfs


insert dvd

cdrw -l

ldm add-vdsdev options=ro /dev/dsk/c*t*d*s2 cdrom@primary-vds0

ldm add-vdisk cdrom cdrom@primary-vds0 xxxx
# 6  
Old 02-17-2009
Thanks taran! I do not have the lines that start with "svcadm" but commented the one that starts with "use cdrom drive", and have not seen the error after that. Can you elaborate on why this resolves the issue? I do not seem to find related information on Sun doc.

One more question about the last two commands for LDoms, does that mean that cannot share the same drive with more than one guest domain? If I want to use the same drive for different guest domains, I have to remove it from a domain (using ldm remove-vdisk cdrom cdrom@primary-vds0 xxxx) and add it to another (ldm add-vdisk cdrom cdrom@primary-vds0 yyyy)?

Last edited by StarSol; 02-17-2009 at 06:37 PM..
# 7  
Old 02-18-2009
man vold.conf
http://docs.sun.com/app/docs/doc/816...&a=view&q=vold


commands not line in the file

svcadm refresh volfs
svcadm restart volfs


-----------------

ldm add-vdsdev options=ro /dev/dsk/c*t*d*s2 cdrom@primary-vds0

ldm add-vdisk cdrom cdrom@primary-vds0 xxxx
ldm add-vdisk cdrom cdrom@primary-vds0 xxxx2
ldm add-vdisk cdrom cdrom@primary-vds0 xxxx3

Last edited by taran; 02-18-2009 at 06:53 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

problem on sharing cdrom drive in AIX with linux

HI i have setuped a nfs between a AIX system and a linux os ,keeping AIX as sever i need to share the CDrom in AIX server with the linux operating system. ie. linux os machine does't have a cdrom . will i be able be share ..i tried a lot but it gives a message which resembles NFS access... (3 Replies)
Discussion started by: raguraja
3 Replies

2. UNIX for Dummies Questions & Answers

Mount the cd/dvd drive

Next, you will need to install the software package that provides DHCP services (a.k.a. the DHCP daemon software). It is located on the installation DVD ISO image for the CentOS Linux Distribution. Associate the (Disc 1 of 2) DVD ISO with the virtual machine's CD/DVD optical drive, create a... (1 Reply)
Discussion started by: beerpong1
1 Replies

3. AIX

Sharing tape drive across systems

Is it possible to NFS mount raw tape drive device file ( /dev/rmt0) across system ? I make a mksysb image on local disk and am trying to copy a mksysb image to a tape, but the tape drive is attached to a server which is at a lower TL I don't think there is way to NFS mount a tape drive in... (3 Replies)
Discussion started by: mk8570
3 Replies

4. Solaris

Sharing devices (tape drive) to local zone

I have to setup a local zone and need to share the fiber attached tape drive that is connected to the global zone. What is the best way to do this? Will sharing the /dev/rmt directory via lofs work? Any help is appreciated! (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

5. AIX

dvd media in drive

Hello, It's some tool in AIX to check what kind of media (DVD+RW DVD-RW DVD-RAM) is inserted in drive? In linux there is very nice tool called dvd+rw-mediainfo. (0 Replies)
Discussion started by: vikus
0 Replies

6. AIX

Sharing a tape drive across the network.

I'm building a new server that doesn't have an internal tape drive. It is running 5.3ML8. I have another server running 5.1ML9 that has an LTO1 drive I'd like to share. Is this possible, or should I look into twin-tailing it, if that's even supported anymore. (0 Replies)
Discussion started by: tommysalami
0 Replies

7. Solaris

how to burn a CD/DVD in solaris8 environment

Hi, Boss Now i update my Ultra 10 with a DVD-R/W. but i do not know how to burn a date DVD or a self-Run iso date. any body can give me some advice? like which burner or software can be used in my system?:o BTW,my O/S is Solaris 8 (8 Replies)
Discussion started by: surainbow
8 Replies

8. UNIX for Dummies Questions & Answers

Sharing a Unix Drive Over The Internet ... but

I don't know if this can be done, otherwise, my project will come to a screeching halt. I have a SCO 5.0.5 machine connected to the internet with a static IP address. I need to be able to share a drive : /shareddrive I need to map to it from a windows machine: hence, what i'd like to... (3 Replies)
Discussion started by: gseyforth
3 Replies

9. UNIX for Advanced & Expert Users

Sharing Tape Drive from other machine

Pls. correct me for the required steps which we need to do to share the Tape drive or whatever drive from other machine in network . 1.related files : /etc/hosts ,/etc/hosts.equiv , ....? 2. we need to insert the user & machine name inside hosts.equiv . (machinname1 username1 ... (1 Reply)
Discussion started by: nikk
1 Replies
Login or Register to Ask a Question

Featured Tech Videos