[問題] 請問在 4.10 的環境下要 mount 5.1 版的硬碟
是這樣的 本來這個系統裝的是 5.1 release 用的是 Q - 6.4GB HDD
這幾天老闆答應買新硬碟來用,所以買了一個 WD 80GB 的
在 WD 80GB 上面灌好了 4.10 之後,要去 mount 6.4GB 的 HDD 時,
會出現 incorrect super block 的訊息
試著去 fsck 時會出現
BAD SUPER BLOCK: MAGIC NUMBER WRONG
本來想會不會是比較新的版本的問題,於是用 6.4GB 的 5.1-release 開機,
想要去 mount 新硬碟,但也是發生同樣的狀況
然後,猜測也許是 6.4GB HDD 本身可能有問題,
跟朋友借了一個同樣的 WD-80GB HDD,分割好了以後,用 6.4GB 的 5.1-release
開機去 mount ,是可以 mount 的,並且可以把資料 cp 進去
但是這個朋友的WD,雖然可以在 5.1-release 的環境底下存取資料,
當回到 4.10 的環境之下,要 mount 它的時候,又出現了
stu# mount /dev/ad1s2d /mnt
mount: /dev/ad1s2d on /mnt: incorrect super block
在 google 爬過,大部分的資料寫 incorrect super block 會出現在
試圖把 cd9060 的光碟當成 ufs mount 時。但這兩個檔案系統應該都是 ufs 啊
爬了無名的 bsd 板,之前有前輩提過要看
disklabel -r /dev/ad1s2d 和 fdisk /dev/ad1 的內容,但看來看去還是不懂
附上如下,請各位前輩指教,感恩。
--- disklabel -r /dev/ad1s2d ---
stu# disklabel -r /dev/ad1s2d
# /dev/ad1s2d:
type: ESDI
disk: ad1s2
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 3916
sectors/unit: 62910540
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 62910540 0 unused 0 0 # (Cyl. 0 - 3915)
d: 62910540 0 4.2BSD 0 0 0 # (Cyl. 0 - 3915)
--- fdisk /dev/ad1 ---
******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=9729 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=9729 heads=255 sectors/track=63 (16065 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,(FreeBSD/NetBSD/386BSD)
start 63, size 20964762 (10236 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 20964825, size 62910540 (30718 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 83875365, size 72421020 (35361 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
<UNUSED>
stu#
--
夫兵者不祥之器物或惡之故有道者不處君子居則貴左用兵則貴右兵者不祥之器非君子
之器不得已相簿 http://www.wretch.twbbs.org/album 有佈景主題 速度很快於天下
矣吉事尚左凶事尚右偏將軍居左上將軍居右言以喪禮處之殺人之眾以哀悲泣之戰勝以
喪禮處之道常無名樸雖小天下莫能臣侯王若能守之萬物將自賓天地相合以降甘露民莫
之令而自均始制有名名亦既有夫亦將知止知220-134-102-130.HINET-IP.hinet.net海
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章