The commands of Disk

The commands of Disk

fdisk( the disk size is less 2TB)

fdisk - partition table manipulator for Linux.

options:

-l :show all disk infotmation.

The commands of Disk

start disk deal.

The commands of Disk

parted(the size of disk is not limit)

mkfs

mkfs - buld a Iinux file System.

For example:

mkfs.ext3 /dev/sd2

mount/unmount

mount or unmount a file system.

for example:

mount  /dev/sdb2 /mnt

unmount /mnt

df

df -  report file system disk space usage

options

-h --human-readable

print sizes in human readable format(e.g.,1K 234M 2G)

-I --inodes

list inode information insteads of block usage

dumpe2fs

dumppe2fs - dump ext2/ext3/ext4 filesystem information

for example:

dumpe2fs /dev/sda1.

The commands of Disk

上一篇:Jmeter 录制脚本【转】


下一篇:在投票系统方法的原则刷票(突破ip限制刷票PHP版)