diskコマンド(Linux)
[fdisk] パーティションテーブルを表示させたり、パーティションの作成や変更、削除等を行う
[root@sn ~]# fdisk -l
Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 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: 0x82318231
Device Boot Start End Blocks Id System
/dev/sda1 1 2053 16490691 7 HPFS/NTFS
/dev/sda2 2054 4864 22579357+ 5 Extended
/dev/sda5 2054 2428 3012156 7 HPFS/NTFS
/dev/sda6 2429 2939 4104576 7 HPFS/NTFS
/dev/sda7 * 2940 2965 204799+ 83 Linux
/dev/sda8 2965 4864 15257761+ 8e Linux LVM
[df] ファイルシステムごとに、デバイス名、全容量、使用容量、残り容量、使用割合、マウント先を表示
[root@sn ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_sn-lv_root
14G 3.5G 9.5G 28% /
tmpfs 182M 176K 182M 1% /dev/shm
/dev/sda7 194M 39M 146M 22% /boot
[ホームページに戻る] [Linux(Fedora)に戻る]