?? ???????? ?????????????? ?????????????????????? ?????? ?????????? ?????? ?????????????????????????????????????? ?????????????? ?????????????? Solaris Express 12/06.
?????? ???????????????????????????????????? ?????????????? ?????????????? ?????????????? ?????????????? ?? ?????????????? Solaris Express 12/06.
???????????????? ?????????????????????????? ?????????????? (SIP) ???????????????????????? ?????????? ???????????????? ?????????????????????? ????????????, ???????????????????????? ?????? ??????????????????????????, ?????????????????? ?? ???????????????????? ???????????????????????????? ??????????????, ????????????????, ?????????????? ???????????????? ???????? ???? IP (VoIP) ?? ???????????????????? ???????????????? ?????????????????? (IM).
???????????????????? SIP ?? Solaris ?????????????????????????? ???????? SIP, ?????????????????????????????? RFC 3261, ?? ?????? ?????????????????????? API ?????? ?????????????????? ???????????????????? SIP. ?? ???????????????? ?????????????????????????? ???????? ???????????????????? ?????????????????? ????????????????????????, ?????????????????? ???????????????????? SIP, ?????????? ?????? ?????????????????????? ????????????????, ????????????-??????????????, ?????????????? ?????????????????????????? ?? ??.??.
?? ???????????????????? ?????????????????????? ?????????????????? ???????? ???????????????????? SIP ?? RFC 3261, 3262, 3265, 3323 ?? 3325.
?????? ?????????????????? ???????????????????????????? ???????????????????? ?? SIP ????. ???????????????????? ???????????????? sip(7P).
?????? ???????????????????????????????????? ?????????????? ???????????????????? ?????????????????????????????????? ?????????????? ?????????????? ?? ?????????????? Solaris Express 12/06.
ZFS ?????????????????????????? ???????????????????????? ???????????????? ?????????????? zfs ?? zpool, ???????????????????? ???????????????????? ?? ?????????????????? ????????. ????????????:
# zpool history History for 'newpool': 2006-10-23.08:58:22 zpool create -f newpool c1t2d0 2006-10-23.08:59:02 zpool replace -f newpool c1t2d0 c1t3d0 2006-10-23.08:59:54 zpool attach -f newpool c1t3d0 c1t4d0 |
?????? ?????????????? ?????????????????? ???????????????????????? ?????? ?????????????????? ?????????????????????? ?????????????????? Sun ???????????????????? ???????????? ???????????? ?????????????????????? ???????????? ZFS ?????? ???????????? ???????????? ?????????????????????????? ????????????.
???????????????? ?????????????? ?????????? ?????????????????? ????????????????????????????:
???????????????????? ?????????????????? ????????????????????;
???????????????? ?????????????????? ?????????????????????? ???? ??????????, ??.??. ?????? ???????????????????????? ?????????????? ???????????? ??????????????????????;
???????????????????????????????? ???????????????????????? ???? ???????????????? ???????????????????? ????????????; ?????????????????????? ?????????? ???????????????????? 128 ????; ???????????????????????? ?????????? ???????????????????? 32 ????;
?????? ?????????????? ?????????? ???????????????????????? ???????????? ?????????????????? 1% ?????????????? ????????, ?????? ???????????? size ???????????????????????? ???? ?????????? ???????????????? ????????;
???????????????? ???? ?????????????????? ?????????????????? ???? ??????????????????. ?????? ????????????????, ?????? ?????????????????????? ?????????????????????????? ?????????????????? ?????????????? ?????? ?????????????????? ???????????????????????????? ??????????????????.
?? ?????????????????? ?????????? ?????????????? zpool history ???? ???????????????????? ?????????????????????????? ????????????????????????, ?????? ???????? ?????? ?????? ????????.
?????? ?????????????????? ???????????????????????????? ???????????????????? ?? ???????????? ?? ???????????????????? ?????????????? ZFS ????. ZFS Administration Guide .
?????? ???????????????????????????????????? ?????????????? ???????????????????? ???????????????????????? ?????????????? ?????????????? ?? ?????????????? Solaris Express 12/06.
?????????????? ?? ?????????????? ?????????????? ?????????????? ?????????????? ???????????????????? ???????????????? ???????????????????? ???????????????? ???? ??????????, ?????????? ?????????????????????? ???????????? ?? ????????????, ???????????????????????????? ???????????????????? ???????????????? ????????????????????.
???????????????? ?????????????????? ?????????? ??????????????:
?????????? ???????????? ?????????????? ?????????????????? ???????????????????? ?? ?????????????????????? ?? ?????????????? SMF.
online 12:17:54 svc:/system/hal:default online 12:17:56 svc:/system/filesystem/rmvolmgr:default online 12:17:26 svc:/system/dbus:default |
?????????????? ???????????????? ???????????? ?????????????????????????? ?????????????????????? ?? ?????????????? /media . ???????????? ?? ?????????? ?????????????????????????? ?????????????????????????????? ???????????????????? ???????????? ???? /media ???? ???????????????????? ?????????? ???????????????????????? ?????????????????? – /cdrom ?? /rmdisk.
????????????????, ?????????? Compact Flash (/dev/dsk/c4d0p0:1) ?????????????????????? ?????????????????? ??????????????:
$ ls /media/NIKON |
????????????????, USB-???????????????????? (/dev/dsk/c3t0d0s0) ?????????????????????? ?????????????????? ??????????????:
$ ls /media/U3 |
????????????????, ?????????????? (/dev/diskette0) ?????????????????????? ?????????????????? ??????????????:
$ ls /media/floppy |
?????????????????????? ?????????????????? ?????????? ?????????????? ?????????????????? rmvolmgr ???????????????? ???? ?????????????????? ????????????????:
???????????????????????? ?? ?????????????????????????????? ??????????.
???????????????? ?????????????????? rmvolmgr ?????????????????????? ?????? ?????????????????? ???????????????? ??????????????. ???????????? ?????????? ?????????????????? ???????????? ?????????? ?????????????????? ?????? ?????????????? ???????????????????? rmvolmgr ?????? ?????????? ???????????????????????? ?? ??????????????. ?????? ?????????????? ???? ?????????????????????????????????? ???????????? rmvolmgr ?????????????????? ???????????? ???? ????????????????????, ???????????????????? ?????????????? ???????????????? ?????????????? ???????????????????????? ?????? ??????????, ?? ???? ?????????????????????? ?? ???????????????? ??????????????????????.
?????? ???????????? rmvolmgr ???????????????????????? ?????? ???????????????????????????? ???? ????????????????.
?? ?????????? ?????????????????????????? rmvolmgr ?????????????? ???????????????????? ???????????? ?? ?????????????????? /cdrom, /floppy, /rmdisk, ?????????????????????? ???? ?????????????????????? ?????????? ???????????????????????? ?? /media.
?????? ?????????????????????????? ?? CDE ???????????????????????? ?????????????????????? ?????????? ?????????????? rmvolmgr.
?????????? ???????????? ???????????????????? ???????????????????????? (HAL) hald ???????? ?????????? ??????????????????, ???????????????????????? ?? ??????????????. ???????? ?????????? ?????????????????????????? ?????????????????????? ?????? ?????????????????? ???????????????? ???????????????????????? ?????????? ???? ?????????????????????? ?? "??????????????" ???????????? ?????? ?? ???????????????????????????? ???????????? ????????????????????.
HAL ???????????????????????? ???????????????? ???????????????????????? ?? ???????? ?????????????? ???????? "????????????????????". ???????? ???????????? ???????????????????????????????? ???? ?????????????????????? ???????????????????????????? ???????????????????? (UDI) ?? ???????????????? ?????????? ?????? ???????????? ?? ????????????????, ???????????????????? ???????????????????? ????????????????????. ?????????????????? ???????????????? ?????????????? ???? ???????????????????????? ????????????????????????, ?????????????????? ???????????????????????? ???? ???????????????????????????? ???????????? ???????????????????? (???????????? .fdi), ?? ?????????????????? ?????????????? ?? ?????????????????????? ???????????????????????? ????????????????????.
?????????????????? ?????????????? ???????? ??????????????:
?????????? vold, ???????????????? ?????????????? volfs ?? ???????????? volfs ???????? ??????????????.
svc:/system/filesystem/volfs |
???????????????????? ?????????? ?????????????????? ?????? ?????????????? ?????????????????? ?? ???????????????? /vol , ????????????????, /vol/dev/rdsk/... ?????? /vol/dev/aliases/..., ???????????? ??????????????????????.
?????? ?????????????? ?? ???????????????? ???????????????? ???? ?????? ?????????????????????? ?????????? ???????????????????? ???????????????????????? ???????????????????? /dev. ????????????:
/dev/rdsk/c0t6d0s2 |
?????????????????? ???????????????????? ?????????????????? vold ???????????? ????????????????????. ?? ?????????????????? ???????????????? ???????????? ?????????????? eject -l ?????????????????????? ?????????????????? ???????????????????? ?????????????? ???????????????????? ??, ?? ???????????? ?????????????? ??????????????, ???????? ???????????????????????????? ?????????????????? (/media/SOL[lowbar]11[lowbar]X86[lowbar]4):
$ eject -l /dev/dsk/c2t0d0s2 cdrom,cdrom0,cd,cd0,sr,sr0,SOL_11_X86_4,/media/SOL_11_X86_4 /dev/diskette floppy,floppy0,fd,fd0,diskette,diskette0,rdiskette,rdiskette0 |
?? ???????????? ?????????? ?????????????? ?????????????????????? ????????????????????, ?????????????? ?????????? ???????????????????????? ?????? ???????????????????? ?????????????? ???? ??????????????????.
???????????????????????????? ?????????????????? ?? ???????????? vold.conf ?? rmmount.conf ???????????? ???? ??????????????????????????????, ?????????????????? ?????? ?????????? ?????????????????? ???????????? ???? ????????????????????. ?????? ?????????????????? ???????????????????? ???? ???????????????????? ?????????????????????????????? ?????????????????????? ?????????????????? ????. ???????????????????????????? ?????????????????? ???????????????????? ???????????????? ????????????????????.
??????????????, ???????????????????????? ?? vol*, ???? ?????????????????????? ???????????? volcheck ?? volrmmount.
?????????????????? ?????????????? ???????????????????????? ???????????????? ?????????????????????????? ?? ?????????????????????? ?????????????????? ???????????????????? ???????????????? ???????????????????? Solaris:
?????????? ???????????????????????? ?????????????? ?????????????????? ???????????????????? ?? ?????????????? /media, ???????????????????????? ?????? ???????????????????????? ?????????????? ??????????????????, ????????????????, ???????????????? CD-ROM ?? USB-??????????????????. ?? ?????????? ?????????????????????????? ?????????????????????????????? ???????????????????? ???????????? ???? /media ???? ???????????????????? ?????????? ???????????????????????? ??????????????????, ?????????? ?????? /cdrom ?? /rmdisk.
????-???????????????? ???????????????? ?????????????? rmformat. ???????????????? ???????????? ???????? ?????????????? ?????????????????? ?????????????? ?? ???????????????????? ???????????????? Solaris ?? ?????????????????????? vold.
????????????:
# rmformat Looking for devices... 1. Logical Node: /dev/rdsk/c0t6d0s2 Physical Node: /pci@1f,4000/scsi@3/sd@6,0 Connected Device: TOSHIBA DVD-ROM SD-M1401 1009 Device Type: DVD Reader Bus: SCSI Size: 2.9 GB Label: <None> Access permissions: <Unknown> |
?????????????? eject ????-???????????????? ????????????????, ???? ?? ?????????????????????? ????????. ?????? ?????????????????? ???????????????????????????? ???????????????? ????. ???????????????????? ?????????????? ??????????????????.
?????????????????????? ????????????, ???????????????????????? ?? vol*, ?? ???????? ?????????????? ??????????????. ?????? ???????????????????????? ?? ?????????????????????????????? ?????????????? ?????????????????? ???????????????? ???????????????????? ???????????? ?????????????? rmmount ?? ?????????? ?????????????? rmumount.
?????? ?????????????? ?????????? ???????????????????????? ?????? ???????????????????????? ???? ?????????? ????????????????????, ?????????? ?????? ?????????? ????????????????????????. ????????????????, ?????? ???????????????????????? iPod ???????????????????? ???????????? ?????????????????? ??????????????:
% rmmount ipod |
????????????????, ?????? ?????????????????????????????? ???????????????? ?????????????? ???? ?????????? DVD ???????????????????? ???????????? ?????????????????? ??????????????:
# rmumount cdrom cdrom /dev/dsk/c0t6d0s5 unmounted cdrom /dev/dsk/c0t6d0s0 unmounted |
?????? ?????????????????? ???????????????????????????? ???????????????? ????. ???????????????????? ???????????????? rmmount(1M).
?????? ?????????????? ???????????? ???????????? ?? ???????????????????????? ?????????? ?????????????? ?????????? ???? ?????????????????????? ?????????? ?????????????????????????????? ???????????????????????? ???????????????? volcheck.
???????? ?????????????? ?????????????????????????????????? ?????????????? ?????????? ?????????????????????? ?? ??????????????, ?????????????????????????????? ?????????????????????? HAL ???? ????????????????????. ?????? ?????????????????????? ?????????????? ?? ?????????????? ?????????????????????????????? ???????????????????????? ?????????? ???????????????? ?????????????? ???? ?????????????? ?????????????? ???????????????????? ???????????????????????? ?????????????? volcheck.
?????? ?? ?? ???????????????????? ???????????????? Solaris, ?????? ?????????????????????????????? ?? ???????????????????? ?????????????? ?????????????????? ???????????????????????? ?????????????? eject. ???????????? ?????????? ???????????????? ?????????????????? ?????????????????? eject:
???????????????????????????? ???????????????????? ???????????????????? ???????? ?? ???????????? ??????????????????.
?????????????????????? ?????????? ?? ?????????????????????? ??????????????????, ?????????????? ?????????? ??????????????.
???? ???????????????????? ???????????????? ?????????????? ???????????????? ?????????? CD-ROM. ???? ?????? ???????????????????? ???????????????????????? ???????? ????????????????.
????????????????, ?????? ???????????????????? ???? ?????????? ???????? ???????????????????? ?????????????????? ?????????????????? ????????????????:
% eject mypictures |
?????? ?? ?? ???????????????????? ???????????????? Solaris, ?????????? ???????????????????????????? ?????????????? eject ?????? ???????????????????? ?????????????? ?????????? ?????????????????????????? ???????? ?????????????? volcheck.
?????? ?????????????????? ???????????????????????????? ???????????????? ????. ???????????????????? ???????????????? eject(1).
?????? ?????????????????? ?????????????????????? ???????????????????????????? ????????????????, ?????????????? ???????? ???????????????? ?? ???????????? vold.conf ?? rmmount.conf, ?????????????? ???????? ?????????????????????????????? ?????????????????????? ???????????????????? ??????????, ???????? ???????????????? ?????????? .fdi.
?????? ?????????????????????????? ???????????????? rmmount.conf ?????????????? ???????????????????????? ?????????????? ???????????????????? ??????????, gconf ?????? ???????????? HAL.
?????????? ???????????????? (actions) rmmount.conf ?????????? ???????? ???????????????????????? ?? ???????????? ?????????????????????????????????? ???? ?????????? ?????????????? ??????????????????????????. ???????????? ?????? ?????????? ???????????????????? ???????????????????? ?????????????????????? ?????????? ?????????????? ?? ???????????????? /usr/lib/hal.
?? ???????? ?????????????? ?????????? ???????????????????????????? ?????????????????? ?????? ?????? ?????????????? ?????????????? ??????????????????:
?????? ???????????????????????????? ???????????????????????? ?????????? ?????? ???????????????????????????????? ?????????????? ???????????????????? ?????????????????? ???????????? rmvolmgr. ????????????:
# svcadm disable rmvolmgr |
?????? ?????????????? ???????????????????? ?????????????? ???????????????????? ???????????? ?????????????? ???????????????????????????? ???????????? dbus, hal ?? rmvolmgr.
# svcadm disable rmvolmgr # svcadm disable dbus # svcadm disable hal |
?????????????????????? ???????? ?????????? ???????????????? ?? ?????????????????????????? ?????????????? ???????????????????????? ???????? ?????????????????? ???????????????? mount.
?????? ???????????????????????????????????? ?????????????????? ???????????????? ?????????????? ?????????????? ?? ?????????????? Solaris Express 12/06.
?????????????? ???????????????????????????????? ???? ?????????? ?????????????????? ?????????????????? ?????????????????? ?????????????????????? ?????????????????? ?? ???? Solaris. ?? ?????????????????? ?????????? ???? ???????? ???????????????? UltraSPARC ???????????????????????????? ???? ?????????? 8192 ????????????????????. ???????? ???????????????????? ?????????????????? ?????????????????? 8192, ???????? ?????????????????????? ?????????????????? ?????? ?????????????????????? ???????????? ??????????????????. ?????? ?????????????? ?????????????????? ?? ???????????????? ?????????????????????? ??????????????????:
???????????????????????? ?????????? ???????? ??????????????????????, ???? ?????????????? ???????????????????? ??????????????;
???????????? ?????????????????? ?????? ??????????????????????, ?????????????????????? ???????????? ???????????????????????????????? ????????????????;
???????????????????? ?????????????????? ???? TLB ???????? ??????????????????????, ?????????????????????? ???????????? ????????????????.
?????? ?????????????????? ???????????????? ?????????? ????????????????????, ???????????? ?????????????????? ???????????????????????? ???? ???????? ???????????????????? ?????????? ?????????????????? (?????????? 8192). ???????????????????????????????? ???? ?????????? ?????????????????? ?????????????????????? ???? ???????? ?????????????? ???????????????????? ???????????????????? ??????????????????????. ???????????????????? ?????????????????????? ???????????????????????????? ???? ???????? ???????????????????????????? MMU, ?? ???? ??????????????????, ?????? ?????????????????? ?????????????????????? ?????????????????????? ???????????????????? TLB ?? ?????????????????????? ???????????????? ???????????????????????????????? ???????????????????? ??????????????????????.
???????????????????????????????? ???? ?????????? ?????????????????? ?????????? ???????????????? ???????????????????? ?????????????????????? ?????? ?????????????? ????????????????, ?????????????????? ???? ?????????? ?????? 8192 ???????????????? ?????????????????? ???????? ?????????? ?????????????????? ?? ?????????????????? ????????????????, ???????????? ???????????????????? ???????????? ?????????????????????? ?? ?????????????????????????????????? ????????????????.
?????? ???????????????????????????????????? ?????????????? ?????????????? ?????????????? ?????????????? ?? ?????????????? Solaris Express 12/06.
???????????????? ???????????????? ?????????????? ???????? ?????????????????? ???????????? ???????????????????????????? ??????????????????????:
???????????????????? ???????????????????????????????????? ???? ?????????????????? ?? ???????????????? ???????????? STREAMS;
?????????????????????? ?????????????????? ?????????????? ?????????? ????????????.
?????????????? ???????????????? ???????????????? ?????????????? ???????????????? ???????????? ???????????? ???????????????????? API, ?????????????????????? ???? ?????????????????? ?? ????????. ???????? ?????????????????? API ?????????? ???????????????????????????? ???????????????????????????? ?????? ???????????? ?? IP ?? ???????? ?????? ?????? ?????????????????? ??????????????.
?????????????? ???????????????????? ?????????????????? ???????????????????? ?????????????? ?????????????????????????? ?????????????????? ?????? ?????????????????? ???????????? ?? ?????????? ???????????????????? ?? ???????????? ?? ????????????????, ???????????????????????? ???????????????????? AMD (????) Opteron ?? Athlon 64 ???????????? F. ?????? ???????????????????? ???????????????????????? ?? ?????????????????? "M2" ???? Sun, ?????????? ?????? Sun Fire X2200 M2 ?? Ultra 20 M2. ???????????????????? ?????????????? Solaris ???????????????????????? ?????????????????? ???????????????????? ?????????????????? ???????????????????? ?????????????? ?????? ???????????? Opteron ?? Athlon 64 ?? B ???? E.
???? ?????????????????? ?????????????????? ???????????????????? ?????????????????? ???????????????????? ?????????????? ????????????????. ???????????? ???????????????????? ?????????????????? ???????????????????? ?????????????? ???????????????????? ???????????????????? ???????????? ???????????????????? ?? ????????????, ???????????????????? ???????????????????? ?????????????????????????? ???????????????????????????????? ??????????????????????, ?? ???????????? ?? ???????????? ?????????????????????? ??????????, ?????? ?????? ????????????????. ???????? ?????????????? ???? ???????????????? ?????????????????? ????????????, ?????????????????????????? ?????????? ?????????????????????????????? ?????????????????????? ???????????????????????? ???????????????????????????????? ??????????????.
?????? ?????????????????? ???????????????????????????? ???????????????? ????. http://www.opensolaris.org/os/community/fm/.
?? ?????????????????????????? ?????????? ???????? (nss) ?? ?? ?????????? ?????????????????????? ?????????????????????????? ?????????? ???????? (nscd(1M)) ?????????????? ??????????????????, ???????????????????????????? ???????????? ?????????????????????????? ?? ?????????????????? ?????????? ???????????????????????????? ??????????????????????:
???????????????????????????? ?????????????????????? ?? nscd(1M) ?? ???????????????????? ?????????????????????????? ?? ???????????? ?????????????????????? ??????????????????;
?????????????? ???????????? ????????, ?????? ?????????????? ???????????????????? ???????????????? ?????????????????????? ?????????????? ???????? ???????????????? ?????? ?????????????? ????????????????????????; ?? ?????????????????????? ???????????????????????????? ???????????????????????? ?????????????????? ?????????????????? ?????????? ?????????? ???????????????? ?? ???????????????????????????? SASL/GSS/Kerberos ?? ???????????? ?????????????????????????? ?? ?????????????? ???????????????? ??????????????????????, ???????????????????????? ?? Microsoft Active Directory;
?????????????????????????? ?????????????????? ?????? ???????????????????? ?????????????????????? putXbyY ?? ??????????????.