linux系统无法看到完整的磁盘分区

时间:2013-02-07 21:11:44

标签: linux disk-partitioning ext3

我在服务器上有4个磁盘。 其中3个安装在raid卡上,配置为raid5。 其他设备是3 TB Sata磁盘。

如果我运行df -h命令;

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/pve-root   95G  7.3G   83G   9% /
tmpfs                  16G     0   16G   0% /lib/init/rw
udev                   16G  212K   16G   1% /dev
tmpfs                  16G   19M   16G   1% /dev/shm
/dev/mapper/pve-data  298G  7.6G  291G   3% /var/lib/vz
/dev/sda1             495M   41M  429M   9% /boot
/dev/fuse              30M   12K   30M   1% /etc/pve

我将数据磁盘挂载为/ SATA

root @:/#df -h / sata

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/pve-root   95G  7.3G   83G   9% /

parted -l <​​/ strong>

Model: LSI MR9260-4i (scsi)
Disk /dev/sda: 479GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  537MB  536MB  primary  ext3         boot
 2      537MB   479GB  478GB  primary               lvm


Model: LSI MR9260-4i (scsi)
Disk /dev/sdb: 3000GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  3000GB  3000GB  ext3


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/pve-data: 325GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  325GB  325GB  ext3


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/pve-swap: 33.3GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  5001MB  5001MB  extended
 5      64.5kB  5001MB  5001MB  logical


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/pve-root: 103GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  103GB  103GB  ext3

为什么我的系统无法看到完整的数据磁盘?

2 个答案:

答案 0 :(得分:0)

fdisk -l <​​/ strong>

Disk /dev/sda: 479.0 GB, 479023071232 bytes
255 heads, 63 sectors/track, 58237 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0002f627

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          66      523264   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              66       58238   467271680   8e  Linux LVM

Disk /dev/sdb: 3000.0 GB, 3000034656256 bytes
255 heads, 63 sectors/track, 364733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/dm-0: 103.1 GB, 103079215104 bytes
255 heads, 63 sectors/track, 12532 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 33.3 GB, 33285996544 bytes
255 heads, 63 sectors/track, 4046 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

     Device Boot      Start         End      Blocks   Id  System
/dev/dm-1p1               1         608     4883728+   5  Extended
Partition 1 does not start on physical sector boundary.
/dev/dm-1p5               1         608     4883697   82  Linux swap / Solaris
Partition 5 does not start on physical sector boundary.

Disk /dev/dm-2: 324.9 GB, 324941119488 bytes
255 heads, 63 sectors/track, 39505 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

答案 1 :(得分:0)

和   ls -l / dev / disk / by-uuid /

total 0
lrwxrwxrwx 1 root root 10 Feb  7 23:06 40272a0f-53f7-411c-912d-8ca336e14332 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Feb  7 23:06 636cd224-f730-4863-8704-ef029ee75010 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Feb  7 22:16 846c7554-d0d2-4f7f-b924-5e64b2253b76 -> ../../dm-0
lrwxrwxrwx 1 root root  9 Feb  7 23:06 d65a7bc3-8391-4db2-8928-0f80e6214ba1 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb  7 22:16 e166e41c-c5b6-4407-9609-50c917e070df -> ../../sda1