04-15-2007
Also maybe post the output of prtvtoc for the disks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
I am facing a strange problem.
I am using a sun ultra10 spark machine.
first i took a 20gb IDE hard disk and installed solaris 5.8.
But due to some requirement i have to reinstall the OS but this time solaris 2.6.
and now the hard disk capacity is only showing 8gb.
Where the 12gb... (3 Replies)
Discussion started by: Prafulla
3 Replies
2. Filesystems, Disks and Memory
I need more space on my Ultra 10, and was thinking of a pair of 60 or 80 GB 7200 rpm ATA/100 drives mirrored with DiskSuite. Will afterarket IDE drives work in the Sun box? Are there any issues? (1 Reply)
Discussion started by: 98_1LE
1 Replies
3. Solaris
i took this Elite 3D M3 video card out of my Ultra 60 machine which was replaced with an M6. the card was working w/o issue in the Ultra 60. however, i'm getting no video when i power the Tatung machine.
yes, the M3 is does work with an AXi motherboard. any ideas what's causing the problem? (1 Reply)
Discussion started by: xyyz
1 Replies
4. Filesystems, Disks and Memory
I am using an ultra 10 with Solaris 9....
I want to add a new disk that I can play around with partitions, maybe mirroring - that type of thing.. Its a test box..
I need help on what I can buy - and what I need, cables etc to add new disk and install it...
Anyone got any pointers? (1 Reply)
Discussion started by: frustrated1
1 Replies
5. UNIX for Dummies Questions & Answers
I have just started getting into unix and aquired a Sun Ultra 5 however the disk failed and I want to replace it with a spare maxtor 40Gb i have lying around. I need to partition and format the disk from its old windows format. I have looked up info on the format command in solaris 9 and I think i... (2 Replies)
Discussion started by: kalm
2 Replies
6. Linux
Hello Forum,
I am getting a very strange symptom whilst doing an install of CentOS on to an X64 system and I was wondering if anyone else had seen this problem.
I have two disks (PATA) installed to IDE0 (master) and the CDROM installed to IDE1 (slave) as a slave device.
When I boot up the... (0 Replies)
Discussion started by: leenux_tux
0 Replies
7. Shell Programming and Scripting
Hi all,
I'm having a rather peculiar problem involving parameter passing with declared functions in my shell script. Hope to get some advice here.
A brief description of my code is as follows:
However, I'm not getting the results I wanted. If I pass in $rdir, I'm going to end up... (4 Replies)
Discussion started by: rockysfr
4 Replies
8. Solaris
Hi all.
I am seeing in one of our less-used servers that it crashed and now won't restart. I get the message 'continue with normal startup or boot into maintenance mode'.
I go into maintenance and run fsck on /usr0 (mentioned in error at restart) it then reboots but goes right back to... (3 Replies)
Discussion started by: jamie_collins
3 Replies
9. Hardware
Hi gurus, I am experiencing strange networks problems. I am trying to teather internet from HTC Desire S with Android. Basicly I followed those instructions: https://wiki.archlinux.org/index.php/Android_Tethering#Procedure
1.) Enable USB Debugging - Phone: Settings --> Applications -->... (0 Replies)
Discussion started by: wakatana
0 Replies
10. Solaris
Hi all,
I've just replaced the eprom battery on my Sun Ultra-30 and having boot issues. For some reason its trying to boot off the network instead of the DISK1. Howe can I change it so the open boot does not default to the boot device: NET
Thanks,
Rob (3 Replies)
Discussion started by: robbo007
3 Replies
LEARN ABOUT MOJAVE
prtvtoc
prtvtoc(1M) System Administration Commands prtvtoc(1M)
NAME
prtvtoc - report information about a disk geometry and partitioning
SYNOPSIS
prtvtoc [-fhs] [-t vfstab] [-m mnttab] device
DESCRIPTION
The prtvtoc command allows the contents of the label to be viewed. The command can be used only by the super-user.
The device name can be the file name of a raw device in the form of /dev/rdsk/c?t?d?s2 or can be the file name of a block device in the
form of /dev/dsk/c?t?d?s2.
OPTIONS
The following options are supported:
-f Report on the disk free space, including the starting block address of the free space, number of blocks, and unused parti-
tions.
-h Omit the headers from the normal output.
-m mnttab Use mnttab as the list of mounted filesystems, in place of /etc/mnttab.
-s Omit all headers but the column header from the normal output.
-t vfstab Use vfstab as the list of filesystem defaults, in place of /etc/vfstab.
EXAMPLES
Example 1: Using the prtvtoc Command
The following example uses the prtvtoc command on a 424-megabyte hard disk:
example# prtvtoc /dev/rdsk/c0t3d0s2
* /dev/rdsk/c0t3d0s2 partition map
*
* Dimension:
* 512 bytes/sector
* 80 sectors/track
* 9 tracks/cylinder
* 720 sectors/cylinder
* 2500 cylinders
* 1151 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
* * First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 76320 76319 /
1 3 01 76320 132480 208799
2 5 00 0 828720 828719
5 6 00 208800 131760 340559 /opt
6 4 00 340560 447120 787679 /usr
7 8 00 787680 41040 828719 /export/home
example#
The data in the Tag column above indicates the type of partition, as follows:
Name Number
UNASSIGNED 0x00
BOOT 0x01
ROOT 0x02
SWAP 0x03
USR 0x04
BACKUP 0x05
STAND 0x06
VAR 0x07
HOME 0x08
ALTSCTR 0x09
CACHE 0x0a
RESERVED 0x0b
The data in the Flags column above indicates how the partition is to be mounted, as follows:
Name Number
MOUNTABLE, READ AND WRITE 0x00
NOT MOUNTABLE 0x01
MOUNTABLE, READ ONLY 0x10
Example 2: Using the prtvtoc Command with the -f Option
The following example uses the prtvtoc command with the -f option on a 424-megabyte hard disk:
example# prtvtoc -f /dev/rdsk/c0t3d0s2
FREE_START=0 FREE_SIZE=0 FREE_COUNT=0 FREE_PART=34
Example 3: Using the prtvtoc Command on a Disk Over One Terabyte
The following example uses uses the prtvtoc command on a disk over one terabyte:.
example# prtvtoc /dev/rdsk/c1t1d0s2
* /dev/rdsk/c1t1d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 3187630080 sectors
* 3187630013 accessible sectors
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 34 262144 262177
1 3 01 262178 262144 524321
6 4 00 524322 3187089340 3187613661
8 11 00 3187613662 16384 318763004
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
devinfo(1M), fmthard(1M), format(1M), mount(1M), attributes(5)
WARNINGS
The mount command does not check the "not mountable" bit.
SunOS 5.10 25 Jul 2002 prtvtoc(1M)