Output from prtvtoc


 
Thread Tools Search this Thread
Operating Systems Solaris Output from prtvtoc
# 1  
Old 10-12-2008
Output from prtvtoc

Hi All,

when i run the command prtvtoc the output shows

38309 cylinders
38307 accessible cylinders

as per my undertanding the 1st cylinder is used for storing the vtoc , how about the second cylinder ? where its used and for what purpose?

Thanks
# 2  
Old 10-12-2008
is it x86 or sparc?
# 3  
Old 10-12-2008
Sparc ultra 10 workstation
# 4  
Old 10-12-2008
hmmm, this should be an ide drive. maybe the lost cylinder is in the layout of the ide disk. or maybe the are errors on the disk and the cylinder is "blacklisted".
# 5  
Old 10-12-2008
how do i find if its ide or scsi
i run the

Quote:
prtdiag |grep ide
and got below as output

Quote:
0 PCI-1 33 3 ide-pci1095,646
its mean its ide ? correct ?
# 6  
Old 10-12-2008
You can find with command :
# cfgadm -al
# 7  
Old 10-12-2008
Those extra 2 cylinders are reserved for "revectoring" and maybe for "diskware". Revectoring is when theres a bad spot of the disk a sector becomes unusable. The drive can reallocate a "spare". Disk drives have little computers in them and their software might be firmware in a chip, or it might be stored on the disk. Disk drive engineers actually call this "diskware".

The vtoc uses a user accessible cylinder. Think about that... If it was wasn't user accessible, prtvtoc could not display it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Copied prtvtoc to original disk

Hi, It is Solaris-10 with ZFS. c0t1d0 is original disk. c0t0d0 was faulty disk, which was replaced with new one and by mistake somebody ran opposite command # prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0 Now rpool is in suspended state. Right now server is up, but allowing ssh... (6 Replies)
Discussion started by: solaris_1977
6 Replies

2. Solaris

Prtvtoc not working

Hi, I am trying to mirror a disk (which was already mirror and after breaking it, doing it again). This is root disk and in control of veritas. Somehow, slice information is not coming correctly on this. Can somebody give some pointer to fix it ? root@tdrp091:/root# prtvtoc /dev/rdsk/c3t0d0s2 |... (6 Replies)
Discussion started by: solaris_1977
6 Replies

3. Red Hat

Command understanding the output file destination in case of standard output!!!!!

I ran the following command. cat abc.c > abc.c I got message the following message from command cat: cat: abc.c : input file is same as the output file How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies

4. Shell Programming and Scripting

Displaying log file pattern output in tabular form output

Hi All, I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form 1). Intercomponents Checking Passed: All Server are passed. ====================================================================== 2). OS version Checking... (9 Replies)
Discussion started by: Optimus81
9 Replies

5. Shell Programming and Scripting

script to mail monitoring output if required or redirect output to log file

Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions. ... (4 Replies)
Discussion started by: aix_admin_007
4 Replies

6. Shell Programming and Scripting

Awk script to run a sql and print the output to an output file

Hi All, I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file. Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Discussion started by: adept
4 Replies

7. Shell Programming and Scripting

awk: round output or delimit output of arithmatic string

I have a file with the following content. > cat /tmp/internetusage.txt 6709.296322 30000 2/7/2010 0.00I am using the following awk command to calculate a percentage from field 1 and 2 from the file. awk '{ print $1/$2*100 }' /tmp/internetusage.txt This outputs the value "22.3643" as a... (1 Reply)
Discussion started by: jelloir
1 Replies

8. Solaris

fmthard showing error with prtvtoc

Hi all, I am trying to use the disk for mirror where in the mirror disk is of 160 gb and the rootdisk is of 80 gb. when i am trying to write the vtoc i am getting below error i tried the below command #prtvtoc /dev/rdsk/c0t0d0s0 |fmthard -s -/dev/rdsk/c0t2d0s0 and got below ... (26 Replies)
Discussion started by: kumarmani
26 Replies

9. Solaris

prtvtoc command

If i have diks layout like below 0 root wm 0 - 634 471.29MB (635/0/0) 965200 1 var wm 635 - 2014 1.00GB (1380/0/0) 2097600 2 backup wm 0 - 2732 1.98GB (2733/0/0) 4154160 3 swap wu 2015 - 2704 ... (1 Reply)
Discussion started by: tpx99
1 Replies

10. Shell Programming and Scripting

how to make a line BLINKING in output and also how to increase font size in output

how to make a line BLINKING in output and also how to increase font size in output suppose in run a.sh script inside echo "hello world " i want that this should blink in the output and also the font size of hello world should be big .. could you please help me out in this (3 Replies)
Discussion started by: mail2sant
3 Replies
Login or Register to Ask a Question