1. Listamos los discos disponibles para realizar el formateo, en nuestro ejemplo 0 (c0d0) es del S.O. y 1 (c2t0d0) es el nuevo disco.
bash-3.2# format
Searching for disks...
Inquiry failed for this logical diskdone
AVAILABLE DISK SELECTIONS:
0. c0d0 <Úxäþ¢ÿþ©ÿþ@©üþ cyl 2607 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
1. c2t0d0
/pci@0,0/pci15ad,1976@10/sd@0,0
Specify disk (enter its number):
2. Elegimos el disco a formatear, en nuestro caso es el 1 (c2t0d0).
Specify disk (enter its number): 1
selecting c2t0d0
[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
! - execute , then return
quit
format>
3. Una ves elegido, realizamos lo siguiente.
format> fdisk No fdisk table exists. The default partition for the disk is: a 100% "SOLARIS System" partition Type "y" to accept the default partition, otherwise type "n" to edit the partition table. y format>
4. Nos vamos por la opción para realizar la partición, como se detalla a continuación.
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
! - execute , then return
quit
partition>
5. Elegimos desde la partición "0" y empezamos desde el cilindro 1, hasta el tamaño total del disco disminuido en 0.65%, en nuestro caso el disco es de 15Gb.
partition> 0 Part Tag Flag Cylinders Size Blocks 0 unassigned wm 0 0 (0/0/0) 0 Enter partition id tag[unassigned]: Enter partition permission flags[wm]: Enter new starting cyl[0]: 1 Enter partition size[0b, 0c, 1e, 0.00mb, 0.00gb]: 14.90gb partition>
6. En este paso guardamos la configuración realizada al disco.
partition> label Ready to label disk, continue? yes partition>
7. Finalmente ejecutamos los comandos para salir de la configuración.
partition> quit
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
! - execute , then return
quit
format> quit
bash-3.2#
Con ello concluimos el procedimiento.
Paulo Ticona
No hay comentarios:
Publicar un comentario