LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-27-2010, 08:40 PM   #1
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Rep: Reputation: 51
Question lvm: lvcreate -L (all free space)


just wondering if its possible to have lvcreate to fill all remaining free space on a drive?

slackware install using disk layout defined HERE and am not sure how large to make lvm prior to running setup. this is the last volum I will need to create on the drive ( storage ).

thanks
 
Old 03-27-2010, 08:46 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
You can always extend it later on to fill up all available space:
Code:
lvextend -l +100%FREE /dev/myvg/mylv
 
Old 03-27-2010, 11:51 PM   #3
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Original Poster
Rep: Reputation: 51
Talking

hey thanks for the info. i followed the method as shown in the link of above and once i get booted i will use the method you posted. However, now i cant get lilo to install to MBR after i added /dev/cryptmine/root which is located on /dev/sda2 to lilo. the error i get is :
Code:
Fatal: device-mapper: only linear boot device supported
I am at a loss as to how to correct that issue. My lilo conf is like this:

Code:
boot = /dev/cryptslack/root
append="resume=/dev/cryptslack/swap"
vga = 773
image = /boot/vmlinuz
 root = /dev/cryptslack/root
 label = mineboxy
 read-only
Does anyoine have any idea whats going on? I seem to recall something about some errors that would come up during the install tha could be ignored. i still have to mkintrd for the generic kernel for encrypted drive support i think. is that whats causing this? I can't figure out why lilo cant write to the MBR.

thanks in advance,

John
 
Old 03-28-2010, 12:00 AM   #4
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Original Poster
Rep: Reputation: 51
The following is from a post by Eric Hamleers at THIS SITE. Is my problem the "probably not complain" part?


Quote:
Setup will proceed as usual, but when you get to the point where you are
presented with the lilo configuration dialog, it is almost time to perform
one final manual tweak. Proceed with configuring your lilo as usual, and
select '/dev/myvg/root' as your root filesystem to boot. When you install
lilo, it will probably not complain
, but be aware that having your root
filesystem on a Logical Volume requires an initial ramdisk (initrd). The
Slackware installer will not create it for you, and this requires some
manual intervention after the setup program has finished and you've been
returned to the command prompt. For now, you can continue with the Slackware
setup as usual, but at the end, do not reboot just yet!
Thanks again for any help anyone can give.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine free space in lvm/xen Environment murksel Linux - Server 1 09-05-2011 08:43 AM
LVM free space problem after resizing the logical volume wdorninger Linux - Enterprise 0 11-06-2009 08:00 AM
LXer: Pain-free disk space management with LVM LXer Syndicated Linux News 0 08-22-2007 01:30 AM
LVM - Extending logical volume - Insufficient free space deim Linux - Newbie 0 04-07-2007 10:47 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration