hns - 日記自動生成システム - Version 2.19.9

先月 2025年10月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2025年10月25日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [raid] recover from disk error

2T x 2 is raid1 mirrored
  1. One day, I've found the one of the mirror pair got disk error
  2. Add spare (the box has four slots, and two disk were in the slot)
      (disk label as the same as others)
      raidctl -a /dev/wd2a raid0
    
  3.   raidctl -F /dev/wd0a raid0
    
    This starts process to add spare disk
  4. It took 30 days to complete spare setup
  5. I was hesitating what to do for several days
  6. One day the box does not give any response
  7. Reboot
  8. Asking root device: wd0a
    (and stopped)
  9. (force to shutdown)
  10. Remove suspicious unit
  11. Boot ... fine

u# /sbin/raidctl -s raid0
Components:
           /dev/wd1a: optimal
           /dev/wd0a: optimal
No spares.
Component label for /dev/wd1a:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 377401575, Mod Counter: 512
   Clean: No, Status: 0
   sectPerSU: 32, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 3907029088
   RAID Level: 1
   Autoconfig: Yes
   Root partition: Soft
   Last configured as: raid0
Component label for /dev/wd0a:
   Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 377401575, Mod Counter: 512
   Clean: No, Status: 0
   sectPerSU: 32, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 3907029088
   RAID Level: 1
   Autoconfig: Yes
   Root partition: Soft
   Last configured as: raid0
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.


2025年10月23日(木) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [PC] dd does not duplicate Windows 11 boot disk ?

  • PC = Windows 11
  • boot external sd0 with NetBSD install image
  • insert another bootable candidate SATA disk (with USB) 500GB
  • dd if=/dev/wd0d of=/dev/sd0 bs=64m
  • unrecorded error at the end

boot disk:

# gpt show wd0
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34       2014         Unused
       2048     532480      1  GPT part - EFI System
     534528      32768      2  GPT part - Windows reserved
     567296  456042615      3  GPT part - Windows basic data
  456609911       1929         Unused
  456611840    1560576      4  GPT part - Windows recovery
  458172416       2048         Unused
  458174464   41943040      5  GPT part - de94bba4-06d1-4d40-a161-bfd50179d6ac
  500117504        655         Unused
  500118159         32         Sec GPT table
  500118191          1         Sec GPT header

dd copied disk:

# gpt show sd1
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34       2014         Unused
       2048     532480      1  GPT part - EFI System
     534528      32768      2  GPT part - Windows reserved
     567296  456042615      3  GPT part - Windows basic data
  456609911       1929         Unused
  456611840    1560576      4  GPT part - Windows recovery
  458172416       2048         Unused
  458174464   41943040      5  GPT part - de94bba4-06d1-4d40-a161-bfd50179d6ac
  500117504        655         Unused
  500118159         32         Sec GPT table
  500118191          1         Sec GPT header
  500118192  437584896         Unused

install image disk (of NetBSD):

# gpt show sd0
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34       2014         Unused
       2048     262144      1  GPT part - EFI System
     264192    4853760      2  GPT part - NetBSD FFSv1/FFSv2
    5117952       2015         Unused
    5119967         32         Sec GPT table
    5119999          1         Sec GPT header
    5120000  971653168         Unused
# exit


2025年10月13日(月) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgsrc][pbulk] missing package

をれをれ package pbulk result: missing package
  • php83-iconv
  • libstroke
  • p5-Tk
  • pangx-compat
  • gtksourceview2
  • sysmon
  • mplayer
  • ksh93
NetBSD 11.99.3/x86_64
Compiler: gcc

Build start: 2025-10-13 03:21
Build end:   2025-10-13 04:12

Full report: http://www.pkgsrc-box.....
Machine readable version: http://www.pkgsrc-box .....

Total number of packages:           1093
  Successfully built:               1072
  Failed to build:                     8
  Depending on failed package:        13
  Explicitly broken or masked:         0
    of which invalid dependencies:     0
  Depending on masked package:         0

Packages breaking the most other packages

Package                               Breaks Maintainer
-------------------------------------------------------------------------
devel/pangox-compat                        5 pkgsrc-users@NetBSD.org
wip/gtksourceview2                         4 pkgsrc-users@NetBSD.org
converters/php-iconv                       3 pkgsrc-users@NetBSD.org
devel/libstroke                            3 pkgsrc-users@NetBSD.org
x11/p5-Tk                                  3 pkgsrc-users@NetBSD.org
multimedia/mplayer                         2 pkgsrc-users@NetBSD.org
net/sysmon                                 2 pkgsrc-users@NetBSD.org
shells/ksh93                               2 vins@NetBSD.org
;;
Build failures

Package                               Breaks Maintainer
-------------------------------------------------------------------------
converters/php-iconv                       3 pkgsrc-users@NetBSD.org
devel/libstroke                            3 pkgsrc-users@NetBSD.org
devel/pangox-compat                        5 pkgsrc-users@NetBSD.org
multimedia/mplayer                         2 pkgsrc-users@NetBSD.org
net/sysmon                                 2 pkgsrc-users@NetBSD.org
shells/ksh93                               2 vins@NetBSD.org
wip/gtksourceview2                         4 pkgsrc-users@NetBSD.org
x11/p5-Tk                                  3 pkgsrc-users@NetBSD.org


2025年10月04日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgsrc] pkgin search pkgname segfaults

NetBSD 11.99.2
pkgin-23.8.1nb3     Apt / yum like tool for managing pkgsrc binary packages
think-c11$ pkgin search emacs
think-c11$ /usr/pkg/bin/pkgin search emacs
[1]   Segmentation fault (core dumped) ktrace /usr/pkg/bin/pkgin search emacs
think-c11$ gdb /usr/pkg/bin/pkgin pkgin.core
....
28444  28444 pkgin    CALL  sendto(4,0x7f7ffff01b40,0x8e,0,0,0)
28444  28444 pkgin    MISC  msghdr: [name=0x0, namelen=0, iov=0xffffc489675bff50, iovlen=1, 
       control=0x0, controllen=0, flags=0]
28444  28444 pkgin    GIO   fd 4 wrote 142 bytes
       "<15>1 - think-c11.ki.nu pkgin - - - assertion \"string != NULL\" failed: 
       file \"/usr/src/lib/libc/regex/engine.c\", line 225, function \"smatcher\"\n"



最近の日記
2025年10月25日
recover from disk error
2025年10月23日
dd does not duplicate Windows 11 boot disk ?
2025年10月13日
missing package
2025年10月04日
pkgin search pkgname segfaults
2025年08月16日
installboot (Although it’s too late)
以上、4 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)