You may get below error when you are trying to label a new disk in Solaris.
format> la WARNING - This disk may be in use by an application that has modified the fdisk table. Ensure that this disk is not currently in use before proceeding to use fdisk.
Solution:-
Before you proceed for the solution ensure that this is the correct disk which you want to label.
- Once you are sure about the correct disk, select the disk from the format menu.
- Before you try labeling the disk execute "fdisk" while in format menu.
format> fdisk No fdisk table exists. The default partition for the disk is: a 100% "SOLARIS System" partition Type "y" to accept the default partition, otherwise type "n" to edit the partition table.
- Once you press "y" it will accept the default disk layout.
- Now you can also change the disk layout format as per your requirement and finally label the disk.