A Jaz disk must be initialized before it can serve as a data disk for archiving ISS data. Much of the initialization is similar to creating a distribution Jaz disk. The disk can be optionally formatted, it must be partitioned, and several directories must be created on it which the archiving scripts and programs expect. Hence the same script which handles backups and distributions also creates data disks, /iss/scripts/jaz_install. Normally though, the script will not be run directly; instead it will be run via the jaz command. (See Jaz Utilities.)
iss1> jaz data |
This will start the script and automatically choose to create a data disk, verified by this prompt:
About to create a data disk... Continue (y/n) [y]? |
Similar to backups and installations (Installation Format Step), the script steps through the formatting, partitioning, and filesystem creation for the Jaz data disk. The output will appear similar to the following example. Note that the low-level format step is skipped, as will virtually always be the case.
Searching for disks... Jaz disk: c0t4d0 (Jaz 2GB) First disk: c0t3d0 (SUN0535) Second disk: c0t1d0 (SUN1.05) Please make sure a Jaz cartridge has been inserted into the drive. Have you loaded a cartridge into the Jaz Drive (y/n)? [y] Creating a data disk. This will completely erase the Jaz disk. Are you sure you want to continue (y/n)? __________________________________________________________________ Formatting destination disk c0t4d0 (Jaz 2GB) Polling disk with Solaris format: selecting c0t4d0 [disk formatted] Current Disk = c0t4d0 <Jaz 2GB cyl 1909 alt 2 hd 64 sec 32> /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@4,0 Vendor: iomega Product: jaz 2GB Revision: E.16 About to low-level format drive Jaz 2GB! Formatting a Jaz disk takes approximately 50 minutes. Low-level formatting is not necessary if the disk is shown above as already formatted. (f)ormat disk, (s)kip the low-level format, or (a)bort? (f/s/a): s Skipping format of c0t4d0 (Jaz 2GB). ___________________________________________________________________ Partitioning destination disk c0t4d0 (Jaz 2GB) Press <enter> to partition the disk. This will erase it... Partitioning c0t4d0... + /usr/sbin/format -s -x /iss/etc/format.dat -t Jaz 2GB -p Jaz 2GB Data c0t4d0 + /bin/egrep . Partition of c0t4d0 (Jaz 2GB) complete. ___________________________________________________________________ Creating ufs filesystem on partition c0t4d0s0... + /usr/sbin/newfs /dev/rdsk/c0t4d0s0 /dev/rdsk/c0t4d0s0: 3909632 sectors in 1909 cylinders of 64 tracks, 32 sectors 1909.0MB in 60 cyl groups (32 c/g, 32.00MB/g, 7936 i/g) super-block backups (for fsck -F ufs -o b=#) at: 32, 65600, 131168, 196736, 262304, 327872, 393440, 459008, 524576, 590144, 655712, 721280, 786848, 852416, 917984, 983552, 1049120, 1114688, 1180256, 1245824, 1311392, 1376960, 1442528, 1508096, 1573664, 1639232, 1704800, 1770368, 1835936, 1901504, 1967072, 2032640, 2098208, 2163776, 2229344, 2294912, 2360480, 2426048, 2491616, 2557184, 2622752, 2688320, 2753888, 2819456, 2885024, 2950592, 3016160, 3081728, 3147296, 3212864, 3278432, 3344000, 3409568, 3475136, 3540704, 3606272, 3671840, 3737408, 3802976, 3868544, Done: Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t4d0s0 1894319 9 1837462 0% + /usr/sbin/mount /dev/dsk/c0t4d0s0 /jaz + set +x + /bin/mkdir /jaz/dsArchive + /bin/mkdir /jaz/platformArchive + /bin/mkdir /jaz/classdat + /bin/mkdir /jaz/campbell.dld + /bin/mkdir /jaz/class.bin + /bin/mkdir /jaz/prof.bin + /bin/mkdir /jaz/tklog + /bin/chown -R iss:iss /jaz + /bin/chmod -R ug+rw /jaz Done. Data disk has been created. |
The last series of commands simply creates the necessary directories on the Jaz disk.
When finished, the script ejects the data disk. The disk is now ready to be mounted and used by the archiver, as described in Swapping Data Disks.