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
> 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)
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 …
fdisk -l to list drives
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
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
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”
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.
– 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?
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.
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.
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.
I have a laptop with only one drive. And I am using LVM.
The reason that I am using LVM, is for encryption. This is currently experimental - it’s an older laptop, retired from normal service and used for experimenting.
For details on my experiments with encryption, see this blog report. It turns out that using an encrypted LVM is very reasonable way of using encryption. It allows you to encrypt everything other than “/boot”; it requires only a single encryption key (used for the LVM); recovery from hibernation still works; it is supported by the opensuse 11.4 installer, so is easy to setup and use.