2016-06-02 12 views
-2

私はLinuxの管理者アクティビティの初心者です。/dev/sda3が1つのVMで表示される理由しかし、それは別のVMで表示されません。どこに行けばいいのかわかりません。誰かが助けてくれますか?別のVMから/dev/sda3は1つのVMでは表示されませんが、別のVMで同じものが表示されます。

[[email protected] ~]# fdisk -l 

Disk /dev/sda: 53.7 GB, 53687091200 bytes, 104857600 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 label type: dos 
Disk identifier: 0x0009a61a 

    Device Boot  Start   End  Blocks Id System 
/dev/sda1 *  2048  1026047  512000 83 Linux 
/dev/sda2   1026048 33554431 16264192 8e Linux LVM 

:あなたは例えばcfdiskのにも未使用の領域を示しているユーティリティを使用する必要が

[[email protected] ~]# fdisk -l 

Disk /dev/sda: 53.7 GB, 53687091200 bytes, 104857600 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 label type: dos 
Disk identifier: 0x0009a61a 

    Device Boot  Start   End  Blocks Id System 
/dev/sda1 *  2048  1026047  512000 83 Linux 
/dev/sda2   1026048 33554431 16264192 8e Linux LVM 
/dev/sda3  33554432 104857599 35651584 8e Linux LVM 

答えて

0

例えば、私は3つのパーティションを持つように8GBのSDカードを分割しています。我々は同様に未使用の領域を参照することができます

$ sudo fdisk -l /dev/sdc 

Disk /dev/sdc: 8068 MB, 8068792320 bytes 
249 heads, 62 sectors/track, 1020 cylinders, total 15759360 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: 0x4c2671d0 

    Device Boot  Start   End  Blocks Id System 
/dev/sdc1 *  32776  65543  16384 c W95 FAT32 (LBA) 
/dev/sdc2   65544  7438343  3686400 83 Linux 
/dev/sdc3   2048  32775  15364 a2 Unknown 

cfdiskので:FDISKで示すように、これら3つのパーティションの合計サイズは8ギガバイト未満である。ここ

$ sudo cfdisk -P s /dev/sdc 
Partition Table for /dev/sdc 

       First  Last 
# Type  Sector  Sector Offset Length Filesystem Type (ID) Flag 
-- ------- ----------- ----------- ------ ----------- -------------------- ---- 
    Pri/Log   0  2047*  0#  2048*Free Space   None 
3 Primary  2048*  32775*  0  30728*Unknown (A2)   None 
1 Primary  32776*  65543*  0  32768*W95 FAT32 (LBA) (0C) Boot 
2 Primary  65544* 7438343*  0  7372800*Linux (83)   None 
    Pri/Log  7438344* 15759359*16*Free Space   None 

あなたが見ることができるしているがディスクの開始と終了の両方で使用可能な空き領域です。

いくつかのグラフィカルなユーティリティ、例えばGPartedの

$ sudo gparted /dev/sdc 

gparted showing unpartitioned/free space on disk

未使用の領域を表示することができます
関連する問題