大...@元記事です。
From: Hirohito m...@youko-house.ne.jp
Message-ID: 4b717ed8.4060...@youko-house.ne.jp
私は、ATA/SATA to USB アダプタを、4種類ほど使った経験がありますが、
挙動や安定性にばらつきがあるように感じます。
アダプタを買い換えてみるか、もしくはアダプタを使わずにディスクを接続して
試してみてはいかがでしょうか。
設置環境上ケースを開けるのが面倒だったので避けていたのですが,
御指摘に従ってSATA直結で試してみました。
# fdisk /dev/ad4
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1953525105 (953869 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 612/ head 15/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED
# fdisk -BI /dev/ad4
*** Working on device /dev/ad4 ***
fdisk: Geom not found: ad4
# fdisk /dev/ad4
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1953525105 (953869 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 612/ head 15/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED
# cat var/bsdlabel.txt
8 partitions:
#size offsetfstype [fsize bsize bps/cpg]
a: 419430404.2BSD 2048 16384 28528
b: 16777216 4194304 swap
c: 1953525105 0unused0 0 # raw part, don't
edit
d: 16777216 209715204.2BSD 2048 16384 28528
e: 16777216 377487364.2BSD 2048 16384 28528
f: 67108864 545259524.2BSD 2048 16384 28528
g: 67108864 121634816 4.2BSD 2048 16384 28528
h: 1764781425 1887436804.2BSD 2048 16384 28528
# bsdlabel -w -B /dev/ad4s1
# bsdlabel -R -B /dev/ad4s1 var/bsdlabel.txt
# bsdlabel /dev/ad4s1
# /dev/ad4s1:
8 partitions:
#size offsetfstype [fsize bsize bps/cpg]
a: 419430404.2BSD 2048 16384 28528
b: 16777216 4194304 swap
c: 19535251050unused0 0 # raw part, don't
edit
d: 16777216 209715204.2BSD 2048 16384 28528
e: 16777216 377487364.2BSD 2048 16384 28528
f: 67108864 545259524.2BSD 2048 16384 28528
g: 67108864 1216348164.2BSD 2048 16384 28528
h: 1764781425 1887436804.2BSD 2048 16384 28528
# newfs -U /dev/ad4s1a
/dev/ad4s1a: 2048.0MB (4194304 sectors) block size 16384, fragment size 2048
using 12 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
160, 376416, 752672, 1128928, 1505184, 1881440, 2257696, 2633952, 3010208,
3386464, 3762720, 4138976
# newfs -U /dev/ad4s1d
/dev/ad4s1d: 8192.0MB (16777216 sectors) block size 16384, fragment size 2048
using 45 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# newfs -U /dev/ad4s1e
/dev/ad4s1e: 8192.0MB (16777216 sectors) block size 16384, fragment size 2048
using 45 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# newfs -U /dev/ad4s1f
/dev/ad4s1f: 32768.0MB (67108864 sectors) block size 16384, fragment size 2048
using 179 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# newfs -U /dev/ad4s1g
/dev/ad4s1g: 32768.0MB (67108864 sectors) block size 16384, fragment size 2048
using 179 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# newfs -U /dev/ad4s1h
/dev/ad4s1h: 861709.7MB (1764781424 sectors) block size 16384, fragment size
2048
using 4691 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# mount -t ufs /dev/ad4s1a /mnt
# df
Filesystem 512-blocks UsedAvail Capacity Mounted on
/dev/ad0s1a2025948 1125024 73885260%/
devfs2 20 100%/dev
/dev/ad0s1h 334638772 288049272 1981840094%/home
/dev/ad0s1d