• Like
20110528東京OpenSolaris勉強会2011.05
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

20110528東京OpenSolaris勉強会2011.05

  • 4,889 views
Published

Tokyo OpenSolaris Study Group 2011.05 …

Tokyo OpenSolaris Study Group 2011.05

【日時/場所】

日時: 2011/5/28 (Sat) 13:00 開場 ~ 13:30 開始 ~ 16:30 終了
場所: 日本オラクル 青山オフィス13F会議室

【内容】

OpenSolaris に関するテーマをみんなで勉強していきましょう。という集まりです。テーマについてスピーカーが話をしますが、参加メンバーも情報を出し合ってワイワイと進めていきます。

アジェンダ
13:30 - 14:00 自己紹介等
14:00 - 14:20 ZFSおさらい (hiroaさん)
14:20 - 15:00 自宅ZFS自慢:前半 (s-miyazaさん、hasegawさん)
15:00 - 15:10 休憩
15:10 - 15:50 自宅ZFS自慢:後半(nslope、shoyoさん)
15:50 - 16:00 休憩
16:00 - 16:30 今更聞けない質問大会続き

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Tokyo OpenSolaris Study Group 2011.05
    http://hub.opensolaris.org/bin/view/User+Group+tsug/osol_study_2011_05

    【日時/場所】
    日時: 2011/5/28 (Sat) 13:00 開場 ~ 13:30 開始 ~ 16:30 終了
    場所: 日本オラクル 青山オフィス13F会議室

    【内容】
    OpenSolaris に関するテーマをみんなで勉強していきましょう。という集まりです。テーマについてスピーカーが話をしますが、参加メンバーも情報を出し合ってワイワイと進めていきます。
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
4,889
On SlideShare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
42
Comments
1
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1.  
  • 2. • • • • • • • • • 
  • 3. •  –  – •  –  – •  – • 
  • 4. •  o  o  o •  o  o  o  o 
  • 5. • •  o  o •  o 
  • 6. name = "vm230"maxmem = 2048memory = 2048vcpus = 2 (snip)localtime = 0disk = ["tap:aio:/dev/pool0/vm230_xvda,xvda,w",#failed#“tap:aio:/dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37 -part1,xvdb,w",“tap:aio:/dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37 -part1,xvdc,w",“tap:aio:/dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37 -part1,xvdd,w","tap:aio:/dev/disk/by-id/scsi-SATA_ST2000DL003-9VT_5YD13××,xvdf,w",“tap:aio:/dev/disk/by-id/scsi-SATA_OCZ-VERTEX2_f0a200 -part1,xvde,w",]vif = [ "mac=00:16:36:04:e8:a7,bridge=xenbr0,script=vif-bridge" ]serial = "pty"bootloader="/usr/bin/pygrub"
  • 7. •  –  –  –  – •  bootloader="/usr/bin/pygrub“•  kernel="/boot/os200811/unix" ramdisk="/boot/os200811/boot_archive" extra= /platform/i86xpv/kernel/amd64/unix –B zfs-bootfs=rpool/52, bootpath="/xpvd/xdf@0:a"’
  • 8. •  --- Logical volume --- LV Name /dev/pool0/vm230_xvda VG Name pool0 LV UUID NnCJ9p-zUwc-B1C7-9MGE- bxtl-DC0z-2QejaS LV Write Access read/write LV Status available # open 3 LV Size 16.00 GB Current LE 4096 Segments 1•  ( Linux )
  • 9. root@vm230:~# zpool listNAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOarray1 2.72T 1.91T 831G 70% 1.26x DEGRADED - ( 2TB; 1TBx3)backup1 1.81T 1.01T 817G 55% 1.01x ONLINE - ( 2TB; 2TBx1)rpool 15.9G 5.09G 10.8G 32% 1.00x ONLINE - Linux LVM
  • 10. •  –  – •  –  –  – • 
  • 11. • • • Disk /dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37XXX: 1000.2 GB, 1000204886016 bytes255 heads, 63 sectors/track, 121601 cylindersUnits = of 16065 * 512 = 8225280 bytes Boot Start End Blocks Id SystemST31000340NS_9QJ37XXX1 * 1 121601 976760001 fd Linux raid
  • 12. root@os200811:~# zpool status array1pool: array1state: DEGRADEDstatus: One or more devices are faulted in response to persistSufficient replicas exist for the pool to continue functioningdegraded state.action: Replace the faulted device, or use zpool clear to marepaired.see: http://www.sun.com/msg/ZFS-8000-K4scrub: none requestedconfig:NAME STATE READ WRITE CKSUMarray1 DEGRADED 0 0 0raidz1 DEGRADED 0 0 0c3d1p1 ONLINE 0 0 0c3d2p1 FAULTED 8 7.56M 0 too many errorsc3d3p1 ONLINE 0 0 0
  • 13. •  o  HDD SATA – HDD•  Dom0 o  Kernel Sep 1 20:31:23 dom0 kernel: ata11: exception Emask 0x10 SAct 0x0 Serr 0x80000 action 0xe frozen •  OpenSolaris domU o  blktap VBD ? o  RAID-Z 1 degraded
  • 14. •  OpenSolaris o  o •  o  (OpenSolaris 2009.06) o  ZFS o  ON o  o 
  • 15. toor@vm230:~$ pfexec zpool status array1 pool: array1 state: ONLINEstatus: The pool is formatted using an older on-disk format. The pool still be used, but some features are unavailable.action: Upgrade the pool using zpool upgrade. Once this is done, th pool will no longer be accessible on older software versions. scrub: scrub completed after 3h40m with 0 errors on Fri Mar 12 01:20:config: NAME STATE READ WRITE CKSUM array1 ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 c6t1d0p0 ONLINE 0 0 0 c6t2d0p0 ONLINE 0 0 0 c6t3d0p0 ONLINE 0 0 0 logs c6t4d0p0 ONLINE 0 0 0errors: No known data errors
  • 16. root@vm230:~# zpool status array1 pool: array1 state: DEGRADEDstatus: One or more devices could not be opened. Sufficient replicas the pool to continue functioning in a degraded state.action: Attach the missing device and online it using zpool online. see: http://www.sun.com/msg/ZFS-8000-2Q scrub: none requestedconfig: NAME STATE READ WRITE CKSUM array1 DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 c6t1d0p0 UNAVAIL 0 0 0 cannot open c6t2d0p0 ONLINE 0 0 0 c6t3d0p0 ONLINE 0 0 0errors: No known data errors
  • 17. • •  –  – •  –  – • • 
  • 18. • •  , Tiering•  ZFSHistory 253 zfs snapshot -r array1@`date +%Y%m%d` 254 zfs set mountpoint=none backup1 255 zfs send array1/archives@`date +%Y%m%d` | zfs recv backup1/archives`date +%Y%m%d` 273 zfs set mountpount=/export/backup array1/ backup
  • 19. • •  o  o •  o  o  o  o 
  • 20. •  o  o  o •  o  o  o