How do I find out how many data cylinders a disk has?


 
Thread Tools Search this Thread
Operating Systems Solaris How do I find out how many data cylinders a disk has?
# 1  
Old 12-23-2008
Question How do I find out how many data cylinders a disk has?

I recently installed two new hard drives onto an OpenSolaris v5.11 machine. I need to format the two disks.

I tried the format command. It asks me for the number of data cylinders and alternate cylinders.... <see below>

admin@minime-28:/dev/rdsk# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c4d0 <DEFAULT cyl 60797 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0
1. c4d1 <drive type unknown>
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@1,0
2. c5d0 <drive type unknown>
/pci@0,0/pci-ide@1f,2/ide@1/cmdk@0,0
3. c5d1 <drive type unknown>
/pci@0,0/pci-ide@1f,2/ide@1/cmdk@1,0
Specify disk (enter its number): 3

AVAILABLE DRIVE TYPES:
0. DEFAULT
1. other
Specify disk type (enter its number): 1
<--- this is correct, right?
Enter number of data cylinders: <---- ????
Enter number of alternate cylinders[2]: <---- ????
Enter number of physical cylinders[30517]: <---- ????

How do I find out the number of data cylinders, alternate cylinders, and physical cylinders a hard drive has?

Thanx.
# 2  
Old 12-23-2008
You could probably find this information in BIOS but you may not want to reboot the machine. Check out this page. I don't really know Solaris but this looks like it may help get this information for you.
# 3  
Old 12-24-2008
As per your output it appears that you got 4 physical disk and seems you system is based on x86 arch. How did you decided that its disk 1 which is new disk?

I will suggest select disk number and then the partition as option and then print. Not sure as which slice is going to give you number of cylinder, however in case of sparc slice two represents the entire disk there you can get the number of cylinders detail in fourth columns

Like below

Quote:
Part Tag Flag Cylinders Size Blocks
0 root wm 619 - 2267 8.00GB (1649/0/0) 16780224
1 swap wu 0 - 618 3.00GB (619/0/0) 6298944
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 var wm 2268 - 3092 4.00GB (825/0/0) 8395200
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 3093 - 14075 53.29GB (10983/0/0) 111763008
7 unassigned wm 14076 - 14086 54.66MB (11/0/0) 111936
# 4  
Old 12-25-2008
if you would like to use the the whole disk as a single EFI partition, issue
Code:
fdisk -E /dev/rdsk/<disk>

# 5  
Old 12-26-2008
why cant you just use the size in MB or GB instead of cylinders?Smilie
# 6  
Old 12-26-2008
Don't know if it can help, but usually the physical desciption in cylinder, head, sectors is written on the sticker put in front face of the drive. Otherwise, try to have a look through the BIOS in the section devoted to the hard drives definition if you are on a PC .

Last edited by Locki; 12-26-2008 at 04:13 AM..
# 7  
Old 01-05-2009
No info on the hard drives

Quote:
Originally Posted by Locki
Don't know if it can help, but usually the physical desciption in cylinder, head, sectors is written on the sticker put in front face of the drive. Otherwise, try to have a look through the BIOS in the section devoted to the hard drives definition if you are on a PC .
Locki,

I pulled out the disks. Unfortunately there is no sticker or anything on the hard drives that detail the number of cylinders, heads, sectors, etc.

And because I'm on a Solaris box, I don't know how to get to the BIOS in OpenSolaris. How would I do that?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Use of prtdiag to give information of sectors,cylinders,track of each disk

Hi All, i am trying to get sectors,cylinders,track..etc information of all present disks out of solaris machine using prtvtoc command . Output of ptrvtoc command is as below : bash-3.2# prtvtoc /dev/dsk/c1t0d0s0 * /dev/dsk/c1t0d0s0 partition map * * Dimensions: * 512 bytes/sector... (2 Replies)
Discussion started by: omkar.jadhav
2 Replies

2. Red Hat

Disk is Full but really does not contain huge data

Hi All, My disk usage show 100 % . When I check “df –kh” it shows my root partition is full. But when I run the “du –skh /” shows only 7 GB is used. Filesystem Size Used Avail Use% Mounted on /dev/sda1 30G 28G 260MB 100% / How I can identify who is using the 20 GB of memory. Os: Centos... (10 Replies)
Discussion started by: kalpeer
10 Replies

3. UNIX for Advanced & Expert Users

how to increase cylinders on USB Flash Drive

Hello All, I faced a unique issue. I have written a script for transferring backup data on my host machine to a USB Flash drive. The Flash drive must be of 16GB size. So, my script creates two primary partitionon the USB flash drive. I require approx 5900 cylinders for the first partition on... (8 Replies)
Discussion started by: Pkumar Sachin
8 Replies

4. Solaris

Read/Write Data on CD/RW Disk

Would simply like to write data (no audio) to a CD/RW disk. The disk drive states CD/RW on the front but don't know for sure if the software is configured to recognize it as a writable disk. I can read/move data from the disk to the hard drive with no issue from the disk. Any help in this... (4 Replies)
Discussion started by: jes1trish
4 Replies

5. AIX

How to use dd command to erase the data in disk

how to use dd command to erase the data in disk, such as hdisk2? (9 Replies)
Discussion started by: rainbow_bean
9 Replies

6. Programming

How to implement an on-disk data structure

I have heard about on-disk data structures, but I am trying to understand how to implement it. I want to write a program which is going to make use of a B-Tree which is so huge that whole of it cannot sit in memory. Lets take a simple case of a linked list. Suppose I want to have a linked... (1 Reply)
Discussion started by: the_learner
1 Replies

7. SCO

Reading Data from Disk

I have a server with SCO Open Server 5 and I need to copy data files from the hard drive. Can this be completed with a Windows PC with the hard drive connected with a USB caddy? I have no other way to do this. Server not running. TIA Tim (2 Replies)
Discussion started by: taordw
2 Replies

8. Solaris

Mirror data disk????

Hi, need some help. I’m new to solaris and trying to find out how to mirror a data disk (not the root disk). In AIX it is easy but with solaris 5.8 I don’t find my way even with the SUN docs (disk/suide is installed). What is behind is I want to migrate a disk from 1 storage system to... (7 Replies)
Discussion started by: ccTester
7 Replies

9. Filesystems, Disks and Memory

I need read data from Disk,please help

Hallo, can You help me with this problem: I have Hard Disk with "SCO Server Release 5.0" and I need read the data from the disk. Know You how can I do it? I only know that the file system is ISC UNIX . I test FreeBSD, but I can not mount the disk (with error message "incorrect super block").... (7 Replies)
Discussion started by: Fik
7 Replies

10. UNIX for Dummies Questions & Answers

OS can't see beyond 1023 cylinders

I'm trying to install SCO 5.0.5 onto a workstation for test purposes. I've had no problems during the installation and everything seems to have gone well until I look at the disk space available - it's a 40 Gb IDE hard drive but the OS only seems to be seeing the first 1023 cylinders. Have tried... (3 Replies)
Discussion started by: kath
3 Replies
Login or Register to Ask a Question