Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot mount lv_home after resizing LVM

Hello guys.

I wanted to re size my partition and create a new one. I boot a live cd I re size the partition and create an non allocated space lvdisplay gives me:

lvdisplay

--- Logical volume --- LV Path /dev/VolGroup/lv_home LV Name lv_home VG Name VolGroup LV UUID UuMEun-ct2c-S2zR-LoNI-5TZo-mTWj-HeFqkO LV Write Access read/write LV Creation host, time , LV Status suspended # open 0 LV Size 320.00 GiB Current LE 10240 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0

--- Logical volume --- LV Path /dev/VolGroup/lv_swap LV Name lv_swap VG Name VolGroup LV UUID ZgX4sl-alLF-DXJe-pS3u-Vinx-frrf-Ap9pG2 LV Write Access read/write LV Creation host, time , LV Status suspended # open 0 LV Size 5.81 GiB Current LE 186 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1

--- Logical volume --- LV Path /dev/VolGroup/lv_root LV Name lv_root VG Name VolGroup LV UUID 9VNZBI-QPSs-HLCt-q3Zu-tD9c-3csN-gI4GMX LV Write Access read/write LV Creation host, time , LV Status suspended # open 0 LV Size 50.00 GiB Current LE 1600 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2

////////////////////////////////////////////////////////////////// the parted /dev/sda unit s print gives me

parted /dev/sda unit s print

Model: ATA SAMSUNG HM501II (scsi) Disk /dev/sda: 976773168s Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:

Number Start End Size File system Name Flags 1 2048s 4095s 2048s bios_grub 2 4096s 1028095s 1024000s ext4 root lvm 3 1028096s 656390096s 655362001s primary lvm

the number 3 (lv_home) is the partition that i cannot mount

///////////////////////////////////////////////////////////////

lvs --all

LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lv_home VolGroup -wi-s---- 320.00g
lv_root VolGroup -wi-s---- 50.00g
lv_swap VolGroup -wi-s---- 5.81g

/////////////////////////////////////////////////////////////

What should i do?

thanks in advance