Vous êtes sur la page 1sur 3

-format

-label
-svm – solaris volume manager
- mirroring – physical (1+1)
-VTOC:diskin partition yapısı .diskte sağlanır.
-mkfs
-mount
-veritas
-aynı partitionları nasıl kurarız
-zfs
-backup, restore
-snapshot
-nfs
-nis
-container, solaris zone

root@spar-db01:~# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0
Solaris volume manager kullanılmıyor çünkü /dev/md/dsk lı bilgi olurdu.

AVAILABLE DISK SELECTIONS:


0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
/pci@400/pci@0/pci@1/scsi@0/sd@0,0
1. c0t2d0 <LSILOGIC-Logical Volume-3000-136.67GB>
/pci@400/pci@0/pci@1/scsi@0/sd@2,0
2. c2t2d31 <SUN-Universal Xport-0735-20.00MB>
/pci@400/pci@0/pci@d/SUNW,emlxs@0,1/fp@0,0/ssd@w202300a0b85ae738,1f
3. c3t1d31 <SUN-Universal Xport-0735-20.00MB>
/pci@400/pci@0/pci@c/SUNW,emlxs@0/fp@0,0/ssd@w203200a0b85ae738,1f
4. c4t4d31 <SUN-Universal Xport-0735-20.00MB>
/pci@400/pci@0/pci@c/SUNW,emlxs@0,1/fp@0,0/ssd@w203300a0b85ae738,1f
5. c5t0d31 <SUN-Universal Xport-0735-20.00MB>
/pci@400/pci@0/pci@d/SUNW,emlxs@0/fp@0,0/ssd@w202200a0b85ae738,1f
6. c6t600A0B80005AE738000002344A96AFD4d0 <SUN-LCSM100_F-0735-2.10TB>
/scsi_vhci/ssd@g600a0b80005ae738000002344a96afd4

üstündeki fiziksel disk, diğerleri fiber.


Toplam 4 tane üstünde disk var.hw raid yapıldığı için 2 görünüyor.
root@spar-db01:~# raidctl
Controller: 0
Volume:c0t0d0
Volume:c0t2d0
Disk: 0.1.0
Disk: 0.3.0
Disk: 0.4.0
Disk: 0.5.0
root@spar-db01:~# raidctl -l c0t0d0
Volume Size Stripe Status Cache RAID
Sub Size Level
Disk
----------------------------------------------------------------
c0t0d0 136.6G N/A OPTIMAL OFF RAID1
0.5.0 136.6G GOOD
0.1.0 136.6G GOOD
root@spar-db01:~# raidctl -l c0t2d0
Volume Size Stripe Status Cache RAID
Sub Size Level
Disk
----------------------------------------------------------------
c0t2d0 136.6G N/A OPTIMAL OFF RAID1
0.4.0 136.6G GOOD
0.3.0 136.6G GOOD

Zfs:
root@spar-db01:~# zpool status
pool: mysql
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM


mysql ONLINE 0 0 0
c0t2d0 ONLINE 0 0 0

errors: No known data errors

pool: mysql_data
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM


mysql_data ONLINE 0 0 0
c6t600A0B80005AE738000002344A96AFD4d0 ONLINE 0 0 0

errors: No known data errors


root@spar-db01:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
mysql 132M 2.37G 131M /mysql
mysql_data 1.74T 332G 21K /mysql_data
mysql_data/datafiles 1.73T 332G 1.73T /mysql_data/datafiles
mysql_data/trx_log 2.00G 510M 2.00G /mysql_data/trx_log

root@spar-db01:~# prtvtoc /dev/rdsk/c0t2d0


* /dev/rdsk/c0t2d0 partition map
*
* Dimensions:
* 512 bytes/sector
* 286607360 sectors
* 286607293 accessible sectors
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 34 222 255
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 4 00 256 286590687 286590942
8 11 00 286590943 16384 286607326

partition> p
Current partition table (original):
Total disk cylinders available: 65533 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks


0 root wm 241 - 18995 39.06GB (18755/0/0) 81921840
1 swap wu 0 - 240 514.01MB (241/0/0) 1052688
2 backup wm 0 - 65532 136.49GB (65533/0/0) 286248144
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 unassigned wm 0 0 (0/0/0) 0
7 home wm 18996 - 65532 96.93GB (46537/0/0) 203273616

partition>

ufs’de 2. Partition full diski gösterir