-
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

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99

HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD
$249.00

DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS
$99.99

HP ZBook Firefly 14" G8 Mobile Workstation i5 11th Gen 16GB RAM 256 GB SSD No AC
$166.49

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00

HP EliteBook 850 G6 15.6" Core i5-8265U 1.60GHz 8GB RAM AMD Lexa GPU PWR Adapter
$120.00

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99

AMD Ryzen Threadripper PRO 3945WX 12-Core 4.0GHz sWRX8 CPU NEW Tray Unlocked
$79.99

Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11
$89.99

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD
$229.99