Archive

Archive for October, 2013

Cannot label disk when partitions are in use as described.

October 9, 2013 Leave a comment

Today, I did the repartition on a Solaris Server internal hard disk by the command format. When I labelled the disks, it returned the following error messages. I was sure that the disk was mounted on the system.

Enter partition id tag[root]:
Enter partition permission flags[wm]:
Enter new starting cyl[413]: 0c
`0c’ is not an integer.
Enter new starting cyl[413]:
Enter partition size[8395200b, 825c, 1237e, 4099.22mb, 4.00gb]: 0c
partition> l
Cannot label disk when partitions are in use as described.

Solution: Set NOINUSE_CHECK=1 to enable Not in use on. The following was procedures.

# NOINUSE_CHECK=1
# export NOINUSE_CHECK

Enter partition id tag[root]:
Enter partition permission flags[wm]:
Enter new starting cyl[413]:
Enter partition size[8395200b, 825c, 1237e, 4099.22mb, 4.00gb]: -c
Please specify units in either b(blocks), c(cylinders), e(end cylinder),
m(megabytes) or g(gigabytes)
Enter partition size[8395200b, 825c, 1237e, 4099.22mb, 4.00gb]: 0c
partition> l
Ready to label disk, continue? y

 

 

Categories: Solaris Admin