Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to format magneto-optical disk under Solaris 8, Globalstor drive

807559Mar 20 2002
I am trying to solve a problem that was reported from the testing group who is verifying that our software works under Solaris 8, on a SunBlade 1000. We have a small program that runs as root and functions as the optical disk server, and it is unable to initialize (format and label) a new, blank optical disk in a Globalstor drive. The same disk can be initialized by the same program under Solaris 7. With 8, they can mount the drive, read from and write to a disk, but not initialize a new one. I have found the section of code that is reporting the error, and it attempts the following shell commands in this order:

format -f lblNofmt.cmd -d c1t5d0
(lblNofmt.cmd is a small text file consisting of these two lines, not including the close paren:
yes
quit )

If that fails, it tries the next command:
format -f lblfmt.cmd -d c1t5d0
(lblfmt.cmd consists of these two lines, not including close paren:
label
quit )

If that succeeds, it uses the write_vtoc function to apply the new label to the disk. If write_vtoc succeeds, it does the following:
echo yes | newfs -c 32 /dev/rdsk/c1t5d0s2

If any of the above statements fail, the code returns the error that was reported. Unfortunately, we don't have a machine currently set up with Solaris 8 and an optical drive, so I can't step through the code to see which command is actually failing. Any advice would be greatly appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2002
Added on Mar 20 2002
0 comments
196 views