Home > Solaris Admin > Cannot label disk when partitions are in use as described.

Cannot label disk when partitions are in use as described.

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

 

 

Advertisements
Categories: Solaris Admin
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: