我在磁盘检测方面遇到了一个奇怪的问题。我安装了 Suse 10,我看到相同的磁盘 (scsi) 显示为/dev/hda
和/dev/sda
。这里是 fdisk 输出:
sl0slmkmsd00:~ # fdisk -l /dev/hda
Disk /dev/hda: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders, total 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002751a
Device Boot Start End Blocks Id System
/dev/hda1 2048 526335 262144 83 Linux
/dev/hda2 * 526336 209715199 104594432 83 Linux
sl0slmkmsd00:~ # fdisk -l /dev/sda
Disk /dev/sda: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders, total 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002751a
Device Boot Start End Blocks Id System
/dev/sda1 2048 526335 262144 83 Linux
/dev/sda2 * 526336 209715199 104594432 83 Linux
这给我带来了一些 LVM 问题,我用过滤器解决了这些问题,/etc/lvm/lvm.conf
但在我看来这并不是一个很好的解决方案。
有更好/正确的方法来解决这个问题吗?