mediainit is neither required nor recommended for most modern disks. In fact, mediainit might damage some (semi-)modern disks.
Even the most basic SCSI disks today have a built-in defect management system in the disk firmware/hardware level, so the OS normally sees the disk as having zero defects. The primary purpose of mediainit was to detect and mark as unusable any defective blocks – but if a modern disk with an internal defect management has an OS-visible defective block, it often means the disk is already pretty seriously damaged and should not be used any more.
Modern disks are also low-level formatted at the factory, using more advanced formatting schemes than mediainit can do. For example, the interleave factor is usually variable, based on the distance to the center of the disk platter. It is all handled by the disk’s internal electronics.
Some disks may have their performance and/or capacity reduced if their advanced low-level format is overwritten with mediainit’s simplistic version: if this happens, only the disk manufacturer’s special programs have a chance of fixing it. To protect against this, most modern disks will simply *ignore* any traditional low level formatting commands: the disk will send an appropriate result code to the OS, but might actually do nothing at all. With external storage systems like Virtual Arrays, *if* any low-level formatting is required, it should be done with the VA administration tools, *not* with mediainit at the host side.
mediainit is a archaic leftover from the days of 50 MB (that’s megabytes, not GB or TB) real disks that had very primitive controllers. The original code would try to manage bad spots by detecting them and then performing a relocation so the disk would use the replacement sector(s). Later, disk manufacturers made it clear to computer manufacturers that this was a bad idea (relocating sectors and tracks with special test equipment) and created smarter controllers. The controller firmware knew the factory relocated sectors and could perform a media test and relocate much better than some external program.
So mediainint changed from an active test and relocate program to simply a command to initiate the firmware test/relocate inside the disk. But today, very few disks are actually directly attached to large servers like HP-UX. The new Integrity boxes have built-in RAID controllers so HP-UX doesn’t really talk to the disks. The data is virtualized so that it appears to be coming from a real disk but behind the SCSI connector is a lot of electronics. I am surprised that modern disk arrays and controllers even support the medianint commands sent to disks. The word is deprecated for mediainit.
source: ITRC