12-23-2008
Can I put my own tags in a partition table
I have X4500 running Solaris 10. I have formatted a disk and created partition table as given below.
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted]
/dev/dsk/c0t0d0s0 is part of active ZFS pool zpool1. Please see zpool(1M).
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> partition
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> print
Current partition table (original):
Total disk sectors available: 1953508749 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 usr wm 34 4.00GB 8388641
1 usr wm 8388642 2.00GB 12582945
2 usr wm 12582946 200.00GB 432013345
3 usr wm 432013346 175.00GB 799014945
4 usr wm 1166180386 375.43GB 1953508748
5 usr wm 799014946 175.00GB 1166016545
6 usr wm 1166016546 80.00MB 1166180385
8 reserved wm 1953508749 8.00MB 1953525132
partition>
I am unable to specify my own tag name. How can I change the tag name to one of my interest.
I need to create 3 partitions as told below
partitions:
/earth
/mars
/work
/earth and /work should be roughly equal in size, /mars should be twice the size of the others, if that is possible. If not 3 partitions of equal size will do.
Please, help me .
Thank you.
10 More Discussions You Might Find Interesting
1. Solaris
I have two disks on a sun blade 100. I just installed a solaris8 on the first disk. The installation was successful. But the problem is now I lost all data / partition on my second hard disk.
The possible reason could be:
1. I used default web start install. During the installation I didn't... (2 Replies)
Discussion started by: motor98
2 Replies
2. UNIX for Advanced & Expert Users
Host 1
-------
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 1911 18.56GB (1912/0/0) 38913024
1 swap wu 1912 - 5434 34.19GB (3523/0/0) 71700096
2 backup wm 0 - 14086 136.71GB ... (5 Replies)
Discussion started by: sriny
5 Replies
3. UNIX for Advanced & Expert Users
I want to modify a predefined partition on Solaris. This predefined partion has 51 GB. I want to partition it as two partition. One is 5G, another one is about
46 GB. I want to use these commands:
#format
specify disk
#partition
# modify
The system told me that ' Cannot modify disk... (1 Reply)
Discussion started by: duke0001
1 Replies
4. UNIX for Advanced & Expert Users
Hi, i want to implement hash table (put, get and transfer operations) using c in unix. so give some nice infromation on how to write my code. (1 Reply)
Discussion started by: kaleab
1 Replies
5. Shell Programming and Scripting
Hi
I get some differents output from a bash script.
My goal is to sort them in a kind of table, something like:
Actually the table can change and I don't care about the shape, I'm just looking if there's a well know way to put the output of a script in a table or if someone has his own best... (2 Replies)
Discussion started by: Dedalus
2 Replies
6. Slackware
Hi All,
I am a linux newbie. After working with my loveable FEDORA 10 for months, i found it a bit slower. I wanted to try with slackware this time. I already had Windows XP and fedora in my 80 GB SATA disk. Now i allotted 15 GB ( SWAP + / + /home/usr ). During my installation i encountered no... (5 Replies)
Discussion started by: beinthemiddle
5 Replies
7. Solaris
I'm manually editing the partition table purely for experimenting. I did
prtvtoc /dev/dsk/c1t0d0s2 > /tmp/prtvtoc
I'm trying to split up partition 5 to make partition 6. I'm running into a cylinder boundary error on partition 6. Any clues?
# vi /tmp/prtvtoc
"/tmp/prtvtoc" 23 lines, 769... (1 Reply)
Discussion started by: adelsin
1 Replies
8. SCO
hi
How can I backup MBR an Partition Table of SCO 5.0.6? (7 Replies)
Discussion started by: ccc
7 Replies
9. Shell Programming and Scripting
Hi all,
I have blocks of records like the following, each block ends in = in a new line, I want tabularize the entire output. The pattern is the same in every block although not all types are there in every block.
For example gine3 is absent in the second block but present first and third.
... (7 Replies)
Discussion started by: ritakadm
7 Replies
10. Programming
Hello,
I have a database called "audit_database" and I want to create two tables.
Table 1 = Table 1
Table 2 = Audit
I want to partition the Audit table into partitions grouped by month. I'm not familiar with table partitioning but doing some reading online shows that it can be done but... (4 Replies)
Discussion started by: bbbngowc
4 Replies
DISKTAB(5) File Formats Manual DISKTAB(5)
NAME
disktab - disk description file
SYNOPSIS
#include <disktab.h>
DESCRIPTION
Disktab is a simple date base which describes disk geometries and disk partition characteristics. The format is patterned after the term-
cap(5) terminal data base. Entries in disktab consist of a number of `:' separated fields. The first entry for each disk gives the names
which are known for the disk, separated by `|' characters. The last name given should be a long name fully identifying the disk.
The following list indicates the normal values stored for each disk entry.
Name Type Description
ns num Number of sectors per track
nt num Number of tracks per cylinder
nc num Total number of cylinders on the disk
b0 str Filename of block zero primary bootstrap for device
ba num Block size for partition `a' (bytes)
bd num Block size for partition `d' (bytes)
be num Block size for partition `e' (bytes)
bf num Block size for partition `f' (bytes)
bg num Block size for partition `g' (bytes)
bh num Block size for partition `h' (bytes)
fa num Fragment size for partition `a' (bytes)
fd num Fragment size for partition `d' (bytes)
fe num Fragment size for partition `e' (bytes)
ff num Fragment size for partition `f' (bytes)
fg num Fragment size for partition `g' (bytes)
fh num Fragment size for partition `h' (bytes)
pa num Size of partition `a' in sectors
pb num Size of partition `b' in sectors
pc num Size of partition `c' in sectors
pd num Size of partition `d' in sectors
pe num Size of partition `e' in sectors
pf num Size of partition `f' in sectors
pg num Size of partition `g' in sectors
ph num Size of partition `h' in sectors
se num Sector size in bytes (default 512)
sf bool supports bad144-style bad sector forwarding
so bool partition offsets in sectors
ty str Type of disk (e.g. removable, winchester)
Disktab entries may be automatically generated with the diskpart program.
FILES
/etc/disktab
SEE ALSO
newfs(8), diskpart(8), getdiskbyname(3)
BUGS
This file shouldn't exist, the information should be stored on each disk pack.
4.2 Berkeley Distribution May 17, 1986 DISKTAB(5)