我运行的是 Fedora 14,连接了 2x1TB 火线驱动器。它始终安装良好,但有时长时间不活动后会停止打开,这个问题总是通过重新插入来解决。
我应该补充一点,它具有内置 RAID 功能,并且已配置为 RAID0。我实际上不记得在从 Fedora 将其格式化为 XFS 后是否对它做了什么特殊的事情。
Ubuntu(如下所示)显示有 4 个分区(sdb{1..4}),并且分区 sdb3 安装良好。
但我想知道 1)我应该如何修复来自 dmesg 的错误魔幻数字消息(见下文)
2) 可靠地配置此磁盘的自动挂载的正确方法是什么。/dev/sdb3
我不喜欢使用 Fstab,我更喜欢配置桌面 Ubuntu 用于热插拔挂载的相同机制 - 是吗udev
?
dmesg:
[ 819.940470] sd 4:0:0:0: [sdb] Stopping disk
[ 819.940566] sd 4:0:0:0: [sdb] START_STOP FAILED
[ 819.940573] sd 4:0:0:0: [sdb] Result: hostbyte=DID_BUS_BUSY driverbyte=DRIVER_OK
[ 819.940772] firewire_sbp2: released fw1.0, target 4:0:0
[ 819.941943] firewire_sbp2: released fw1.1, target 5:0:0
[ 823.615962] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[ 823.878052] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[ 824.157381] scsi7 : SBP-2 IEEE-1394
[ 824.158374] scsi8 : SBP-2 IEEE-1394
[ 824.158511] firewire_core: created device fw1: GUID 0090a99500a35518, S400
[ 824.384893] firewire_sbp2: fw1.0: logged in to LUN 0000 (0 retries)
[ 824.400372] scsi 7:0:0:0: Direct-Access WD My Book 1015 PQ: 0 ANSI: 4
[ 824.400776] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 824.411058] sd 7:0:0:0: [sdb] 3907017568 512-byte logical blocks: (2.00 TB/1.81 TiB)
[ 824.416006] sd 7:0:0:0: [sdb] Write Protect is off
[ 824.416014] sd 7:0:0:0: [sdb] Mode Sense: 10 00 00 00
[ 824.419127] firewire_sbp2: fw1.1: logged in to LUN 0001 (0 retries)
[ 824.421267] sd 7:0:0:0: [sdb] Cache data unavailable
[ 824.421274] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 824.444172] scsi 8:0:0:1: Enclosure WD My Book Device 1015 PQ: 0 ANSI: 4
[ 824.444336] ses 8:0:0:1: Attached Enclosure device
[ 824.444530] ses 8:0:0:1: Attached scsi generic sg3 type 13
[ 824.452811] sd 7:0:0:0: [sdb] Cache data unavailable
[ 824.452819] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 834.653467] sdb: [mac] sdb1 sdb2 sdb3 sdb4
[ 834.693116] sd 7:0:0:0: [sdb] Cache data unavailable
[ 834.693124] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 834.693210] sd 7:0:0:0: [sdb] Attached SCSI disk
[ 882.728314] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[ 882.729897] SGI XFS Quota Management subsystem
[ 882.730863] XFS: bad magic number
[ 882.730866] XFS: SB validate failed
答案1
多次成功安装后,错误自行解决
使用:
/dev/disk/by-uuid