i have following output fdisk -l:
$ sudo fdisk -l disk /dev/sda: 160.0 gb, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x000dd2f1 device boot start end blocks id system /dev/sda1 * 2048 499711 248832 83 linux /dev/sda2 501758 312580095 156039169 5 extended /dev/sda5 501760 312580095 156039168 83 linux disk /dev/mapper/sda5_crypt: 159.8 gb, 159782010880 bytes 255 heads, 63 sectors/track, 19425 cylinders, total 312074240 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: 0x00000000 disk /dev/mapper/sda5_crypt doesn't contain valid partition table disk /dev/mapper/ubuntu--vg-root: 151.3 gb, 151309516800 bytes 255 heads, 63 sectors/track, 18395 cylinders, total 295526400 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: 0x00000000 disk /dev/mapper/ubuntu--vg-root doesn't contain valid partition table disk /dev/mapper/ubuntu--vg-swap_1: 8468 mb, 8468299776 bytes 255 heads, 63 sectors/track, 1029 cylinders, total 16539648 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: 0x00000000 disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain valid partition table
my question is: space of disk? /dev/sda size (160.0 gb)? or need sum sizes of disks in /dev/mapper too? disk space 160.0 gb + 159.8 gb + 151.3 gb + 8468 mb?
if /dev/mapper disks contained in /dev/sda disk, how can have logic disk of size 159.8 gb , 1 of size 151.3 gb if total size 160.0 gb?
i having trouble view how disk organized here, , not familiar /dev/mapper , pretty sure have 1 disk in notebook.
thanks
your total size 160g, , if want see how disk organized, suggest use gparted
.
the /dev/mapper/* logical partitions, , indicates installed system using lvm2 logical volume management.
the correct equation is:
159.8 gb = 151.3 gb + 8468 mb
Comments
Post a Comment