Solaris Disk İşlemleri
Yeni disk mount etmek
>format komutu calistirilir
# format
Searching for disks…done
AVAILABLE DISK SELECTIONS:
0. c1t0d0
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0
/pci@1c,600000/scsi@2/sd@1,0
> disk number girilir ,cikan ekranda p ve tekrar p ye tiklanir.
partition> p
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wu 0 0 (0/0/0) 0
2 backup wm 0 – 14086 68.35GB (14087/0/0) 143349312
3 unassigned wm 0 – 100 501.84MB (101/0/0) 1027776
4 unassigned wm 101 – 309 1.01GB (209/0/0) 2126784
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
disk alani assign edildikten sonra
partition>label
komutu calistirilir ve q ve q ile format tan cikilir.
newfs -F ile file sistem atanir.
# mkdir /database
#mount /dev/dsk/c1t4d0s0 /database
seklinde volume mount edilir.
ayrica her boot ta gecerli olmasi icin fstab dosyasina (Sun`sistemde fstab=/etc/vfstab) asagidaki yazilir :
/dev/dsk/c1t4d0s0 /dev/rdsk/c1t4d0s0 / ufs 2 yes –
Partition Alanini Buyutme
format ile c1t4d0s0 alani arttirildiktan sonra
growfs -M /database /dev/rdsk/c1t4d0s0
ile filesystem buyutulur..