Requirement for multiple image reproductions of an existing 230MB Re-Writable Magneto-Optical golden master disk image.

I need a verified way to make multiple image reproductions of an existing 230MB Re-Writable Magneto-Optical golden master disk image.  

This Unix based system only has one (1) optical drive and I will need to save this image on the internal HDD and then rebuild this image back onto the blank formatted optical disks as required.

Unix OS --> UNIX_System_V
Version --> 4.0 R40V4.4

The OS is install on a commercial system that is used for industrial applications.

longscubaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

yuzhCommented:
You can simply use "dd" command to create an image of the
optical drive into your HD, when you need to restore, use "dd" again.

man dd
to learn more details.
0
longscubaAuthor Commented:
Here is the problem with using the native unix dd command:

# dd if=/dev/dsk/m187_c0d0s5 of=/home/kermit/easm_004
UX:dd: ERROR: Write error: File too large
32769+0 records in
32768+0 records out

*** Note the Record limit above ***
The image file is constructed per the dd command, but the contents are not a mirror image of the source cartridge.


# ls -alt
total 36580
-rw-rw-rw-   1 root     other    16777216 Apr  4 10:52 easm_004
drwxrwxr-x   2 kermit   cog         1024 Apr  4 10:51 .
-rw-r-----   1 kermit   cog        51658 Nov  8  2005 riv_co_02.WAV
-rw-r-----   1 kermit   cog        78058 Nov  8  2005 riv_co_01.WAV
-rw-r-----   1 kermit   cog        16100 Sep 29  2005 msg_3480.wav
-rw-r-----   1 kermit   cog       480280 May  9  2001 22old.au
-rwxr-xr-x   1 cog      cog          748 Jan 23  2001 .profile
drwxrwxrwx  26 root     root        1024 Jun 22  2000 ..
-rw-------   1 kermit   cog           22 Apr 21  1998 .sh_history
# rm easm_004
# ls -altt
total 1236
drwxrwxr-x   2 kermit   cog         1024 Apr  4 10:52 .
-rw-r-----   1 kermit   cog        51658 Nov  8  2005 riv_co_02.WAV
-rw-r-----   1 kermit   cog        78058 Nov  8  2005 riv_co_01.WAV
-rw-r-----   1 kermit   cog        16100 Sep 29  2005 msg_3480.wav
-rw-r-----   1 kermit   cog       480280 May  9  2001 22old.au
-rwxr-xr-x   1 cog      cog          748 Jan 23  2001 .profile
drwxrwxrwx  26 root     root        1024 Jun 22  2000 ..
-rw-------   1 kermit   cog           22 Apr 21  1998 .sh_history

There is 32K limit on the number of records to be constructed to the of= destination.
0
yuzhCommented:
what size is the optical drive?

dd --  should be able to handle large file!
Can you please chech to make sure /home/kermit to make sure the filesystem has enoug free space for the image.

In case you have enough disk space and you still have trouble with dd, and you have only one filesystem in the optical drive. you can use "cpio" or rsync (3rd part freeware)
to do the job

eg:

cd /optical-mount-point
find . -print | cpio -oacv | (cd /home/kermit/backup ; cpio -icdmuv)

will copy all the files in the optical disk to /home/kermit/backup

or use rsync to do the same thing, have a look at:
http://rsync.samba.org/
for more details.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

longscubaAuthor Commented:
This size of my MO  removable cartridge is 230 Meg.

I can get the "dd" command to build the image file on the HDD if I change the blocksize (bs=18k or bs=1440).

This will allow the dd command to complete, but I am still now sure of the contents on the formatted bland MO disk when I use the "dd" command to restore from the HDD --> MO media.

By the way,  what is the best way to format a blank MO 230 Meg disk on this version of unix?

Please advise.

0
longscubaAuthor Commented:
I still am getting write errors attempt to use the dd command to build the images of the 230 Meg MO drives.

Does not the dd command have to be configured to match the physical characterics of the drive itself?

I use the simple command :
# dd if=/dev/dsk/c0t0d1 of=/home/kermit/disk.img bs=18k

This command completes, but I get write errors stating directory or file does not exists.

The file is created, but it is not the same content as the original drive.

Any help will be appreciated.

The find . -print | cpio version may work, but takes a long time to complete for multiple copies.
0
yuzhCommented:
Do you have enough free disk space under home/kermit
for the image file?  You try to apply the OS patch to your box to see if it can fix the problem.

otherwise, you "cpio" to make the backup, BTW, Why do you need to do multiple copies? It just waste of your disk space and time!


0
longscubaAuthor Commented:
I have only 20% used on the /home partition, so /home/kermit has more than enough space.

The need for multiple copies, is the fact that I support over 500 of these old unix servers spread across the country and I like making 230MO disks of all the current application updates for local on site installations.

I could just ftp the apps, then there is a large training curve for the local techs to get the apps installed correctly.....

I know it's old fashion, but it works.
0
Suhas .QA ManagerCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup Zone:
Accept: yuzh {http:#18855057}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Suhas
Experts Exchange Cleanup Volunteer
0
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.