Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: LVM running out on space after clean install

  1. #1

    Exclamation LVM running out on space after clean install

    Hello,

    I am completely new to OpenSuse and just installed it. However, I wanted things encrypted for work and chose LVM2 with password encryption upon installation.

    However, I didn't change any of the values.

    Now I see that my home partition is only about 30 Go and I cannot mount the oter 300GB that sit on another partition. When I try to mount it through nautilus I have to enter my password and then get :
    Unable to mount 307 GB LVM2 Physical Volume

    Could you please help me out here, cause other then that, I love my first steps with Suse

    Thanks,

    Joshua

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: LVM running out on space after clean install

    On 2011-05-13 21:06, Findarato wrote:

    > Now I see that my home partition is only about 30 Go and I cannot mount
    > the oter 300GB that sit on another partition. When I try to mount it
    > through nautilus I have to enter my password and then get :
    > Unable to mount 307 GB LVM2 Physical Volume


    You have LVM, you are supposed to grow your partition if you need more
    space. Don't ask me how, though.

    My guess is that those 307 GB are free for that purpose.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  3. #3

    Default Re: LVM running out on space after clean install

    You really need to do so reading on this to understand it better ... good place ... SDB:Basics of partitions, filesystems, mount points - openSUSE ... for a good overview of things in Linux. Use the man-pages on LVM as your guide to understanding the commands and the structure. LVM is not your windows partitioning system. It's important to understand "mount" points in the sense that they can be ... anywhere. You have the hardest part over with, you have LVM installed and booting. (or it sounds like it) Some rules of thumb that might draw out help if nothing else but to correct me ...
    1. fdisk -l to list drives
    2. pvcreate ... used to register "physical volume" i.e. pvcreate /dev/sdg1
    pvdisplay ... used to check volume registered
    3.vgcreate ... used to create "Volume Group" ... top chain or baseline, how ever you think
    vgcreate (somename) /dev/sdg1
    vgdisplay ... used to check
    4. lvcreate ... used to create "Logical Volume" under Group
    lvcreate --name (somename) -- size 100G (VolumeGroupName)
    i.e. lvcreate --name home --size 100G MOD8BASE
    lvdisplay ... check creation
    5. mkfs.xxx ... used to create a filesystem for the virtual devices
    i.e. mkfs.ext4 /dev/mod8base/home

    Other tips: Planning ... figure out the mount points that you will need to expand down the road ... leave some space not used (i.e. 4G) for "joining" other disks and query this forum with other direct questions about "how to"

  4. #4
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,970

    Default Re: LVM running out on space after clean install

    I totaly agree with stvrjk You need to do some reading on LVM. The best resource for this IMHO is :
    LVM HOWTO

    I have a lot of experience on resizing monted filesystems but only on CentOS and only on ext3 filesystem and I guess You've got ext4 on your system. Anyhow I think I might be able to help out if You post here the output of all the *display commands stvrjk mentioned.

    Best regards,
    Greg
    Best regards,
    Greg

  5. #5

    Default Re: LVM running out on space after clean install

    Thanks for the added help - glistwan - you're right on with your source if there was one more to add to the list it would be the docs section at RedHat ...

    Chapter 1. The LVM Logical Volume Manager

    and another read - Logical Volume Manager

    -- myself am running LVM with conventional PV (11.4/4.6/ext4) and a Fedora VM on all LVM2. I'm really glad that openSuSE has of 11.4 has adopted LVM as an install option but since I did an in-place update through Update I'm still running both. Recovery is my weak spot at the moment and want to fully understand with confidence what that entails before taking "Home" off the PV and move it to LVM ... but without doubt IMHO LVM is the way to go.

    glistwan == let me ask you what are you using for boot ... GRUB?

  6. #6
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,970

    Default Re: LVM running out on space after clean install

    Quote Originally Posted by stvrjk View Post
    Thanks for the added help - glistwan - you're right on with your source if there was one more to add to the list it would be the docs section at RedHat ...

    Chapter 1. The LVM Logical Volume Manager

    and another read - Logical Volume Manager

    -- myself am running LVM with conventional PV (11.4/4.6/ext4) and a Fedora VM on all LVM2. I'm really glad that openSuSE has of 11.4 has adopted LVM as an install option but since I did an in-place update through Update I'm still running both. Recovery is my weak spot at the moment and want to fully understand with confidence what that entails before taking "Home" off the PV and move it to LVM ... but without doubt IMHO LVM is the way to go.

    glistwan == let me ask you what are you using for boot ... GRUB?
    Yes. On the servers with LVM we use a separate, small "normal" (ext3) boot partition from which the system boots.

    Best regards,
    Greg
    Best regards,
    Greg

  7. #7

    Default Re: LVM running out on space after clean install

    When installing openSUSE you can resize the LVM volumes using the expert partitioner. you need to click the "edit partition setup" option . Then right click the Logical Volume that will have your home folder, and chose the resize option. It took some digging around for me to figure it out at first, but once you figure it out it is very simple to set it up at install time.
    Never Trust The Wolf
    Never Turn And Run From The Wolf (He Will Just Chase You down)
    Never Smile At The Wolf (He May Think you're Attacking him)
    Never Move Suddenly Around The Wolf, Just Look Him In The Eyes
    He Already Knows What You're Going To Do

  8. #8

    Default Re: LVM running out on space after clean install

    Quote Originally Posted by Findarato View Post
    Hello,

    I am completely new to OpenSuse and just installed it. However, I wanted things encrypted for work and chose LVM2 with password encryption upon installation.

    However, I didn't change any of the values.

    Now I see that my home partition is only about 30 Go and I cannot mount the oter 300GB that sit on another partition. When I try to mount it through nautilus I have to enter my password and then get :
    Unable to mount 307 GB LVM2 Physical Volume

    Could you please help me out here, cause other then that, I love my first steps with Suse

    Thanks,

    Joshua
    Good thing is you can reinstall openSUSE 11.4 correctly. I don't recommend using LVM.
    You only have 1 hard drive assigned for openSUSE, so LVM headaches only make sense if you're trying to learn.

    There's an option at the partitioning screen to manually assign partitions.
    If you're using all of the 330 GB drive(?), I recommend 2 Gb for a /SWAP partition, 30Gb for a / (root) partition, 40Gb or more for a /home partition.
    Box 1: OpenSuse 11.1/Win7 | Linux 2.6.27 Gnome | AMD 64 X2 6000+ | nVidia 8600GT | 2GB RAM
    Box 2: OpenSuse 11.2 | Linux 2.6.31 Gnome | AMD 64 3000+ | ATI X800 Pro | 1GB RAM
    Box 3: Win7 Premium Home | Intel P4 3.0Gz | ATI AIW 2006 | 2GB RAM

  9. #9

    Default Re: LVM running out on space after clean install

    Quote Originally Posted by tararpharazon View Post
    Good thing is you can reinstall openSUSE 11.4 correctly. I don't recommend using LVM.
    You only have 1 hard drive assigned for openSUSE, so LVM headaches only make sense if you're trying to learn.
    In most cases I would agree with you. However Findarato indicated he wished to use encryption because of work. In such cases lvm + encryption makes a great deal of since. Especially if he is on a laptop. My own system is set up this way, for the same reasons.
    Never Trust The Wolf
    Never Turn And Run From The Wolf (He Will Just Chase You down)
    Never Smile At The Wolf (He May Think you're Attacking him)
    Never Move Suddenly Around The Wolf, Just Look Him In The Eyes
    He Already Knows What You're Going To Do

  10. #10

    Default Re: LVM running out on space after clean install

    Encryption wasn't the intended issue I questioned, the LVM on 1 laptop drive was.
    Box 1: OpenSuse 11.1/Win7 | Linux 2.6.27 Gnome | AMD 64 X2 6000+ | nVidia 8600GT | 2GB RAM
    Box 2: OpenSuse 11.2 | Linux 2.6.31 Gnome | AMD 64 3000+ | ATI X800 Pro | 1GB RAM
    Box 3: Win7 Premium Home | Intel P4 3.0Gz | ATI AIW 2006 | 2GB RAM

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •