Linux查看新磁盘

通过fdisk -l

[admin@server9 jyp]$ sudo fdisk -l

Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

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

Disk /dev/sdb: 399.4 GB, 399431958528 bytes
255 heads, 63 sectors/track, 48561 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   83  Linux
/dev/sdb2              14        2563    20482875   83  Linux
/dev/sdb3            2564        4475    15358140   83  Linux
/dev/sdb4            4476       48561   354120795    5  Extended
/dev/sdb5            4476        5750    10241406   83  Linux
/dev/sdb6            5751        6260     4096543+  82  Linux swap / Solaris
/dev/sdb7            6261       48561   339782751   83  Linux

猜你喜欢

转载自san-yun.iteye.com/blog/1931084