News

How to write projects to CD/DVD

The utility to write CDs/DVDs for project data is cdwProj.py that can be run on mrt-lx3 as user root.

The program creates the images .iso on disk for the project, but then you have to burn the CD/DVD(s) yourself by using the utility k3b, which is also called from the main program after asking you for the DISPLAY.

mrt-lx3:~# 
mrt-lx3:~# cdwProj.py
Please enter operator initials: mr
Please enter project name: 035-07

Checking the amount of disk space used by project 035-07 ...
7.9G    /mrt-lx3/vis/035-07/

Warning: This is a project so big that it will be saved
         without fits files for the astronomer

PLEASE:  DO NOT BURN THE SECOND COPY FOR IRAM.
         BURN ONLY THE DVD(s) FOR THE ASTRONOMER

...Computer group is being informed by email...
...and  they will backup the project to TAPE...


Checking the amount of disk space without fits files ...
3.7G    /mrt-lx3/vis/035-07/

You have to use --------> one DVD
Press any key to continue: 

Checking the available disk space for project image/s...
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/mrt_vg_a10-lvol2
                       40G   33M   38G   1% /data0

It is Ok!
Press any key to continue: 


The image to disk will be written using:
su 035-07 -c "mkisofs -cache-inodes -l -ldots -o /data0/035-07.iso -r -V 035-07 -v -T /mrt-lx3/vis/035-07 | tee /var/log/cdwProj.035-07"
Press any key to continue: 
......
......
......
Using KONSOLE_10D9EAAB2D000111277000.;1 for  /mrt-lx3/vis/035-07/.kde/share/config/session/konsole_10d9eaab2d000111277183800000141200012_1112777157_352440 (konsole_10d9eaab2d000111277183700000141200011_1112777157_351851)
Using KONSOLE_10D9EAAB2D000111277001.;1 for  /mrt-lx3/vis/035-07/.kde/share/config/session/konsole_10d9eaab2d000111277183700000141200011_1112777157_351851 (konsole_10d9eaab2d000111277183500000141200010_1112777157_351429)
Using KWIN_1196D6E035000110259074008.;1 for  /mrt-lx3/vis/035-07/.kde/share/config/session/kwin_1196d6e035000110259074400000120450001_1112777158_298077 (kwin_1196d6e035000110259074400000120450000_1112777158_298722)
Using 000.DCOPSERVER_MRT_LX7__0;1 for  /mrt-lx3/vis/035-07/.SECsetup/.DCOPserver_mrt-lx7__0 (.DCOPserver_mrt-lx7_:0)
Using XEPHEM000.;1 for  /mrt-lx3/vis/035-07/.xephem/XEphem (xephem)
Using XEPHEM000.;1 for  /mrt-lx3/vis/035-07/.xephem/SEC/XEphem (xephem)
Writing:   Initial Padblock                        Start Block 0
Done with: Initial Padblock                        Block(s)    16
Writing:   Primary Volume Descriptor               Start Block 16
Done with: Primary Volume Descriptor               Block(s)    1
Writing:   End Volume Descriptor                   Start Block 17
Done with: End Volume Descriptor                   Block(s)    1
Writing:   Version block                           Start Block 18
Done with: Version block                           Block(s)    1
Writing:   Path table                              Start Block 19
Done with: Path table                              Block(s)    12
Writing:   Directory tree                          Start Block 31
Done with: Directory tree                          Block(s)    1250
Writing:   Directory tree cleanup                  Start Block 1281
Done with: Directory tree cleanup                  Block(s)    0
Writing:   Extension record                        Start Block 1281
Done with: Extension record                        Block(s)    1
Writing:   The File(s)                             Start Block 1282
  0.26% done, estimate finish Wed Sep  5 11:21:09 2007
  0.53% done, estimate finish Wed Sep  5 11:18:00 2007
  0.79% done, estimate finish Wed Sep  5 11:19:03 2007
  1.06% done, estimate finish Wed Sep  5 11:18:00 2007
  1.32% done, estimate finish Wed Sep  5 11:17:22 2007
......
......
......
 99.52% done, estimate finish Wed Sep  5 11:16:59 2007
 99.79% done, estimate finish Wed Sep  5 11:17:00 2007
Total translation table size: 1671654
Total rockridge attributes bytes: 859020
Total directory bytes: 2547712
Path table size(bytes): 11108
Done with: The File(s)                             Block(s)    1892610
Writing:   Ending Padblock                         Start Block 1893892
Done with: Ending Padblock                         Block(s)    150
Max brk space used 8e4000
1894042 extents written (3699 MB)

Please enter your DISPLAY (to use the current: localhost:18.0 , press enter) :

Now you have to burn the DVD with the image file/s

To do so, the program k3b will be launch, then you have to select in
the menu "Tools" the option "DVD" and then "Burn DVD ISO image...",
browse /data0, and then select the image file/s: "

/data0/035-07.iso to DVD

Press any key to launch the program k3b: 
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Press any key when the copy is finished, in order to delete the disk image/s: 
Removing: 
035-07.iso

Have you make a copy that will be kept at IRAM? yes/no (yes): no

Done!
mrt-lx3:~#  

BackupProjects (last edited 2010-09-27 09:00:44 by localhost)