My Fedora 11 hard disk space setup is
Code:
[root@localhost ~]# fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000001
Device Boot Start End Blocks Id System
/dev/sda1 1 1275 10241406 7 HPFS/NTFS
/dev/sda2 1276 30401 233954595 f W95 Ext'd (LBA)
/dev/sda5 1276 5099 30716248+ 7 HPFS/NTFS
/dev/sda6 5100 11473 51199123+ 7 HPFS/NTFS
/dev/sda7 11474 17847 51199123+ 7 HPFS/NTFS
/dev/sda8 * 17848 17873 204799+ 83 Linux
/dev/sda9 17873 30401 100635204 8e Linux LVM
Disk /dev/dm-0: 98.8 GB, 98838773760 bytes
255 heads, 63 sectors/track, 12016 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 4211 MB, 4211081216 bytes
255 heads, 63 sectors/track, 511 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
[root@localhost ~]#
Code:
root@localhost ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sda9
VG Name VolGroup
PV Size 95.97 GB / not usable 580.00 KB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 24569
Free PE 0
Allocated PE 24569
PV UUID qLL0E0-dSrG-Uw2P-Q3Hi-yMUx-3qtv-VUZQAf
[root@localhost ~]# ^C
[root@localhost ~]#
Code:
[root@localhost ~]# vgdisplay
--- Volume group ---
VG Name VolGroup
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 95.97 GB
PE Size 4.00 MB
Total PE 24569
Alloc PE / Size 24569 / 95.97 GB
Free PE / Size 0 / 0
VG UUID MxbEko-QoTK-ObyY-cwF1-8Fzf-cvat-SwNccQ
[root@localhost ~]#
Code:
[root@localhost ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup/lv_root
VG Name VolGroup
LV UUID LSScW6-oe33-fvR0-4hhM-MFHb-Pjv2-ewkeFX
LV Write Access read/write
LV Status available
# open 1
LV Size 92.05 GB
Current LE 23565
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup/lv_swap
VG Name VolGroup
LV UUID 3SUYIk-9juP-ARsq-RATf-f6PO-Us45-15f5pU
LV Write Access read/write
LV Status available
# open 1
LV Size 3.92 GB
Current LE 1004
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
[root@localhost ~]#
The Linux was installed through automatic partition option.
Few doubts to ask:
1. What partitions are recommended to be created on LVM?
Is boot and swap partition recommended?
2.What more partition I can create with this LVM?