[root@sctest 桌面]#
[root@sctest 桌面]#
[root@sctest 桌面]# df -hl
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 385G 5.0G 360G 2% /
tmpfs 1.9G 144K 1.9G 1% /dev/shm
/dev/sda1 477M 45M 407M 10% /boot
/dev/sda5 99G 60M 94G 1% /home
/dev/sr0 3.7G 3.7G 0 100% /media/RHEL-6.9 Server.x86_64
/dev/sdb1 15G 7.3G 7.7G 49% /media/2841-55F7
[root@sctest 桌面]# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x0009ecf4
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 51057 409600000 83 Linux
/dev/sda3 51057 53224 17408000 82 Linux swap / Solaris
/dev/sda4 53224 121601 549239008+ 5 Extended
/dev/sda5 53225 66280 104864288 83 Linux
/dev/sda6 66281 79336 104864288 83 Linux
Disk /dev/sdb: 16.0 GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x06b044db
Device Boot Start End Blocks Id System
/dev/sdb1 1 1947 15633392 c W95 FAT32 (LBA)
[root@sctest 桌面]#
[root@sctest 桌面]#
[root@sctest 桌面]#
[root@sctest 桌面]# fdisk /dev/sda
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): p
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x0009ecf4
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 51057 409600000 83 Linux