DVDRom Drive

Status
Not open for further replies.

mirdragon

Dabbler
Joined
Feb 15, 2014
Messages
23
Not sure if posted in correct section, but anyone offer any advice on mounting a dvdrom within freenas to read data from the disc.

This what I have tried so far using the shell
edit /etc/devfs.conf

uncommented the following line and saved the file
#link cd0 dvd

edit /edit/fstab

added the following line and saved this, but on reboot it is removed (also tried with udf instead of iso9660)
/dev/cd0 /media/cdrom0 iso9660 ro,user,noauto 0 0
i then entered 'kldstat' which shows udf.ko installed, which should allow the reading of optical media.
Id Refs Address Size Name
1 79 0xffffffff80200000 14d7000 kernel
2 1 0xffffffff8199b000 1781de ispfw.ko
3 1 0xffffffff81c12000 485f geom_stripe.ko
4 1 0xffffffff81c17000 10481 geom_raid3.ko
5 1 0xffffffff81c28000 102dd geom_raid5.ko
6 1 0xffffffff81c39000 57fe geom_gate.ko
7 1 0xffffffff81c3f000 49b4 geom_multipath.ko
8 1 0xffffffff81c44000 b12 dtraceall.ko
9 1 0xffffffff81c45000 4ea5 profile.ko
10 3 0xffffffff81c4a000 356b cyclic.ko
11 10 0xffffffff81c4e000 3448b dtrace.ko
12 1 0xffffffff81c83000 fef5 systrace_freebsd32.ko
13 1 0xffffffff81c93000 10bd9 systrace.ko
14 1 0xffffffff81ca4000 4a9b sdt.ko
15 1 0xffffffff81ca9000 48e9 lockstat.ko
16 1 0xffffffff81cae000 b56d fasttrap.ko
17 1 0xffffffff81cba000 6661 fbt.ko
18 1 0xffffffff81cc1000 556e dtnfscl.ko
19 1 0xffffffff81cc7000 4575 dtmalloc.ko
20 1 0xffffffff81ccc000 87a6 ipmi.ko
21 1 0xffffffff81cd5000 3321a if_cxgbe.ko
22 2 0xffffffff81d09000 2bb1 vboxnetflt.ko
23 2 0xffffffff81d0c000 46f6c vboxdrv.ko
24 1 0xffffffff81d53000 4472 ng_ether.ko
25 1 0xffffffff81d58000 400a vboxnetadp.ko
26 1 0xffffffff81d5d000 8e37 udf.ko
the command 'camcontrol devlist' reports
<WDC WD30EFRX-68EUZN0 80.00A80> at scbus0 target 0 lun 0 (ada0,pass0)
<WDC WD30EFRX-68EUZN0 80.00A80> at scbus1 target 0 lun 0 (ada1,pass1)
<WDC WD20EARS-00MVWB0 51.0AB51> at scbus2 target 0 lun 0 (ada2,pass2)
<WDC WD20EARS-00MVWB0 51.0AB51> at scbus3 target 0 lun 0 (ada3,pass3)
<ST3320620AS 3.AAE> at scbus4 target 0 lun 0 (ada4,pass4)
<HL-DT-ST BDDVDRW GGC-H20L 1.03> at scbus5 target 0 lun 0 (cd0,pass5)
<Kingston DataTraveler 2.0 1.00> at scbus7 target 0 lun 0 (da0,pass6)
entering 'file -s /dev/cd0' displays
/dev/cd0: # ISO 9660 CD-ROM filesystem data 'GRMCHPXFRER_EN_DVD ' (bootable)
entering 'ls -al /dev/cd*' displays
crw-r----- 1 root operator 0x60 Jul 14 21:34 /dev/cd0
if i then attempt to mount the drive with the following

mount -t cd9660 /dev/cd0 /media/dvdrom it looks as though it has mounted, but when you look at the folder there is a readme.txt, which when you open it, it shows the following
This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification.
so tried the following without much success
mount -t iso13446 /dev/cd0 /media/dvdrom
mount: /dev/cd0: Operation not supported by device

mount -t udf /dev/cd0 /media/dvdrom
mount_udf: /dev/cd0: Invalid argument

mount_udf /dev/cd0 /media/dvdrom
mount_udf: /dev/cd0: Invalid argument

mount /dev/cd0 /media/dvdrom
mount: /dev/cd0: Invalid argument
 
D

dlavigne

Guest
Is this an encrypted Blueray disc? Or did you create the disk yourself (if so, using what operating system)?
 

mirdragon

Dabbler
Joined
Feb 15, 2014
Messages
23
No its an official Windows 7 64bit Retail Installation DVD

I want to see if can get the drive mounted and read, so if I manage to install Win7 within the VB environment (without it constantly failing during the install using an iso image) I want to see if this can then pick up the drive for use. If it doesn't I need to look at other options (but don't wish to have to rebuild server to a different operating system)
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
FreeNAS may not have the required dependencies to mount disks locally. Basically the thumbrule "if the WebGUI can't do it, it may not be supported" is worth mentioning here. Since you can't mount CD-ROM drives from the WebGUI I wouldn't necessarily expect this to work. I'd say that 99%+ of us don't even have a CD-ROM drive attached to the system (no iXsystems FreeNAS/TrueNAS hardware has CD-ROMs built-in) so I would be pleasantly surprised if it works. ;)
 
Last edited:
D

dlavigne

Guest
And to add to cyberjock's response, I would not be surprised if Microsoft adds some sort of DRM to their media which the mount_udf driver does not support.
 

mirdragon

Dabbler
Joined
Feb 15, 2014
Messages
23
this will be a limitation of freenas as the disk is read fine under ubuntu - looks like will probably have to remove freenas and install a different os that can read cd/dvd roms and also work properly with VM's
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
If you just want to install Windows 7 in a VM, just get the ISO (Windows 8 will do that for you, Windows 7 requires third-party tools) and upload it to the server.
 

mirdragon

Dabbler
Joined
Feb 15, 2014
Messages
23
VirtualBox crashes during the install reporting the install has been aborted - if i got this working then i want the operating system I'm using to have full access to all usb ports and the dvd drive (which it looks like VB on Freenas can't do)
 
Status
Not open for further replies.
Top