| Home
On-line Resources and Information
SABO
Procedures and Policies
How and where to get help
Maintenance Schedule
EECN Staff
EECN Labs
EECN Support Tools
|
Burn data to DVD/CD drives on Sun Workstations
This assumes that the proper "sudo" permissions have been issued
in order to make this work.
Here are some instructions for recording DVDs and CDs on cebench1 and
eglsun4. You'll be able to record DVD-R, DVD-RW, CD-R, and CD-RW
media.
Note: The "dev=0,1,0" applies only to eglsun5. To see what devices
are available, enter the following command "sudo dvdrecord -scanbus"
Recording DVDs
- Create image file
mkisofs -R -J -split-output -o destination_file source_directory
For example, you could create an image file in /usr/local/burn-tmp
comprised of all of the files in /local/data/azores by doing
mkisofs -R -J -split-output -o /usr/local/burn-tmp/azores /local/data/azores
The source directory should be 4.7 GB or less in size. FYI, mkisofs will
split the destination file in to 1 GB pieces so that they are more
manageable. Make sure that the destination file is on a local filesystem,
not NFS (such as /local/anything).
- Stop volume management
sudo /etc/init.d/volmgt stop
- Record DVD
sudo dvdrecord dev=0,1,0 mkisofs_file
dvdrecord needs to run as a privileged user because it directly access
the hardware. Accordingly, you'll need to precede the command with
'sudo'. sudo will prompt for your password. From the example above:
sudo dvdrecord dev=0,1,0 /usr/local/burn-tmp/azores_*
dvdrecord will take a minute or so to start. The recording progress will
be shown on the command line.
- Start volume management
sudo /etc/init.d/volmgt start
Erasing DVD-RWs
Recording CDs
- Create image file
mkisofs -R -J -o destination_file source_directory
This step is very similar to creating a DVD image, except the
-split-output option is not needed. The source directory should be 700 MB
or less. An example:
mkisofs -R -J -o /usr/local/burn-tmp/mymail.iso ~/imail
You can add a volume title by specifying the -V option:
mkisofs -R -J -V "My Mail" -o /usr/local/burn-tmp/mymail.iso ~/imail
- Stop volume management
sudo /etc/init.d/volmgt stop
- Record CD
sudo cdrecord dev=0,1,0 mkisofs file
This is also similar to the DVD. Continuing the example:
sudo cdrecord dev=0,1,0 /usr/local/burn-tmp/mymail.iso
- Start volume management
sudo /etc/init.d/volmgt start
Erasing CD-RWs
Thanks to Josh for giving me his instructions to edit up.
|