-
lvm resizing with Knoppix Live CD how to - here
Hello All,
Just wanted to document what it took to resize an lvm on an FC10 installed disk that needed to be shrunk to make room for installing another OS to the same disk.
After an FC10 Live Cd failed to alter the lvm(which after searching found there is a bug in the FC10 Live CD for doing this) I decided to try an Knoppix Live CD.
Knoppix Live CD 6.2
The lvm tools would not work correctly on this 6.2 Knoppix CD. The errors that would get thrown when trying to perform any of the lvm related commands was 'is dev-mapper driver built into the kernel'. Strange thing was when running the lvm pvs command would in fact show the correct disk size,etc. but when trying to alter anything the command would fail.
Here is what made everything work like a champ. I found this on a 5 year old post here on the Knoppix forums as a matter of fact.
-------------------------------------------
- mkdir /dev/mapper
- cd /dev/mapper
- mknod control c 10 63
- Load the device-mapper module required for LVM2 (type modprobe dm-mod).
--------------------------------------------
Now everything work correctly!
Here is a good tutorial for resizing an lvm disk,which can be very daunting until one gets acclimated with the many commands involved.
http://fedorasolved.org/Members/zcat...-new-partition
Hope this helps someone as I spent much time getting this chore resolved.
Take Care,
BC
-
brcisna,
Thanks for the info on how to 'prepare' the Knoppix shell for LVM shrink. I had already found the Fedora link, but of course the instructions there didn't work -- until I found your helpful info on getting access to the LVM utilities. It worked like a charm! Thanks!
-
On F12 with ADRIANE-KNOPPIX_V6.2.1 this workaround is unnecessary
I worked for me fine just like in the tutorial - which I found through this thread.
Thanks!
Similar Threads
-
By eddie in forum Hardware & Booting
Replies: 0
Last Post: 09-20-2008, 10:15 PM
-
By downdogWoof in forum General Support
Replies: 8
Last Post: 05-08-2005, 05:50 AM
-
By downdogWoof in forum General Support
Replies: 1
Last Post: 02-25-2005, 09:46 PM
-
By james in forum Hdd Install / Debian / Apt
Replies: 8
Last Post: 05-14-2004, 10:12 AM
-
By xeerex in forum General Support
Replies: 0
Last Post: 07-14-2003, 08:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED
$299.99
Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS
$721.06
Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 4x1G RJ-45 NIC 2x750W PSU
$399.04
CSE-118 Supermicro 1U 3x GPU Server 2.1Ghz 16-C 128GB CX353A 2x1600W PSU Rails
$450.03
INTEL XEON GOLD 6148 20 Core SR3B6 2.4GHZ 27.5MB Processor @24
$99.99
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$39.99
Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5
$46.00
Intel Xeon E5-2690V2 3.00GHz 10-Core (SR1A5) Processor CPU READ DESCRIPTION
$12.00
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 512 SSD Quadro K420 Linux GA
$243.59
Dell Precision 5810 Tower Intel Xeon E5-1603v3 2.8GHz 8GB RAM 500GB HDD W10P GPU
$129.99