The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to implement an on-disk data structure the_learner High Level Programming 1 08-10-2007 12:56 AM
Reading Data from Disk taordw SCO 2 07-25-2007 11:07 PM
Mirror data disk???? ccTester SUN Solaris 7 08-26-2006 10:57 AM
I need read data from Disk,please help Fik Filesystems, Disks and Memory 7 01-19-2005 03:51 AM
OS can't see beyond 1023 cylinders kath UNIX for Dummies Questions & Answers 3 03-09-2003 01:08 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-23-2008
sqa777 sqa777 is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 19
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 (permalink)  
Old 12-23-2008
flakblas flakblas is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 13
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 (permalink)  
Old 12-24-2008
kumarmani kumarmani is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 341
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 (permalink)  
Old 12-25-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 548
if you would like to use the the whole disk as a single EFI partition, issue
Code:
fdisk -E /dev/rdsk/<disk>
  #5 (permalink)  
Old 12-26-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,060
why cant you just use the size in MB or GB instead of cylinders?
  #6 (permalink)  
Old 12-26-2008
Locki Locki is offline
Registered User
  
 

Join Date: Aug 2008
Location: France
Posts: 9
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 (permalink)  
Old 01-05-2009
sqa777 sqa777 is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 19
No info on the hard drives

Quote:
Originally Posted by Locki View Post
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?
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0