Sunday, February 11, 2007

Determine Controller, Target, Disk Size, and Slice

There are many instances when you might need to determine the available disks, controller numbers, target numbers, and disk sizes. The format command gives you that information. Usually, I use it to ascertain which drives are online and available for mount.

Use care. It can be destructive if you don't know what you are doing. Amongst many other things, it's used to slice the hard drive.
#format

2 comments:

UX-admin said...

You mean, to slice it up?

Drives on Solaris are partitioned only on the i86pc platform. The `fdisk` utility is used for that (again, i86pc only, it does not exist on SPARC).

What you refer to as "partitioning" with `format` is actually slicing the `fdisk` partition. This is a peculiarity which stems from the fact that the i86pc BIOS does not understand a Solaris VTOC.

No partitions are ever used or created on the sparc platforms.

esofthub said...

ux-admin,

You're right. I mean slicing. Thanks.