General :: LVM Partitions Are Equals To OS Partitions?
May 26, 2011
When we install a linux OS, we've an option to create partitions. In my laptop I've create partition for /opt, /home, / and /tmp. Are these partitions the same type of partitions as the partitions created by LVM?
I used Ubuntu before, without problems but since the 10.04 version it won't recognize my partitions. I formated my laptop and partitioned it, installed Windows 7 64bit, which I need for my work, and wanted now to install Ubuntu 10.04/10. I then used GParted to check my Harddisk and it is having troubles to recognize my partitions, too while Windows finds them. GParted is giving me an error message saying my partitions are oversized. I am still in the beginning of my Linux experiences and so I don't know what to do. I have two 250GB harddisks (how Windows recognizes them),
I have vista and opensuse 11.2 on my computer, the problem is i can't open ext3 partitions from vista but i can the other way. I tried Ext2fsd but the linux partition is always in a read only mood even when i change this option. Also, all folders are empty I downloaded the program as admin and compatable with XP SP2.
Xubuntu 9.04 installation CD not detecting any of the current partitions. This all started when I reinstalled windows XP a few days ago.After, the computer wouldn't boot into GRUB and would boot directly into windows.Other threads have dealt with a similar issue, that of overlapping partitions causing libparted/parted/gparted to detect the whole drive as unallocated space. The problem in these threads seemed to be a corrupted partition table, in which the partitions overlapped with each other. So of course I checked the output of fdisk -l for overlapping partitions, but I don't see any obvious overlapping partitions. I've noticed that the partition that used to be linux swap isn't showing up in the partition table at all. I might just be missing something simple here and would like another set of eyes to help me figure this one out. Does the problem have anything to do with the partition table being out of order (ie. not in order of what regions they cover on the drive)? From the liveCD I've run
I've installed Arch Linux onto my Western Digital SATA drive.I love it, best ever, however, I need the fglrx proprietry driver for better 3-d performace, and decided to create a new partition. I decided to install Linux Mint.Sadly, in all my noobishness, I forgot about the 4 primary partition limit (oops!) and as I have /, /home, swap, and /boot partitions (all primary) already installed, I have run into a bit of a problem.I resized my /home partition (almost 500GB) to about 225, and was then told I have over 200GB unusable space. Is it possible for me to change at least 1 of my primary partitions to logical partitions AND keep all the data intact (AND edit the arch configuration so that it'll still work) so I can install a second linux? I sincerely doubt it
I am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?
I've reached a point in my Slackware journey where I feel confident enough to remove my Mint 10 linux. It used to be my 'go to distro' when I trashed my Slackware installation. Now, I have Slax on a USB and I think that is enough.Mint 10 occupies /dev/sda5 (root) and /dev/sda6 (home) while Slackware occupies /dev/sda7 (root) and /dev/sda8 (home).If I delete the /dev/sda5 & /dev/sda6 partitions, can I very safely resize /dev/sda7 and /dev/sda8 to use the space freed up?
I went to scale the partitions on this computer with gparted on a live CD one day. I left it overnight and rebooted the computer after my changing of the resolution borked my display. Somehow this messed things up. See here:
I have 250 Gig HDD on a Asus Netbook. My Question is this:
I want to be able to have 1-2 Distros 1 Swap File of about 5-6 Gig (I have 2 Gig Ram) An area for all my files so that I don't have to keep re-installing them of my eternal hdd's.
What is your opinion and how should I set it up.
Am I best using xfce and which distro would run the best and fastest.
I'm trying to learn about partitions and LVM although I'm still getting my head around it. I've set up my RHEL test server (has single 80GB disk) with LVM. As I understand it, it goes like this: -
Setup up several partitions for this, in this case hda5 - 7. hda1 is my boot partition which has to be on primary. hda2 is a regular 10GB primary partition that holds the OS and hda3 is the swap partition. hda4 is the extended partition which houses hda5 to 7. They're 5GB each. I assume I cannot access partition 4 directly as it's simply the holder for the logical partitions?
So I've set hda5 - 7 partitions with type '8e' (LVM). I then created a Volume Group called VolGroup01 and since the drive is only 80GB, stick with the default Physical Extent size of 4MB. I assign this Volume Group to /dev/hda5 (why does a Volume Group as an abstraction have to be assigned a partition?).
I then create a Logical Volume called LogVol01 of 500MB and assign it to the new VolGroup01. I format this with ext3 and created a /etc/fstab entry to automount it. First I tried to use /dev/VolGroup01/LogVol01 as this seemed logical but this threw me into maintenance mode and I had to remount the drive as read-write to change the fstab Why do I have to use /dev/mapper/VolGroup01-LogVol01 instead? Doesn't seem very consistent.
So I assume I can add as many Logical Volumes as I like, presumably across any of the partitions I've created with type '8e'. But I'm uncertain about the relationship between the various parts. Creating a Volume Group I get as it's a virtual holder for the partitions that I can add across many disks. So are Logical Volumes an abstraction of partitions? Since partitions themselves can be any size, why have added functionality to size Logical Volumes as well? Not sure I get that part.
Now I need to learn how to either resize the current Logical Volume or add more
Right now I'm running Ubuntu and love the concept but don't have the necessary drivers for my Notebook. I love the thing but Windows crashed just 1 month after the software warranty ran out. I have the Fedora 15 ISOs but no CD burner and no access to one. I've tried unpacking the ISO to a directory on one partition and formatted the other. All ready now with no place to go. I've started editing some of the init files and I sort of know what I'm doing but I have no idea if I even can install from that to the other partition. It seems like it should work.
Me bought a Dell Inspiron, the HDD was 320, Me tried to install Slackware. Me first deleted every partition using GParted, created a Linux partition and then a swap partition, apparently there was nothing at all in the HDD, and then I installed Slackware 13.1 smoothly,
and next thing that happened was when I turned on my laptop on for the first time, it gave me a dual-boot. Windows or Linux? and when I logged onto the Windows, out of curiousity, it told me it does not have any file. I deleted all the partitions again using GParted. and then I turned on. It still gave me the dual-boot screen. It feels as though the MBR did not get deleted when I deleted all the partitions in the HDD.
i am trying at the moment to setup up a multiboot system on my laptop, i need to keep windows 7 on it for work purposes, but i am planning on installing 4 different distros of linux on there as well, after windows i have over 400 gig spare so what i wanted to do was create 4 partitions of 80 gigs each plus a swap drive partition that each distro of linux can share, is 80 gig each enough for fedora security lab, kubuntu, ubuntu multimedia studio and linux mint 9? also what format should i partition each as? can i make each distro create a home drive within its own partition?
I've been trying to install Linux as a dual boot with Windows 7 on my Dell latitude e6510.It is currently running Windows 7 and I have used the MS disk tools to shrink the Win 7 NTFS partition to make room for Linux.The issue I'm having is that when I run Linux installers by boot from CD they see the entire hard drive as unallocated space. I have tried Ubuntu 10.10, Kbuntu 10.10 and Fedora 14 and they all have the same problem.I have also tried the Ubuntu "install in Windows" option and could not get it to work.EDIT:Booting Gparted 0.8.0 from a usb drive did not work. It reported the entire drive as unpartitioned.
Why is it faster to have more primary partitions when using Linux? Please give some real examples; I know some theoretical reasons but I don't understand them well.
I have a laptop that I was dual booting with Windows 7 and Ubuntu. I used the MSFT disk manager to delete the partitions. I made sure my windows live cd was working, which it was, before doing this. But now, when I boot my computer, it won't run the cd. All I get is
error: no such partition. and then a command prompt: grub rescue>
I made sure my boot priority was set to boot from the CD first.
I was wondering what is the maximum number of partition on an GPT-partitionned drive under Linux. The GPT partition table can contain up to 128 partitions, but the device nodes for /dev/sda? (as described here, block device of major number 8) only allow /dev/sda1 up to /dev/sda15. Does that means that there cannot be more that 15 partitions on a drive, even on a GPT-partitionned drive?
I have a question about partition sizes when you are multibooting. I would like to know if 20GB partitions are an acceptable size. Is there anything to worry about with partitions around that size? I am not sure whether it makes sense to break it down further as some people have separate boot and/or home partitions. I guess if they are only 20GB in size, there is not much room left to divide further?
I am also wondering if it's okay to multi-boot four or five distros. Is that too many for a 160GB drive? My plan or idea was to multi-boot four or five distros until I decide which one I use the most or like best (well, best for an old notebook). My only notebook, currently, is a Thinkpad T41. Here are some specs:
Centrino Pentium M 1.6 GHz CPU ATI Radeon Mobility FireGL 9000 video card (aka RV250) w/ 1440 x 900 LCD res Intel 2200bg wifi card Intel ethernet LAN 160GB Samsung IDE/ATA HDD 2GB DDR RAM
Is that sufficient for assessing my hardware specs? I know that the video card is only supported by the open source radeon driver and that the Intel wifi card requires specific firmware before it can work or operate. I am not sure which desktop window manager I should use so I was going to install a distro that has each. LXDE, xfce, Gnome, KDE
My Centos disk was full. when I remove all the big files, df and du command not show right size. I reboot my server and in to rescue mode, it alert "you don't have any linux partitions".How do I fix it?I not use LVM.my server mount:
/dev/sda1 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw)
I have an CentOS 5.4 install with several swap partitions of 2048Mb each (someone suggested to me the OS would run better like this?). But, I have a few other partitions and I'm sick of having so many to check and monitor. Also, having set up another machine with only one swap partition, I am not finding it running any better/faster.How do I go about deleting all the swap partitions and making a new one (to fill the exact same space as ALL of the old ones)?
I have a laptop with Ubuntu 9.10 installed. It will not boot to the login screen. If I remove this HDD and connect it as a secondary drive to another PC running Ubuntu, will I be able to access the files on this HDD? There is a lot of data which I haven't backed up which I need to retreive. I don't think the hard drive has failed.
I have installed windowsxp sp-2 and centos-5 on same machine now I want to access my partitions of xp through linux i.e. centos. What is the procedure for this.
I have been trying to DL the version of DOS-box I prefer to C:, but I made both the Win-lose partitions RO when I first installed / (call me crazy, but I was paranoid it might mess with an already broken install from nearly a decade ago with an OS that-shall-remain-nameless that's even older). Incidentally, I have learned from shenanigans with Linux-drivers from nVidia that /home partition is definitely a good idea (another post for another time)...
Anyway: even though I specifically made sure I turned the RO flag off but definitely made both Win' part's "usable" in the Installer from the NETINST live-CD. I had to format because GParted ("Partition Editor" under System -> Administration) wouldn't allow me to edit RW/RO thingy... Even when I logged in as / I checked in fstab, but there's no RO flags listed.
. I may be using the word "flag" when I mean something else. When you run the Lenny graphical installer, and choose to manually partition-edit, and then choose to "use" your [I chose] FAT-32 partitions, there's a few setup choices that become available. Including "its mount-point shall be..." and these Extra Choices I'm referring to as flags, that are "RO", "Quiet?" and a third one I can't remember... Time for sleeping!