Caution: The procedure in this section can result in the loss of data if it is not performed properly. It is recommended only for experienced IRIX system administrators. The procedure below can be used to remove logical volume labels (for example xlvlab) and files (for example sash) from the volume header of a disk. Before performing this procedure, review the discussion of dvhtool in the section "Volume Headers" in Chapter 1.
# dvhtool /dev/rdsk/dks0d2vh
(See the section "Device Names" in Chapter 1 for information on constructing the device name.)
Command? (read, vd, pt, dp, write, bootfile, or quit): vd (d FILE, a UNIX_FILE FILE, c UNIX_FILE FILE, g FILE UNIX_FILE or l)? l Current contents: File name Length Block # sgilabel 512 2 xlvlab 10752 3 lvlab2 512 26
(d FILE, a UNIX_FILE FILE, c UNIX_FILE FILE, g FILE UNIX_FILE or l)? d xlvlab
(d FILE, a UNIX_FILE FILE, c UNIX_FILE FILE, g FILE UNIX_FILE or l)? d lvlab2
(d FILE, a UNIX_FILE FILE, c UNIX_FILE FILE, g FILE UNIX_FILE or l)? l Current contents: File name Length Block # sgilabel 512 2
(d FILE, a UNIX_FILE FILE, c UNIX_FILE FILE, g FILE UNIX_FILE or l)? q Command? (read, vd, pt, dp, write, bootfile, or quit): write
Command? (read, vd, pt, dp, write, bootfile, or quit): quit