# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d1 <DEFAULT cyl 3913 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@1/cmdk@1,0
1. c1t0d0 <DEFAULT cyl 1302 alt 2 hd 255 sec 63>
/pci@0,0/pci15ad,1976@10/sd@0,0
2. c1t1d0 <DEFAULT cyl 2556 alt 2 hd 128 sec 32>
/pci@0,0/pci15ad,1976@10/sd@1,0
Specify disk (enter its number): 2
selecting c1t1d0
[disk formatted]
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
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> 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
7 - change `7' 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> modify
Select partitioning base:
0. Current partition table (original)
1. All Free Hog
Choose base (enter number) [0]? 1
Part Tag Flag Cylinders Size Blocks
0 root wm 0 0 (0/0/0) 0
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 2555 4.99GB (2556/0/0) 10469376
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 2.00MB (1/0/0) 4096
9 alternates wm 0 0 (0/0/0) 0
Do you wish to continue creating a new partition
table based on above table[yes]? yes
Free Hog partition[6]? 7
Enter size of partition '0' [0b, 0c, 0.00mb, 0.00gb]:
Enter size of partition '1' [0b, 0c, 0.00mb, 0.00gb]:
Enter size of partition '3' [0b, 0c, 0.00mb, 0.00gb]:
Enter size of partition '4' [0b, 0c, 0.00mb, 0.00gb]: 5g
`5.00gb' is out of range
Enter size of partition '4' [0b, 0c, 0.00mb, 0.00gb]: 4,9g
Please specify units in either b(blocks), c(cylinders), m(megabytes) or g(gigabytes)
Enter size of partition '4' [0b, 0c, 0.00mb, 0.00gb]: 4.9g
Enter size of partition '5' [0b, 0c, 0.00mb, 0.00gb]:
Enter size of partition '6' [0b, 0c, 0.00mb, 0.00gb]:
Part Tag Flag Cylinders Size Blocks
0 root wm 0 0 (0/0/0) 0
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 2555 4.99GB (2556/0/0) 10469376
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 1 - 2509 4.90GB (2509/0/0) 10276864
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 0 0 (0/0/0) 0
7 unassigned wm 2510 - 2555 92.00MB (46/0/0) 188416
8 boot wu 0 - 0 2.00MB (1/0/0) 4096
9 alternates wm 0 0 (0/0/0) 0
Okay to make this the current partition table[yes]? yes
Enter table name (remember quotes): "asm2"
Ready to label disk, continue? y
partition> verify
`verify' is not expected.
partition> q
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
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> verify
Primary label contents:
Volume name = < >
ascii name = <DEFAULT cyl 2556 alt 2 hd 128 sec 32>
pcyl = 2558
ncyl = 2556
acyl = 2
bcyl = 0
nhead = 128
nsect = 32
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 2555 4.99GB (2556/0/0) 10469376
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 1 - 2509 4.90GB (2509/0/0) 10276864
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 2510 - 2555 92.00MB (46/0/0) 188416
8 boot wu 0 - 0 2.00MB (1/0/0) 4096
9 unassigned wm 0 0 (0/0/0) 0
format> q
bash-3.2# cd /dev/rdsk
bash-3.2# ls -lL c1t1d0s4
crw-r----- 1 root sys 30, 132 Jan 26 16:29 c1t1d0s4
bash-3.2# cd /asmdisk
bash-3.2# ls
disk1
bash-3.2# mknod disk2 c 30 132
bash-3.2# ls -l
total 0
crw-r--r-- 1 oracle oinstall 30, 68 Jan 26 16:31 disk1
crw-r--r-- 1 root root 30, 132 Jan 26 16:31 disk2
bash-3.2# chown oracle:oinstall disk2
#
#
No comments:
Post a Comment