我们有
linux盒子运行fedora.它有一个运行操作系统的小型笔记本电脑硬盘和一个运行3个SATA驱动器RAID 5的3ware RAID控制器.
当我们启动计算机并登录时,我运行“fdisk -l”并列出所有hda分区.没有/ dev / sda.如果我运行“modprobe 3w-9xxx”然后再次运行“fdisk -l”,它会显示所有带有单个/ dev / sda的hda1到hda7分区
显然/ dev / sda没有挂载到文件夹,也没有格式化.
我检查了/ etc / fstab文件,它有以下行:
/ dev / vbackup / lvbackup / backups xfs默认值1 2
我猜这意味着/ backups文件夹已挂载到此设备/ dev / vbackup / lvbackup
我知道你需要使用“mkfs.xfs -f / dev / sda”来格式化驱动器,但我忘记要做的是将/ dev / sda设置为/ dev / vbackup / lvbackup挂载到/ backups
提前致谢
这是/ var / log / messages文件的输出
Aug 7 kernel: 3ware 9000 Storage Controller device driver for Linux v2.26.05.003-2.6.21.
Aug 7 kernel: ACPI: PCI Interrupt 0000:04:0c.0[A] -> GSI 16 (level,low) -> IRQ 18
Aug 7 kernel: 3w-9xxx: scsi1: Found a 3ware 9000 Storage Controller at -xfc5ffc00,IRQ: 18
Aug 7 kernel: 3w-9xxx: scsi1: Firmware FE9X 2.08.00.006,BIOS BE9X 2.03.01.052,Ports: 8.
Aug 7 kernel: scsi 1:0:0:0: Direct-Access AMCC 9500S-8 DISK 2.08 PQ: 0 ANSI: 3
Aug 7 kernel: sd 1:0:0:0: [sda] 1953083392 512-byte hardwaresectors (999979 MB)
Aug 7 kernel: sd 1:0:0:0: [sda] Write Protect is off
Aug 7 kernel: sd 1:0:0:0: [sda] Write cache: enabled,read cache disabled,doesn't support DPO or FUA
Aug 7 kernel: sd 1:0:0:0: [sda] 1953083392 512-byte hardware sectors (999979 MB)
Aug 7 kernel: sd 1:0:0:0: [sda] Write Protect is off
Aug 7 kernel: sd 1:0:0:0: [sda] Write cache: enabled,doesn't support DPO or FUA
Aug 7 kernel: sd 1:0:0:0: [sda] Write cache: enabled,read cache: disabled,doesn't support DPO or FUA
Aug 7 kernel: sd 1:0:0:0: sda : unknown partition table
Aug 7 kernel: sd 1:0:0:0: sd 1:0:0:0: [sda] Attached SCSI disk
Aug 7 kernel: sd 1:0:0:0: sd 1:0:0:0: Attached scsi generic sg0 type 0
Aug 7 scsi.agent[3511]: disk at /devices/pci0000:00/0000:00:1e.0/0000:03:02.0/0000:04:0c.0/host1/target1:0:0/1:0:0:0
Aug 7 kernel: XFS mounting filesystem sda
Blockquote